File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 22
22
skipCleanCheck : skipCleanGitCheck ,
23
23
noDepsUpdate,
24
24
noPublish,
25
+ noLockUpdate,
25
26
} = args
26
27
27
28
if ( args . h || args . help ) {
37
38
--skipCleanCheck Skip checking if the git repo is clean
38
39
--noDepsUpdate Skip updating dependencies in package.json files
39
40
--noPublish Skip publishing packages
41
+ --noLockUpdate Skips updating the lock with "pnpm install"
40
42
` . trim ( )
41
43
)
42
44
process . exit ( 0 )
@@ -201,8 +203,10 @@ async function main() {
201
203
step ( '\nUpdating versions in package.json files...' )
202
204
await updateVersions ( pkgWithVersions )
203
205
204
- step ( '\nUpdating lock...' )
205
- await runIfNotDry ( `pnpm` , [ 'install' ] )
206
+ if ( ! noLockUpdate ) {
207
+ step ( '\nUpdating lock...' )
208
+ await runIfNotDry ( `pnpm` , [ 'install' ] )
209
+ }
206
210
207
211
step ( '\nGenerating changelogs...' )
208
212
for ( const pkg of pkgWithVersions ) {
You can’t perform that action at this time.
0 commit comments