Compare commits

...

1 Commits

Author SHA1 Message Date
Shannon Sands
f8ba6a4a3e fix(setup): use npm ci instead of npm install in hermes update
npm install re-resolves the dependency graph and rewrites package-lock.json,
leaving a dirty working tree after every update. npm ci installs exactly
from the committed lockfile without mutating it, which is the correct
command for reproducible installs in update/deployment contexts.

Closes #4048
2026-03-31 10:54:58 +10:00

View File

@@ -3038,7 +3038,7 @@ def cmd_update(args):
import shutil
if shutil.which("npm"):
print("→ Updating Node.js dependencies...")
subprocess.run(["npm", "install", "--silent"], cwd=PROJECT_ROOT, check=False)
subprocess.run(["npm", "ci", "--silent"], cwd=PROJECT_ROOT, check=False)
print()
print("✓ Code updated!")