From abb1dc452bdecea7beba9606a8b668d8ffae8b3f Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Tue, 21 Aug 2018 13:05:16 -0700 Subject: [PATCH] chore: set ci flag in lerna.json https://github.com/lerna/lerna/issues/1449#issuecomment-414706160 --- bin/build-docs-site.sh | 2 +- bin/travis.sh | 2 +- lerna.json | 5 ++++- package.json | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/bin/build-docs-site.sh b/bin/build-docs-site.sh index f9c6699da1c7..b415d7c02e7c 100755 --- a/bin/build-docs-site.sh +++ b/bin/build-docs-site.sh @@ -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 diff --git a/bin/travis.sh b/bin/travis.sh index 555bd94728a9..4f4a46437b48 100755 --- a/bin/travis.sh +++ b/bin/travis.sh @@ -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 diff --git a/lerna.json b/lerna.json index fb5dcdbb4005..39b6c693d957 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "lerna": "3.1.2", + "lerna": "3.1.4", "packages": [ "benchmark", "docs", @@ -8,6 +8,9 @@ "sandbox/*" ], "command": { + "bootstrap": { + "ci": false + }, "publish": { "forcePublish": "@loopback/cli,@loopback/docs", "conventionalCommits": true, diff --git a/package.json b/package.json index 450f344903fc..059ba30804a9 100644 --- a/package.json +++ b/package.json @@ -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",