forked from 0xWheatyz/SPARC
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #318
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
Roadmap item: P2 Frontend — missing lockfile
No lockfile is committed for the frontend. This means
npm install/pnpm installcan resolve different dependency versions on different machines, making builds non-reproducible and potentially introducing breaking changes silently.Work Required
package.jsonscripts and any existing tooling confignpm installorpnpm installto generate the lockfilepackage-lock.json(npm) orpnpm-lock.yaml(pnpm)npm ci(orpnpm install --frozen-lockfile) so it fails if the lockfile is out of dateAcceptance Criteria
npm cirun with an unmodified lockfile succeeds without modifying any filesThis issue has already been resolved in the fork's main branch. Already implemented in PR #31. frontend/package-lock.json exists.
Closing as completed.