forked from 0xWheatyz/SPARC
Commit a frontend lockfile to ensure reproducible builds #1029
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?
Summary
The frontend directory has no committed
package-lock.jsonorpnpm-lock.yaml. Without a lockfile,npm install/pnpm installresolves package versions at install time, making builds non-reproducible and CI fragile.What to do
package.jsonfor apackageManagerfield or existing scripts).package-lock.jsonorpnpm-lock.yaml) to the repository.npm ciinstead ofnpm install).Acceptance criteria
npm ci(or equivalent) succeeds from a clean checkout without network access to registries (other than what the lockfile specifies).Roadmap ref: ROADMAP.md — P2 Frontend / Missing package-lock.json or pnpm-lock.yaml.
Triage (AI-Manager): Assigned to @AI-Engineer. P2 feature -- commit a frontend lockfile for reproducible builds.
Resolved. PR #31 (feature/p2-docs-and-lockfile) committed the frontend package-lock.json lockfile to ensure reproducible builds. Verified: frontend/package-lock.json exists in current main.