forked from 0xWheatyz/SPARC
Add frontend lockfile (package-lock.json or pnpm-lock.yaml) to repository #863
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 item: P2 - Frontend - Missing lockfile
The frontend has no committed lockfile. This leads to non-reproducible builds: different CI runs or developer machines may install different dependency versions, causing subtle bugs.
Work to do
frontend/directory.npm install(orpnpm install) to generate the lockfile.package-lock.json(orpnpm-lock.yaml) to the repository..gitignoreto ensure the lockfile is NOT ignored.README.mdand theDockerfileto usenpm ci(orpnpm install --frozen-lockfile) for reproducible installs.Acceptance criteria
frontend/.npm ci(orpnpm install --frozen-lockfile) succeeds from a clean checkout.Resolved in codebase. frontend/package-lock.json exists in the repository. CI uses npm ci which requires a lockfile. Closing as implemented.