File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2222 skipCleanCheck : skipCleanGitCheck ,
2323 noDepsUpdate,
2424 noPublish,
25+ noLockUpdate,
2526} = args
2627
2728if ( args . h || args . help ) {
3738 --skipCleanCheck Skip checking if the git repo is clean
3839 --noDepsUpdate Skip updating dependencies in package.json files
3940 --noPublish Skip publishing packages
41+ --noLockUpdate Skips updating the lock with "pnpm install"
4042` . trim ( )
4143 )
4244 process . exit ( 0 )
@@ -201,8 +203,10 @@ async function main() {
201203 step ( '\nUpdating versions in package.json files...' )
202204 await updateVersions ( pkgWithVersions )
203205
204- step ( '\nUpdating lock...' )
205- await runIfNotDry ( `pnpm` , [ 'install' ] )
206+ if ( ! noLockUpdate ) {
207+ step ( '\nUpdating lock...' )
208+ await runIfNotDry ( `pnpm` , [ 'install' ] )
209+ }
206210
207211 step ( '\nGenerating changelogs...' )
208212 for ( const pkg of pkgWithVersions ) {
You can’t perform that action at this time.
0 commit comments