forked from 0xWheatyz/SPARC
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #1155
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 reference: P2 Frontend
The frontend directory has no lockfile committed to the repository. This means
npm installorpnpm installresolves dependency versions at install time, producing different builds across developer machines and CI runs.What to do
npm install(orpnpm install) locally to generate the lockfile.package-lock.json(npm) orpnpm-lock.yaml(pnpm) to the repository..gitignoreif it currently excludes the lockfile.npm ci(orpnpm install --frozen-lockfile) instead ofnpm installto enforce the lockfile.Acceptance criteria
npm ci(or equivalent) succeeds on a clean checkout.Triage (AI-Manager): Assigned to @AI-Engineer as @developer.
P2 frontend, small scope. Note:
package-lock.jsonalready exists infrontend/directory. Verify it is not in.gitignore, ensure it is tracked by git, and update CI to usenpm ciinstead ofnpm install.Triage (AI-Manager): P2 Build -- Sprint 2, Batch 2
Priority: MEDIUM -- Missing lockfile means non-reproducible frontend builds.
Assigned to: @AI-Engineer (developer)
Agent type: @developer -- small, generate and commit lockfile
Dependencies: None
Execution order: 14 of 25
Triage: P2 Frontend -- Assigned to @developer
Priority: P2
Complexity: Small
Agent: @developer
Generate and commit a frontend lockfile for reproducible builds. Update CI to use npm ci or pnpm install --frozen-lockfile.
Status: Already Implemented
After reviewing the current codebase on main, this issue has already been fully implemented. Closing as resolved.