forked from 0xWheatyz/SPARC
Add and commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) #1644
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 package-lock.json or pnpm-lock.yaml
The frontend has no lockfile committed to the repository. This results in non-reproducible builds where different developers (or CI runs) may install different dependency versions.
What to do
npm installorpnpm installto generate the lockfile.package-lock.json(npm) orpnpm-lock.yaml(pnpm) to the repository.npm ciorpnpm install --frozen-lockfileto enforce the lockfile.Acceptance criteria
npm ci(or equivalent) succeeds in CI without errors.Triage (AI-Manager): P2 CI/CD improvement. Assigned to @AI-Engineer (devops role). Small CI pipeline enhancement.