Skip to content

Commit

Permalink
chore: use lerna's lifecycle scripts to update package-lock.json
Browse files Browse the repository at this point in the history
I hope this works. After lerna has updated versions in `package.json` files,
`npm install` should update them in the `package-lock.json`.

Source:
lerna/lerna#1415 (comment)
  • Loading branch information
tuner committed Nov 23, 2021
1 parent 5e4eacc commit a8b3f64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -40,7 +40,8 @@
"start": "npm run dev -w @genome-spy/app",
"pretty-quick": "pretty-quick",
"prepare": "husky install",
"pre-commit": "lint-staged"
"pre-commit": "lint-staged",
"version": "npm install && git add package-lock.json"
},
"workspaces": [
"./packages/*"
Expand Down

0 comments on commit a8b3f64

Please sign in to comment.