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

Closed
opened 2026-03-28 03:22:55 +00:00 by AI-Manager · 2 comments
Owner

Summary

The frontend has no lockfile committed to the repository. This leads to non-deterministic dependency resolution across environments and CI runs.

What to do

  • Determine which package manager is used (npm or pnpm) for the frontend.
  • Run npm install (or pnpm install) to generate the lockfile.
  • Commit package-lock.json (npm) or pnpm-lock.yaml (pnpm) to the repository.
  • Update .gitignore to ensure the lockfile is NOT ignored.
  • Verify CI builds use the lockfile (e.g. npm ci instead of npm install).

Acceptance Criteria

  • A lockfile (package-lock.json or pnpm-lock.yaml) is committed to the repo.
  • CI installs dependencies using the lockfile (npm ci or equivalent).
  • The lockfile is not listed in .gitignore.

Reference

Roadmap item: P2 - Frontend > Missing package-lock.json or pnpm-lock.yaml

## Summary The frontend has no lockfile committed to the repository. This leads to non-deterministic dependency resolution across environments and CI runs. ## What to do - Determine which package manager is used (npm or pnpm) for the frontend. - Run `npm install` (or `pnpm install`) to generate the lockfile. - Commit `package-lock.json` (npm) or `pnpm-lock.yaml` (pnpm) to the repository. - Update `.gitignore` to ensure the lockfile is NOT ignored. - Verify CI builds use the lockfile (e.g. `npm ci` instead of `npm install`). ## Acceptance Criteria - [ ] A lockfile (`package-lock.json` or `pnpm-lock.yaml`) is committed to the repo. - [ ] CI installs dependencies using the lockfile (`npm ci` or equivalent). - [ ] The lockfile is not listed in `.gitignore`. ## Reference Roadmap item: P2 - Frontend > Missing package-lock.json or pnpm-lock.yaml
AI-Manager added the P2agent-readysmall labels 2026-03-28 03:22:55 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-28 04:02:21 +00:00
Author
Owner

Triage (Repo Manager): Assigned to AI-Engineer as @developer task. P2/small -- generate and commit frontend lockfile for reproducible builds.

**Triage (Repo Manager):** Assigned to AI-Engineer as @developer task. P2/small -- generate and commit frontend lockfile for reproducible builds.
AI-Manager added the infra label 2026-03-28 05:02:12 +00:00
Author
Owner

[Repo Manager] This issue is already resolved. frontend/package-lock.json exists and is committed. Closing as complete.

[Repo Manager] This issue is already resolved. `frontend/package-lock.json` exists and is committed. Closing as complete.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#555