Skip to content

Commit 09af527

Browse files
committed
ci(0.76): update lock file through nx.json flag instead (#2477)
Backport of #2476 to 0.78-stable
1 parent a0f9b36 commit 09af527

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

nx.json

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"tag": "v0.76-stable"
3131
},
3232
"fallbackCurrentVersionResolver": "disk",
33-
"skipLockFileUpdate": true
3433
}
3534
}
3635
}

packages/nx-release-version/index.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +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');
6+
const { REPO_ROOT } = require('../../scripts/consts');
77

88
async function runSetVersion() {
99
const rnmPkgJson = require.resolve('react-native-macos/package.json');
@@ -15,8 +15,6 @@ async function runSetVersion() {
1515

1616
await updateReactNativeArtifacts(version);
1717

18-
spawnSync('yarn', ['install', '--mode', 'update-lockfile']);
19-
2018
return [
2119
path.join(
2220
REPO_ROOT,
@@ -63,10 +61,6 @@ async function runSetVersion() {
6361
'Core',
6462
'ReactNativeVersion.js',
6563
),
66-
path.join(
67-
REPO_ROOT,
68-
'yarn.lock',
69-
),
7064
];
7165
}
7266

0 commit comments

Comments
 (0)