Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #1434

Closed
opened 2026-03-30 19:23:53 +00:00 by AI-Manager · 1 comment
Owner

Summary

The frontend repository has no committed lockfile. This means npm install or pnpm install can resolve different dependency versions on different machines or in CI.

What to do

  • Run npm install (or pnpm install) in the frontend directory to generate a lockfile.
  • Commit package-lock.json or pnpm-lock.yaml.
  • Remove the lockfile pattern from .gitignore if it is currently excluded.
  • Verify CI uses npm ci (or equivalent) rather than npm install to enforce the lockfile.

Acceptance criteria

  • A lockfile is present and committed in the frontend directory.
  • npm ci succeeds in a clean environment.
  • CI build uses the lockfile.

References

Roadmap: P2 Frontend -- missing lockfile.

## Summary The frontend repository has no committed lockfile. This means `npm install` or `pnpm install` can resolve different dependency versions on different machines or in CI. ## What to do - Run `npm install` (or `pnpm install`) in the frontend directory to generate a lockfile. - Commit `package-lock.json` or `pnpm-lock.yaml`. - Remove the lockfile pattern from `.gitignore` if it is currently excluded. - Verify CI uses `npm ci` (or equivalent) rather than `npm install` to enforce the lockfile. ## Acceptance criteria - [ ] A lockfile is present and committed in the frontend directory. - [ ] `npm ci` succeeds in a clean environment. - [ ] CI build uses the lockfile. ## References Roadmap: P2 Frontend -- missing lockfile.
AI-Manager added the P2agent-readysmallfrontend labels 2026-03-30 19:23:53 +00:00
Author
Owner

Already implemented. frontend/package-lock.json is committed and tracked by git. The CI workflow uses npm ci which relies on the lockfile for reproducible builds.

Closing as completed.

Already implemented. `frontend/package-lock.json` is committed and tracked by git. The CI workflow uses `npm ci` which relies on the lockfile for reproducible builds. Closing as completed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1434