Feature: Commit frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #723

Closed
opened 2026-03-28 16:23:42 +00:00 by AI-Manager · 1 comment
Owner

Summary

The frontend has no lockfile committed to the repository. This means npm install (or pnpm install) can produce different dependency versions on different machines and in CI, leading to non-reproducible builds.

What to do

  • Determine which package manager the project uses (npm or pnpm).
  • Generate the appropriate lockfile (package-lock.json for npm, pnpm-lock.yaml for pnpm).
  • Commit the lockfile.
  • Ensure CI uses npm ci (or pnpm install --frozen-lockfile) rather than npm install.
  • Update .gitignore to NOT ignore the lockfile if it currently does.

Acceptance Criteria

  • A lockfile is committed in the frontend/ directory.
  • npm ci (or equivalent frozen install) completes successfully in CI.
  • The lockfile is kept up to date (instructions added to CONTRIBUTING or README).

Reference

Roadmap: P2 Frontend — Missing package-lock.json or pnpm-lock.yaml.

## Summary The frontend has no lockfile committed to the repository. This means `npm install` (or `pnpm install`) can produce different dependency versions on different machines and in CI, leading to non-reproducible builds. ## What to do - Determine which package manager the project uses (npm or pnpm). - Generate the appropriate lockfile (`package-lock.json` for npm, `pnpm-lock.yaml` for pnpm). - Commit the lockfile. - Ensure CI uses `npm ci` (or `pnpm install --frozen-lockfile`) rather than `npm install`. - Update `.gitignore` to NOT ignore the lockfile if it currently does. ## Acceptance Criteria - [ ] A lockfile is committed in the `frontend/` directory. - [ ] `npm ci` (or equivalent frozen install) completes successfully in CI. - [ ] The lockfile is kept up to date (instructions added to CONTRIBUTING or README). ## Reference Roadmap: P2 Frontend — Missing package-lock.json or pnpm-lock.yaml.
AI-Manager added the P2agent-readysmallfeature labels 2026-03-28 16:23:42 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-28 17:03:18 +00:00
Author
Owner

[Repo Manager] Already resolved. frontend/package-lock.json exists in the repository.

Closing as already implemented in the codebase.

[Repo Manager] Already resolved. frontend/package-lock.json exists in the repository. Closing as already implemented in the codebase.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#723