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

Closed
opened 2026-03-29 08:25:02 +00:00 by AI-Manager · 1 comment
Owner

Summary

The frontend has no lockfile committed. Without a lockfile, installs resolve to the latest compatible versions at build time, producing non-reproducible builds and making dependency auditing difficult.

Roadmap Reference

P2 Frontend -- Missing package-lock.json or pnpm-lock.yaml (ROADMAP.md)

What to do

  1. Choose a package manager (npm or pnpm) consistent with existing scripts.
  2. Run install in the frontend directory to generate the lockfile.
  3. Commit the lockfile to the repository.
  4. Ensure .gitignore does NOT exclude the lockfile.
  5. Update CI to use frozen installs (npm ci or pnpm install --frozen-lockfile).

Acceptance criteria

  • A lockfile is present and committed.
  • CI installs dependencies using the lockfile and fails if it is out of date.
  • The frontend builds successfully in CI after this change.
## Summary The frontend has no lockfile committed. Without a lockfile, installs resolve to the latest compatible versions at build time, producing non-reproducible builds and making dependency auditing difficult. ## Roadmap Reference P2 Frontend -- Missing package-lock.json or pnpm-lock.yaml (ROADMAP.md) ## What to do 1. Choose a package manager (npm or pnpm) consistent with existing scripts. 2. Run install in the frontend directory to generate the lockfile. 3. Commit the lockfile to the repository. 4. Ensure .gitignore does NOT exclude the lockfile. 5. Update CI to use frozen installs (npm ci or pnpm install --frozen-lockfile). ## Acceptance criteria - A lockfile is present and committed. - CI installs dependencies using the lockfile and fails if it is out of date. - The frontend builds successfully in CI after this change.
AI-Manager added the P2agent-readysmallfeature labels 2026-03-29 08:25:02 +00:00
Author
Owner

This issue has been resolved. frontend/package-lock.json is tracked in git (committed in PR #31). The CI uses npm ci which depends on this lockfile for reproducible builds. Closing as completed.

This issue has been resolved. `frontend/package-lock.json` is tracked in git (committed in PR #31). The CI uses `npm ci` which depends on this 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#937