Skip to content

Commit 725dc0a

Browse files
committed
include package-lock in bump script next time
1 parent 6509cc0 commit 725dc0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/bump-version.ts

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ execSync(`npm version ${bumpType} --git-tag-version false`, { cwd: packageDirect
2121
const packageVersion = require(path.resolve(path.join(packageDirectory, 'package.json'))).version;
2222

2323
execSync(`git add ${path.join(packageDirectory, 'package.json')}`);
24+
execSync(`git add ${path.join(packageDirectory, 'package-lock.json')}`);
2425
execSync(`git commit -m "${packageName} ${packageVersion}"`);
2526
execSync(`git tag ${packageName}@${packageVersion}`);
2627

0 commit comments

Comments
 (0)