From 7cb7d32e9e587f2a7b0fb11c89298e5678628335 Mon Sep 17 00:00:00 2001 From: york yao Date: Tue, 5 Dec 2017 11:30:18 +0800 Subject: [PATCH] feat: use yarn --frozen-lockfile --- .travis.yml | 2 +- appveyor.yml | 2 +- lerna.json | 3 --- package.json | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 48841bb..2f357a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ before_install: - "sh -e /etc/init.d/xvfb start" - git fetch --unshallow || true install: - - yarn install --pure-lockfile + - yarn install --frozen-lockfile script: - npm run bootstrap - npm run build diff --git a/appveyor.yml b/appveyor.yml index 1f6db07..89a6997 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,7 +3,7 @@ environment: install: - ps: Install-Product node $env:nodejs_version - - yarn install --pure-lockfile + - yarn install --frozen-lockfile test_script: - node --version diff --git a/lerna.json b/lerna.json index 59351f5..1af5b57 100644 --- a/lerna.json +++ b/lerna.json @@ -5,9 +5,6 @@ ], "version": "5.0.1", "npmClient": "yarn", - "npmClientArgs": [ - "--pure-lockfile" - ], "command": { "publish": { "message": "feat: publish %s" diff --git a/package.json b/package.json index fbb8040..bb25cb3 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "description": "A vuejs, reactjs and angular select component.", "scripts": { - "bootstrap": "lerna bootstrap", + "bootstrap": "lerna bootstrap -- --frozen-lockfile", "build": "clean-scripts build", "lint": "clean-scripts lint.ts", "fix": "clean-scripts fix",