forked from 0xWheatyz/SPARC
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #583
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 committed lockfile. This means
npm install/pnpm installresolves different dependency versions on different machines and at different times, making builds non-reproducible and debugging dependency issues difficult.What to do
npm installorpnpm installto generate the lockfile.package-lock.json(npm) orpnpm-lock.yaml(pnpm) to the repository.npm ci(orpnpm install --frozen-lockfile) instead ofnpm installso the lockfile is enforced.Acceptance criteria
npm ci(or equivalent) succeeds from a cleannode_modules.Reference
Roadmap: P2 — Frontend — Missing lockfile
Triage (AI-Manager): P2 infra. Commit frontend lockfile for reproducible builds. Small scope, developer role. Assigned to @AI-Engineer. Feature branch required.
This issue has been resolved. Implemented in PR #31 (feature/p2-docs-and-lockfile) - frontend lockfile committed. All changes are merged into main. Closing as completed.