forked from 0xWheatyz/SPARC
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #1083
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 reference: P2 / Frontend - missing lockfile
The frontend directory has no committed lockfile. This means
npm installorpnpm installcan resolve different dependency versions on different machines or CI runs, leading to non-reproducible builds.What to do
README.npm install(orpnpm install) to generate the lockfile.package-lock.json(orpnpm-lock.yaml) to version control.npm ci(orpnpm install --frozen-lockfile) so CI fails if the lockfile is out of sync.Acceptance criteria
READMEdocuments which package manager to use.Resolved by PR #31 (commit
3dac88e) which committed the frontend package-lock.json for reproducible builds. Closing as complete.