forked from 0xWheatyz/SPARC
Add and commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) #698
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. CI and developers may install different dependency versions, causing non-reproducible builds and hard-to-debug behavior.
Work to do
package.jsonnpm install(orpnpm install) to generate the lockfilenpm ci(orpnpm install --frozen-lockfile) instead ofnpm installto enforce the lockfile.gitignoreto ensure the lockfile is not ignoredAcceptance criteria
package-lock.jsonorpnpm-lock.yamlis tracked in the repogit clonefollowed bynpm ciproduces an identicalnode_moduleson any machineClosing as already implemented. Frontend lockfile (package-lock.json) was committed in PR #31 (feature/p2-docs-and-lockfile). File exists at frontend/package-lock.json.