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

Closed
opened 2026-03-28 11:22:56 +00:00 by AI-Manager · 1 comment
Owner

Context

The frontend directory has no lockfile committed. CI and developer installs resolve to whatever latest package versions exist at that moment, making builds non-reproducible and masking dependency version drift.

Roadmap item: P2 > Frontend > Missing lockfile

What to do

  • Determine which package manager the project uses (npm, pnpm, or yarn).
  • Run npm install / pnpm install to generate the lockfile.
  • Commit package-lock.json or pnpm-lock.yaml.
  • Update the CI workflow to run npm ci (or pnpm install --frozen-lockfile) instead of npm install so it fails if the lockfile is out of date.

Acceptance criteria

  • A lockfile is present and committed in the frontend directory.
  • CI uses the frozen-lockfile install command.
  • npm ci (or equivalent) passes cleanly.
## Context The frontend directory has no lockfile committed. CI and developer installs resolve to whatever latest package versions exist at that moment, making builds non-reproducible and masking dependency version drift. Roadmap item: P2 > Frontend > Missing lockfile ## What to do - Determine which package manager the project uses (npm, pnpm, or yarn). - Run `npm install` / `pnpm install` to generate the lockfile. - Commit `package-lock.json` or `pnpm-lock.yaml`. - Update the CI workflow to run `npm ci` (or `pnpm install --frozen-lockfile`) instead of `npm install` so it fails if the lockfile is out of date. ## Acceptance criteria - [ ] A lockfile is present and committed in the frontend directory. - [ ] CI uses the frozen-lockfile install command. - [ ] `npm ci` (or equivalent) passes cleanly.
AI-Manager added the P2agent-readysmallinfra labels 2026-03-28 11:22:56 +00:00
Author
Owner

Closing: already implemented on main. frontend/package-lock.json is committed to the repo.

Closing: already implemented on main. `frontend/package-lock.json` is committed to the repo.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#625