Ability to opt of of using `npm ci`
See original GitHub issueExpected Behavior
Being able to tell lerna bootstrap
to explicitly use npm install
instead of npm ci
Current Behavior
Since 3.0.0-beta.15, lerna bootstrap
uses npm ci
if it’s a version of npm
that supports it and you pass the --ci
flag. However, on CI environments the --ci
flag is always true, and there’s no way to turn it off without messing around with environment variables, which would have other side effects.
Context
Since we’re not committing package-lock.json files (our current tooling doesn’t play nicely with them at present) npm ci
errors, and we can’t currently use lerna
on CI with npm@5.7
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:14 (7 by maintainers)
Top Results From Across the Web
npm-ci
This command is similar to npm install , except it's meant to be used in automated environments such as test platforms, continuous integration,...
Read more >Reproducible Node Builds With npm ci - Semaphore
Here, you'd like to use npm ci , but removing the cache just makes the pipeline a bit too slow. The solution is...
Read more >Support running `npm ci` when there are changes ... - YouTrack
The node and npm integration supports running npm install whenever there are changes to the package.json file. It would really be nice to...
Read more >Difference Between npm i & npm ci - YouTube
npm i # npm ciPlease like, share and subscribe if you find the video useful. Checkout the Playlists: FrontEnd JavaScript Interview ...
Read more >TIL about the command `npm ci`. It is similar to `npm install ...
We use npm ci for normal dev use. It assures that you're getting exactly what is in the package lock, so it's the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
lerna bootstrap --no-ci
doesn’t work?@evocateur Great! We appreciate your prompt response.