Skip to content

Commit

Permalink
chore: update build scripts to update package-lock files during release
Browse files Browse the repository at this point in the history
Workaround for lerna/lerna#1998
  • Loading branch information
raymondfeng committed Sep 30, 2019
1 parent a7e4fcf commit 636adf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -36,7 +36,7 @@
"update-template-deps": "node bin/update-template-deps -f",
"update-all-deps": "npm update && lerna exec -- npm update && npm run update-package-locks",
"sync-dev-deps": "node bin/sync-dev-deps",
"version": "npm run update-template-deps",
"version": "npm run update-template-deps && npm run update-package-locks && git add \"**/package-lock.json\"",
"outdated": "npm outdated --depth 0 && lerna exec --no-bail \"npm outdated --depth 0\"",
"tsdocs": "lerna run --scope @loopback/tsdocs build:tsdocs",
"coverage:ci": "node packages/build/bin/run-nyc report --reporter=text-lcov | coveralls",
Expand All @@ -52,7 +52,7 @@
"clean": "lerna run clean && node packages/build/bin/run-clean \"packages/*/dist\" \"extensions/*/dist\" \"examples/*/dist\" \"benchmark/dist\"",
"clean:lerna": "lerna clean",
"build": "node bin/run-lerna run build",
"build:full": "npm run clean:lerna && npm install && npm run clean && npm run build",
"build:full": "lerna clean && node packages/build/bin/run-clean \"node_modules\" && npm install && npm run clean && npm run build",
"pretest": "npm run clean && npm run build",
"test": "node packages/build/bin/run-nyc npm run mocha --scripts-prepend-node-path",
"test:ci": "node packages/build/bin/run-nyc npm run mocha --scripts-prepend-node-path",
Expand Down

0 comments on commit 636adf7

Please sign in to comment.