summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-06-11 23:29:30 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-06-11 23:33:18 -0400
commitddef0916de13949e800a63fa3490a73e98996fa2 (patch)
tree83b2d65f928498a65b4518858dd736422741380c /Cargo.toml
parent6e6b068ae2adc8c5ef8acb633dcadfbdc3221b61 (diff)
Use `npm ci` for automated package installation.
From its documentation: > This command is similar to `npm install`, except it's meant to be used in automated environments such as test platforms, continuous integration, and deployment -- or any situation where you want to make sure you're doing a clean install of your dependencies. We don't need a clean install, necessarily - just a complete one that matches the package configuration. However, this command is clearly documented as being used for automated environments, and I think integration with another build tool is close enough to that intention to fit. It also promises not to rewrite `package.json` or `package-lock.json`. (`npm install`, on the other hand, rewrites `package-lock.json` regularly.) As we do not intend to change the source tree when building it, this is the preferred behaviour. Finally, this fixes a behaviour I encountered where certain `cargo` commands - sometimes including `cargo build` - could completely reformat `package-lock.json` without any warning and without any user-visible rationale for it.
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions