Skip to content

Commit

Permalink
chore: set ci flag in lerna.json
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondfeng committed Aug 21, 2018
1 parent 12c24a8 commit abb1dc4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/build-docs-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ rm -rf sandbox/loopback.io/
git clone --depth 1 https://github.com/strongloop/loopback.io.git sandbox/loopback.io

# Bootstrap the `loopback.io` package
lerna bootstrap --no-ci --scope loopback.io-workflow-scripts
lerna bootstrap --scope loopback.io-workflow-scripts

pushd $REPO_ROOT/sandbox/loopback.io/ >/dev/null

Expand Down
2 changes: 1 addition & 1 deletion bin/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
# Running Code Linter -- Requires @loopback/build so it's bootstrapped
if [ $TASK = "code-lint" ]; then
echo "TASK => LINTING CODE"
lerna bootstrap --no-ci --scope @loopback/build
lerna bootstrap --scope @loopback/build
npm run lint

# Commit Message Linter
Expand Down
5 changes: 4 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "3.1.2",
"lerna": "3.1.4",
"packages": [
"benchmark",
"docs",
Expand All @@ -8,6 +8,9 @@
"sandbox/*"
],
"command": {
"bootstrap": {
"ci": false
},
"publish": {
"forcePublish": "@loopback/cli,@loopback/docs",
"conventionalCommits": true,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"coveralls": "^3.0.0",
"cz-conventional-changelog": "^2.1.0",
"husky": "^0.14.3",
"lerna": "^3.1.2"
"lerna": "^3.1.4"
},
"scripts": {
"postinstall": "lerna bootstrap --no-ci",
"postinstall": "lerna bootstrap",
"prerelease": "npm run build:full && npm run mocha && npm run lint",
"release": "lerna publish",
"update-template-deps": "node bin/update-template-deps -f",
Expand Down

0 comments on commit abb1dc4

Please sign in to comment.