Skip to content

Commit 7d7bb87

Browse files
committed
Switch from Yarn to npm
1 parent b701a58 commit 7d7bb87

File tree

9 files changed

+44007
-16878
lines changed

9 files changed

+44007
-16878
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ jobs:
2525
with:
2626
node-version: "${{ env.NODE }}"
2727

28+
- name: Update npm to latest
29+
run: npm install -g npm@latest
30+
2831
- name: Install npm dependencies
29-
run: cd examples && yarn install && cd .. && yarn install
32+
run: cd examples && npm install && cd .. && npm install --legacy-peer-deps
3033

3134
- name: Lint
32-
run: yarn lint
35+
run: npm run lint

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ jobs:
3232
with:
3333
node-version: ${{ matrix.node }}
3434

35+
- name: Update npm to latest
36+
run: npm install -g npm@latest
37+
3538
- name: Install npm dependencies
36-
run: cd examples && yarn install && cd .. && yarn install
39+
run: cd examples && npm install && cd .. && npm install --legacy-peer-deps
3740

3841
- name: Run Jest tests
39-
run: yarn test
42+
run: npm test
4043
if: "!(startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE)"

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
After making changes to the project, always run:
44

5-
- `yarn test` - Run unit tests
6-
- `yarn functional` - Run functional tests
5+
- `npm test` - Run unit tests
6+
- `npm run functional` - Run functional tests

examples/ios/Podfile.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ PODS:
12421242
- ReactCommon/turbomodule/bridging
12431243
- ReactCommon/turbomodule/core
12441244
- Yoga
1245-
- react-native-safe-area-context (5.0.0):
1245+
- react-native-safe-area-context (5.7.0):
12461246
- DoubleConversion
12471247
- glog
12481248
- hermes-engine
@@ -1255,8 +1255,8 @@ PODS:
12551255
- React-featureflags
12561256
- React-graphics
12571257
- React-ImageManager
1258-
- react-native-safe-area-context/common (= 5.0.0)
1259-
- react-native-safe-area-context/fabric (= 5.0.0)
1258+
- react-native-safe-area-context/common (= 5.7.0)
1259+
- react-native-safe-area-context/fabric (= 5.7.0)
12601260
- React-NativeModulesApple
12611261
- React-RCTFabric
12621262
- React-rendererdebug
@@ -1265,7 +1265,7 @@ PODS:
12651265
- ReactCommon/turbomodule/bridging
12661266
- ReactCommon/turbomodule/core
12671267
- Yoga
1268-
- react-native-safe-area-context/common (5.0.0):
1268+
- react-native-safe-area-context/common (5.7.0):
12691269
- DoubleConversion
12701270
- glog
12711271
- hermes-engine
@@ -1286,7 +1286,7 @@ PODS:
12861286
- ReactCommon/turbomodule/bridging
12871287
- ReactCommon/turbomodule/core
12881288
- Yoga
1289-
- react-native-safe-area-context/fabric (5.0.0):
1289+
- react-native-safe-area-context/fabric (5.7.0):
12901290
- DoubleConversion
12911291
- glog
12921292
- hermes-engine
@@ -1598,7 +1598,7 @@ PODS:
15981598
- ReactCommon/turbomodule/bridging
15991599
- ReactCommon/turbomodule/core
16001600
- Yoga
1601-
- RNScreens (4.5.0):
1601+
- RNScreens (4.3.0):
16021602
- DoubleConversion
16031603
- glog
16041604
- hermes-engine
@@ -1619,9 +1619,9 @@ PODS:
16191619
- ReactCodegen
16201620
- ReactCommon/turbomodule/bridging
16211621
- ReactCommon/turbomodule/core
1622-
- RNScreens/common (= 4.5.0)
1622+
- RNScreens/common (= 4.3.0)
16231623
- Yoga
1624-
- RNScreens/common (4.5.0):
1624+
- RNScreens/common (4.3.0):
16251625
- DoubleConversion
16261626
- glog
16271627
- hermes-engine
@@ -1894,7 +1894,7 @@ SPEC CHECKSUMS:
18941894
React-logger: 2736a90a3fdaed3dab1e2e9c5a5e9b3be00c287d
18951895
React-Mapbuffer: bd6a2ffbf401f11cfc8b5e8f38acab9fe117620c
18961896
React-microtasksnativemodule: 2fa3b8c7a876b84bd8166f11e07f101929a87f97
1897-
react-native-safe-area-context: f145b8906585d648f9f9c7dfa3885bac54f38fcc
1897+
react-native-safe-area-context: d5f6bb0129bec5631bfa433e792811360f66994f
18981898
React-nativeconfig: aeed6e2a8ac02b2df54476afcc7c663416c12bf7
18991899
React-NativeModulesApple: c0783e5e21c71aa2764ac33120abc96208466fa6
19001900
React-perflogger: 2991d4258277af250eb7a2705980ebb3ef9ba85e
@@ -1924,7 +1924,7 @@ SPEC CHECKSUMS:
19241924
ReactCommon: b8485556b596ef2f44f59bc586113bda138fb804
19251925
RNCMaskedView: 4c5ee1c8667d56077246cc6d1977f77393923560
19261926
RNGestureHandler: e1dcb274c17ca0680a04d7ff357e35e37c384185
1927-
RNScreens: 4c7d5710e955dcf72c14a546e29744f9e591370b
1927+
RNScreens: 06e1f09654d2da4ff95dee6621b2b13b033e9c5a
19281928
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
19291929
Yoga: 3deb2471faa9916c8a82dda2a22d3fba2620ad37
19301930

0 commit comments

Comments
 (0)