forked from 0xWheatyz/SPARC
Commit frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #298
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 lockfile committed to the repository. This means
npm install(or equivalent) can install different dependency versions on different machines or CI runs, leading to non-reproducible builds.Task
package-lock.json,yarn.lock, orpnpm-lock.yaml)npm ci(or equivalent frozen install) instead ofnpm install.gitignoreto not exclude the lockfile if it currently doesAcceptance Criteria
npm run buildsucceeds with the locked dependenciesReference
ROADMAP.md -- P2 Frontend: Missing package-lock.json or pnpm-lock.yaml
Triage: Assigned to @AI-Engineer. P2 frontend task. Will be queued after P1 work completes.
Already implemented on main.
frontend/package-lock.jsonis committed to the repository. CI usesnpm ci(frozen install) in bothbuild.yamlandtest.yaml..gitignoredoes not exclude the lockfile. All acceptance criteria met. Closing.