forked from 0xWheatyz/SPARC
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) to ensure reproducible builds #367
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?
Problem
The frontend has no lockfile committed to the repository. Without a lockfile,
npm installorpnpm installresolves dependencies non-deterministically — different environments (CI, developer machines, production builds) may install different versions of transitive dependencies.Work
package.json).package-lock.jsonorpnpm-lock.yaml) to the repository.npm ci(orpnpm install --frozen-lockfile) to enforce the lockfile..gitattributeswithmerge=oursor similar if large diff noise is a concern.Acceptance Criteria
npm ci(or equivalent) succeeds from a clean install in CI.Reference
Roadmap item: P2 Frontend — Missing
package-lock.jsonorpnpm-lock.yaml.[Triage] Already implemented in main. frontend/package-lock.json exists (165KB) and CI uses npm ci. Closing as resolved.