forked from 0xWheatyz/SPARC
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #144
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 directory has no committed lockfile, so
npm installorpnpm installmay resolve different dependency versions on different machines or in CI, leading to non-reproducible builds.Work
package-lock.jsonfor npm,pnpm-lock.yamlfor pnpm).npm ci(orpnpm install --frozen-lockfile) instead of a bare install command..gitignoredoes NOT exclude the lockfile.Acceptance Criteria
References
Roadmap: P2 — Frontend — Missing package-lock.json or pnpm-lock.yaml.
Closing: package-lock.json exists in the frontend directory. Resolved.