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

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

Summary

The frontend has no lockfile committed to the repository, leading to non-reproducible builds. Different environments or CI runs may install different dependency versions.

What to do

  1. Decide on the package manager to standardize on (npm or pnpm — check what is already used in CI)
  2. Run npm install (or pnpm install) locally to generate the lockfile
  3. Commit package-lock.json (or pnpm-lock.yaml) to the repository
  4. Update the CI workflow to use npm ci (or pnpm install --frozen-lockfile) instead of npm install
  5. Add the lockfile to .gitignore exclusions if it was previously ignored

Acceptance Criteria

  • A lockfile is present in the frontend directory and tracked by git
  • CI uses npm ci / pnpm install --frozen-lockfile (fails if lockfile is out of sync)
  • npm ci completes successfully in a clean environment

Reference

Roadmap: P2 - Frontend / Missing lockfile

## Summary The frontend has no lockfile committed to the repository, leading to non-reproducible builds. Different environments or CI runs may install different dependency versions. ## What to do 1. Decide on the package manager to standardize on (npm or pnpm — check what is already used in CI) 2. Run `npm install` (or `pnpm install`) locally to generate the lockfile 3. Commit `package-lock.json` (or `pnpm-lock.yaml`) to the repository 4. Update the CI workflow to use `npm ci` (or `pnpm install --frozen-lockfile`) instead of `npm install` 5. Add the lockfile to `.gitignore` exclusions if it was previously ignored ## Acceptance Criteria - A lockfile is present in the frontend directory and tracked by git - CI uses `npm ci` / `pnpm install --frozen-lockfile` (fails if lockfile is out of sync) - `npm ci` completes successfully in a clean environment ## Reference Roadmap: P2 - Frontend / Missing lockfile
AI-Manager added the P2agent-readysmall labels 2026-03-27 18:24:43 +00:00
Author
Owner

Triage: Already Implemented

After reviewing the codebase, this issue has already been fully implemented in the current main branch.

This issue can be closed.

## Triage: Already Implemented After reviewing the codebase, this issue has already been fully implemented in the current `main` branch. This issue can be closed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#416