forked from 0xWheatyz/SPARC
Commit frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #625
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The frontend directory has no lockfile committed. CI and developer installs resolve to whatever latest package versions exist at that moment, making builds non-reproducible and masking dependency version drift.
Roadmap item: P2 > Frontend > Missing lockfile
What to do
npm install/pnpm installto generate the lockfile.package-lock.jsonorpnpm-lock.yaml.npm ci(orpnpm install --frozen-lockfile) instead ofnpm installso it fails if the lockfile is out of date.Acceptance criteria
npm ci(or equivalent) passes cleanly.Closing: already implemented on main.
frontend/package-lock.jsonis committed to the repo.