mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
startup: use "npm ci" instead of "npm install" in startup scripts
Advantages: - reproducible install: every user will have the same, exact install, instead of a slightly different one - speed: installation of dependencies is measurably faster - explicit: if a user setup is broken, from now on he'll have a clear error message Fixes #3778
This commit is contained in:
parent
4365598658
commit
2087a2e564
2 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ echo "Ensure that all dependencies are up to date... If this is the first time
|
|||
cd node_modules
|
||||
[ -e ep_etherpad-lite ] || ln -s ../src ep_etherpad-lite
|
||||
cd ep_etherpad-lite
|
||||
npm install --save --loglevel warn
|
||||
npm ci
|
||||
) || {
|
||||
rm -rf src/node_modules
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue