From 60a2041065dc30240477087d7ff80b6992a678c8 Mon Sep 17 00:00:00 2001 From: bergquist Date: Thu, 12 Jan 2017 15:36:44 +0100 Subject: [PATCH] tech(build): yarn install should use --pure-lockfile --- Makefile | 2 +- README.md | 2 +- appveyor.yml | 2 +- docs/sources/project/building_from_source.md | 2 +- scripts/circle-test.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 16a1e3cf3dc..dbb345473ec 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ deps-go: go run build.go setup deps-js: - yarn install + yarn install --pure-lockfile deps: deps-go deps-js diff --git a/README.md b/README.md index b2602766146..67202b8baac 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ npm (v2.5.0) and grunt (v0.4.5). Run the following: ```bash npm install -g yarn -yarn install +yarn install --pure-lockfile npm run build ``` diff --git a/appveyor.yml b/appveyor.yml index 6376c6275ce..8b4a16d19cb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,7 +12,7 @@ install: # install nodejs and npm - ps: Install-Product node $env:nodejs_version - npm install -g yarn - - yarn install + - yarn install --pure-lockfile - npm install -g grunt-cli # install gcc (needed for sqlite3) - choco install -y --limit-output mingw diff --git a/docs/sources/project/building_from_source.md b/docs/sources/project/building_from_source.md index 11ca2d5b719..4c7f759aa5d 100644 --- a/docs/sources/project/building_from_source.md +++ b/docs/sources/project/building_from_source.md @@ -41,7 +41,7 @@ npm (v2.5.0) and grunt (v0.4.5). Run the following: ``` npm install -g yarn -yarn install +yarn install --pure-lockfile npm install -g grunt-cli grunt ``` diff --git a/scripts/circle-test.sh b/scripts/circle-test.sh index a9088eb063a..706bb60a884 100755 --- a/scripts/circle-test.sh +++ b/scripts/circle-test.sh @@ -14,7 +14,7 @@ cd /home/ubuntu/.go_workspace/src/github.com/grafana/grafana rm -rf node_modules npm install -g yarn -yarn install +yarn install --pure-lockfile exit_if_fail npm test exit_if_fail npm run coveralls