forked from 0xWheatyz/SPARC
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #389
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?
Problem
The frontend has no lockfile committed to the repository. This means
npm installorpnpm installmay resolve different dependency versions on different machines or CI runs, leading to non-reproducible builds and hard-to-diagnose dependency drift.Work
package-lock.jsonfor npm,pnpm-lock.yamlfor pnpm).npm ciorpnpm install --frozen-lockfile)..gitignoreif it is currently excluded.Acceptance Criteria
node_modules.Reference
Roadmap item: P2 Frontend — Missing
package-lock.jsonorpnpm-lock.yaml.Closing as already implemented. Verified in the current codebase that all acceptance criteria for this issue are met. The work was completed in a prior sprint but the issue was not closed.