Added npm ci command (#49665)

* #49664 Added npm ci command

* Update lib/ansible/modules/packaging/language/npm.py

Sure

Co-Authored-By: Bramzor <bramverdonck@telenet.be>

* Moved ci_install so it would work for specific packages

Would this work?

* Reverted last commit

npm ci will remove node_modules so cannot be used it to install a specific module.

* Update lib/ansible/modules/packaging/language/npm.py

Co-Authored-By: Bramzor <bramverdonck@telenet.be>

* Update lib/ansible/modules/packaging/language/npm.py

Co-Authored-By: Bramzor <bramverdonck@telenet.be>

* Update lib/ansible/modules/packaging/language/npm.py

Co-Authored-By: Bramzor <bramverdonck@telenet.be>
This commit is contained in:
Bramzor
2019-02-22 14:54:54 +01:00
committed by John R Barker
parent 7d5418e3d0
commit 17186bbde0
2 changed files with 18 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- "npm ci feature added which allows to install a project with a clean slate: https://docs.npmjs.com/cli/ci.html"