Skip to content

Commit

Permalink
Minor updates for Lerna (#834)
Browse files Browse the repository at this point in the history
* Try to speed up lerna bootstrap

* Lerna uses 'exec' now instead if 'run'
  • Loading branch information
KyleAMathews authored Apr 21, 2017
1 parent f850a6c commit 8b87236
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions examples/gatsbygram/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v7.8.0
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@
},
"private": true,
"scripts": {
"postinstall": "lerna bootstrap",
"build": "lerna run build",
"postinstall": "lerna bootstrap --hoist",
"build": "lerna exec build",
"lint": "eslint --ext .js,.jsx --ignore-path .gitignore .",
"lint:flow": "babel-node scripts/flow-check.js",
"format-packages": "prettier --trailing-comma es5 --no-semi --write packages/**/src/*.js",
"format-gatsby": "prettier --trailing-comma es5 --no-semi --write packages/gatsby/lib/**/*.js",
"format-www": "find www -iname *.js | grep -v node_modules | grep -v public | grep -v .cache | xargs prettier --write --trailing-comma es5 --no-semi",
"format-examples": "find examples -iname *.js | grep -v node_modules | grep -v public | grep -v .cache | xargs prettier --write --trailing-comma es5 --no-semi",
"format": "npm run format-packages && npm run format-gatsby && npm run format-www && npm run format-examples",
"publish-canary": "lerna run build; lerna publish --canary --yes",
"publish-next": "lerna run build; lerna publish --npm-tag=next",
"publish-canary": "lerna exec build; lerna publish --canary --yes",
"publish-next": "lerna exec build; lerna publish --npm-tag=next",
"test": "jest",
"test_bkup": "npm run lint && npm run test-node && npm run test-integration",
"watch": "lerna run watch --no-sort --stream --concurrency 999"
"watch": "lerna exec watch --no-sort --stream --concurrency 999"
},
"devDependencies": {
"babel-preset-flow": "^6.23.0"
Expand Down
1 change: 1 addition & 0 deletions www/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v7.8.0

0 comments on commit 8b87236

Please sign in to comment.