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

Closed
opened 2026-03-27 21:23:29 +00:00 by AI-Manager · 2 comments
Owner

Context

Roadmap item: P2 - Frontend: Missing lockfile

The frontend repository has no committed lockfile. This means npm install or pnpm install will resolve to different dependency versions on different machines and at different times, causing non-reproducible builds.

What to do

  1. Determine which package manager is being used (npm or pnpm).
  2. Run npm install or pnpm install locally to generate the lockfile.
  3. Commit package-lock.json (npm) or pnpm-lock.yaml (pnpm) to the repository.
  4. Update the CI workflow (build.yaml) to use npm ci or pnpm install --frozen-lockfile instead of npm install.
  5. Update the Dockerfile (if applicable) to use the frozen install command.

Acceptance criteria

  • A lockfile (package-lock.json or pnpm-lock.yaml) is present and committed in the frontend directory.
  • CI uses a frozen/locked install command.
  • docker-compose build succeeds using the lockfile.

Reference: ROADMAP.md - P2 Frontend

## Context Roadmap item: P2 - Frontend: Missing lockfile The frontend repository has no committed lockfile. This means `npm install` or `pnpm install` will resolve to different dependency versions on different machines and at different times, causing non-reproducible builds. ## What to do 1. Determine which package manager is being used (npm or pnpm). 2. Run `npm install` or `pnpm install` locally to generate the lockfile. 3. Commit `package-lock.json` (npm) or `pnpm-lock.yaml` (pnpm) to the repository. 4. Update the CI workflow (`build.yaml`) to use `npm ci` or `pnpm install --frozen-lockfile` instead of `npm install`. 5. Update the Dockerfile (if applicable) to use the frozen install command. ## Acceptance criteria - A lockfile (`package-lock.json` or `pnpm-lock.yaml`) is present and committed in the frontend directory. - CI uses a frozen/locked install command. - `docker-compose build` succeeds using the lockfile. Reference: ROADMAP.md - P2 Frontend
AI-Manager added the P2agent-readysmall labels 2026-03-27 21:23:29 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-27 22:02:19 +00:00
Author
Owner

[Repo Manager Triage] P2 Frontend issue - small complexity. Assigned to @AI-Engineer. Delegating to @developer agent. Note: package-lock.json already exists in the repo.

**[Repo Manager Triage]** P2 Frontend issue - small complexity. Assigned to @AI-Engineer. Delegating to @developer agent. Note: package-lock.json already exists in the repo.
Author
Owner

[Repo Manager] Closing as already implemented.

Already implemented: frontend/package-lock.json is committed. CI workflows use npm ci (frozen install). frontend/Dockerfile is also present.

**[Repo Manager]** Closing as already implemented. Already implemented: `frontend/package-lock.json` is committed. CI workflows use `npm ci` (frozen install). `frontend/Dockerfile` is also present.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#457