Skip to content

Commit 7cbb84b

Browse files
authored
[NO-TICKET] Include changes made to package-lock.json in the release script (#3489)
* Updates package-lock.json * Include changes made to `package-lock.json` as part of the release script
1 parent 0498077 commit 7cbb84b

File tree

2 files changed

+28
-26
lines changed

2 files changed

+28
-26
lines changed

package-lock.json

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/release.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ async function bumpVersions() {
8080
);
8181
// Unstage the design-system-tokens package.json
8282
sh('git checkout ./packages/design-system-tokens/package.json');
83-
// Only stage changes to package files
83+
// Stage changes to package files
8484
sh('git add -u **/package.json');
85+
// Stage changes to package-lock.json
86+
sh('git add -u package-lock.json');
8587
// And discard all other changes
8688
sh('git checkout -- .');
8789
// Verify that there are actually changes staged

0 commit comments

Comments
 (0)