I'm looking for an equivalent for yarn's --pure-lockfile
flag.
This flag is useful when installing dependencies in CI, when you want it to read your lockfile but not modify it.
Does npm v5 have an equivalent?
I'm looking for an equivalent for yarn's --pure-lockfile
flag.
This flag is useful when installing dependencies in CI, when you want it to read your lockfile but not modify it.
Does npm v5 have an equivalent?
npm 5.7 introduced the
npm ci
subcommand:this is how I did in my
dockerfile
it should work perfect.