Skip to content

Commit dcc41c3

Browse files
committed
internal: ensure the regeneration of package-lock.json does not affect future releases
1 parent c6408d2 commit dcc41c3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lerna.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "independent",
44
"npmClient": "npm",
55
"useWorkspaces": true,
6+
"granularPathspec": false,
67
"command": {
78
"publish": {
89
"verifyAccess": false
@@ -17,6 +18,8 @@
1718
".storybook/**/*",
1819
"storyhelpers/**/*",
1920
"templates/**/*",
20-
"docs/**/*"
21+
"docs/**/*",
22+
"package.json",
23+
"package-lock.json"
2124
]
2225
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"build:prod": "npm run clean && npm run build",
3838
"clean": "turbo run clean --parallel",
3939
"lerna:publish": "npm run build:prod && npm whoami && lerna publish from-package --yes",
40-
"lerna:version": "lerna version --no-push --exact --conventional-commits && rimraf package-lock.json && npm i",
40+
"lerna:version": "lerna version --no-push --exact --conventional-commits",
41+
"postversion": "rimraf package-lock.json && npm i",
4142
"lerna:diff": "lerna diff",
4243
"lerna:fix": "lerna exec -- node ../../scripts/lerna-fix.mjs",
4344
"lerna:modify-package": "lerna exec -- node ../../scripts/modify-pkgjson.mjs",

0 commit comments

Comments
 (0)