Skip to content

Commit b45f1d4

Browse files
authored
ci(0.77): update yarn.lock as part of nx release (#2426) (#2427)
1 parent b90bcd1 commit b45f1d4

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

packages/nx-release-version/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
const { releaseVersionGenerator } = require('@nx/js/src/generators/release-version/release-version');
44
const fs = require('node:fs');
55
const path = require('node:path');
6+
const { spawnSync } = require('node:child_process');
67

78
async function runSetVersion() {
89
const rnmPkgJson = require.resolve('react-native-macos/package.json');
@@ -14,6 +15,8 @@ async function runSetVersion() {
1415

1516
await updateReactNativeArtifacts(version);
1617

18+
spawnSync('yarn', ['install', '--mode', 'update-lockfile']);
19+
1720
return [
1821
path.join(
1922
REPO_ROOT,
@@ -60,6 +63,10 @@ async function runSetVersion() {
6063
'Core',
6164
'ReactNativeVersion.js',
6265
),
66+
path.join(
67+
REPO_ROOT,
68+
'yarn.lock',
69+
),
6370
];
6471
}
6572

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2753,7 +2753,7 @@ __metadata:
27532753
languageName: unknown
27542754
linkType: soft
27552755

2756-
"@react-native-mac/virtualized-lists@npm:0.77.0, @react-native-mac/virtualized-lists@workspace:packages/virtualized-lists":
2756+
"@react-native-mac/virtualized-lists@npm:0.77.1, @react-native-mac/virtualized-lists@workspace:packages/virtualized-lists":
27572757
version: 0.0.0-use.local
27582758
resolution: "@react-native-mac/virtualized-lists@workspace:packages/virtualized-lists"
27592759
dependencies:
@@ -3048,13 +3048,13 @@ __metadata:
30483048
languageName: unknown
30493049
linkType: soft
30503050

3051-
"@react-native/oss-library-example@workspace:*, @react-native/oss-library-example@workspace:packages/react-native-test-library":
3051+
"@react-native/oss-library-example@npm:0.77.2, @react-native/oss-library-example@workspace:packages/react-native-test-library":
30523052
version: 0.0.0-use.local
30533053
resolution: "@react-native/oss-library-example@workspace:packages/react-native-test-library"
30543054
dependencies:
30553055
"@babel/core": "npm:^7.25.2"
30563056
"@react-native/babel-preset": "npm:0.77.0"
3057-
react-native-macos: "npm:0.77.0"
3057+
react-native-macos: "npm:0.77.1"
30583058
peerDependencies:
30593059
react: "*"
30603060
react-native-macos: "*"
@@ -3097,7 +3097,7 @@ __metadata:
30973097
"@react-native-community/cli": "npm:15.0.0-alpha.2"
30983098
"@react-native-community/cli-platform-android": "npm:15.0.0-alpha.2"
30993099
"@react-native-community/cli-platform-ios": "npm:15.0.0-alpha.2"
3100-
"@react-native/oss-library-example": "workspace:*"
3100+
"@react-native/oss-library-example": "npm:0.77.2"
31013101
"@react-native/popup-menu-android": "workspace:*"
31023102
flow-enums-runtime: "npm:^0.0.6"
31033103
invariant: "npm:^2.2.4"
@@ -10873,12 +10873,12 @@ __metadata:
1087310873
languageName: unknown
1087410874
linkType: soft
1087510875

10876-
"react-native-macos@npm:0.77.0, react-native-macos@workspace:packages/react-native":
10876+
"react-native-macos@npm:0.77.1, react-native-macos@workspace:packages/react-native":
1087710877
version: 0.0.0-use.local
1087810878
resolution: "react-native-macos@workspace:packages/react-native"
1087910879
dependencies:
1088010880
"@jest/create-cache-key-function": "npm:^29.6.3"
10881-
"@react-native-mac/virtualized-lists": "npm:0.77.0"
10881+
"@react-native-mac/virtualized-lists": "npm:0.77.1"
1088210882
"@react-native/assets-registry": "npm:0.77.0"
1088310883
"@react-native/codegen": "npm:0.77.0"
1088410884
"@react-native/community-cli-plugin": "npm:0.77.0"

0 commit comments

Comments
 (0)