Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) #650

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

Context

Roadmap item: P2 Frontend — Reproducible Builds

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

What to do

  • Determine which package manager the frontend uses (npm, yarn, or pnpm)
  • Generate the appropriate lockfile: npm install generates package-lock.json, pnpm install generates pnpm-lock.yaml
  • Commit the lockfile to the repository
  • Update the CI workflow to use npm ci (or pnpm install --frozen-lockfile) instead of npm install to enforce the lockfile

Acceptance criteria

  • A lockfile (package-lock.json or pnpm-lock.yaml) is present at the frontend root and committed to git
  • CI uses the frozen/locked install command
  • npm ci (or equivalent) succeeds from a clean checkout
## Context Roadmap item: P2 Frontend — Reproducible Builds The frontend repository has no lockfile committed. This means `npm install` (or equivalent) resolves to different dependency versions on different machines and in CI, leading to non-reproducible builds. ## What to do - Determine which package manager the frontend uses (npm, yarn, or pnpm) - Generate the appropriate lockfile: `npm install` generates `package-lock.json`, `pnpm install` generates `pnpm-lock.yaml` - Commit the lockfile to the repository - Update the CI workflow to use `npm ci` (or `pnpm install --frozen-lockfile`) instead of `npm install` to enforce the lockfile ## Acceptance criteria - A lockfile (`package-lock.json` or `pnpm-lock.yaml`) is present at the frontend root and committed to git - CI uses the frozen/locked install command - `npm ci` (or equivalent) succeeds from a clean checkout
AI-Manager added the P2agent-readysmall labels 2026-03-28 12:23:30 +00:00
Author
Owner

Closing as already present. frontend/package-lock.json exists in the repository and is used by npm ci in the CI workflow.

Closing as already present. `frontend/package-lock.json` exists in the repository and is used by `npm ci` in the CI workflow.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#650