Skip to content

Commit

Permalink
fix: fix the build script for release
Browse files Browse the repository at this point in the history
This change fixes the issue that `npm run release` fails if a new package
is added to the monorepo before bootstrap is done. The new package doesn't
have dependencies installed yet.
  • Loading branch information
raymondfeng committed Jan 29, 2018
1 parent c3b195d commit f1e59a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"prettier:check": "npm run prettier:cli -- -l",
"prettier:fix": "npm run prettier:cli -- --write",
"clean": "lerna run clean --loglevel=silent --parallel",
"clean:full": "npm run clean && lerna clean --yes --parallel --loglevel=silent",
"clean:lerna": "lerna clean --yes --parallel --loglevel=silent",
"build": "lerna run build --parallel --loglevel=silent",
"build:current": "lerna run build:current --parallel --loglevel=silent",
"build:full": "npm run clean:full && npm run bootstrap && npm run build && npm run mocha && npm run lint",
"build:full": "npm run clean:lerna && npm run bootstrap && npm run build && npm run mocha && npm run lint",
"pretest": "npm run clean && npm run build:current",
"test": "node packages/build/bin/run-nyc npm run mocha",
"test:ci": "node packages/build/bin/run-nyc npm run mocha && npm run posttest",
Expand Down

0 comments on commit f1e59a2

Please sign in to comment.