forked from 0xWheatyz/SPARC
Commit a frontend lockfile to ensure reproducible builds #82
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 has no committed lockfile (
package-lock.jsonorpnpm-lock.yaml). Without a lockfile,npm install/pnpm installcan resolve different dependency versions at different times, leading to non-reproducible builds and CI surprises.Work
npm install(orpnpm install) locally to generate the lockfile..gitignoreto ensure the lockfile is not excluded.npm ciorpnpm install --frozen-lockfile).Acceptance Criteria
package-lock.jsonorpnpm-lock.yamlis present in the repository.npm ci(or equivalent) on a clean environment installs the same dependency versions.References
Roadmap: Frontend — missing lockfile.
Resolved. Frontend
package-lock.jsoncommitted for reproducible builds. Implemented in PR #31 (merged).