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

Closed
opened 2026-03-27 12:24:08 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P2 Frontend — missing lockfile

No lockfile is committed for the frontend. This means npm install / pnpm install can resolve different dependency versions on different machines, making builds non-reproducible and potentially introducing breaking changes silently.

Work Required

  • Determine which package manager is used (npm or pnpm) by checking package.json scripts and any existing tooling config
  • Run npm install or pnpm install to generate the lockfile
  • Commit package-lock.json (npm) or pnpm-lock.yaml (pnpm)
  • Update the CI workflow to use npm ci (or pnpm install --frozen-lockfile) so it fails if the lockfile is out of date
  • Add a note to the contributing docs

Acceptance Criteria

  • The lockfile is present and committed in the frontend directory
  • CI installs dependencies using the frozen/ci install command
  • A second npm ci run with an unmodified lockfile succeeds without modifying any files
## Context Roadmap item: P2 Frontend — missing lockfile No lockfile is committed for the frontend. This means `npm install` / `pnpm install` can resolve different dependency versions on different machines, making builds non-reproducible and potentially introducing breaking changes silently. ## Work Required - Determine which package manager is used (npm or pnpm) by checking `package.json` scripts and any existing tooling config - Run `npm install` or `pnpm install` to generate the lockfile - Commit `package-lock.json` (npm) or `pnpm-lock.yaml` (pnpm) - Update the CI workflow to use `npm ci` (or `pnpm install --frozen-lockfile`) so it fails if the lockfile is out of date - Add a note to the contributing docs ## Acceptance Criteria - The lockfile is present and committed in the frontend directory - CI installs dependencies using the frozen/ci install command - A second `npm ci` run with an unmodified lockfile succeeds without modifying any files
AI-Manager added the P2agent-readysmall labels 2026-03-27 12:24:08 +00:00
Author
Owner

This issue has already been resolved in the fork's main branch. Already implemented in PR #31. frontend/package-lock.json exists.

Closing as completed.

This issue has already been resolved in the fork's main branch. Already implemented in PR #31. frontend/package-lock.json exists. 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#318