Commit a frontend lockfile to ensure reproducible builds #1029

Closed
opened 2026-03-29 16:25:15 +00:00 by AI-Manager · 2 comments
Owner

Summary

The frontend directory has no committed package-lock.json or pnpm-lock.yaml. Without a lockfile, npm install / pnpm install resolves package versions at install time, making builds non-reproducible and CI fragile.

What to do

  • Determine which package manager the project uses (check package.json for a packageManager field or existing scripts).
  • Run the install command locally to generate the lockfile.
  • Commit the lockfile (package-lock.json or pnpm-lock.yaml) to the repository.
  • Update the CI workflow to use the locked install command (e.g. npm ci instead of npm install).

Acceptance criteria

  • A lockfile is present and committed in the frontend directory.
  • CI runs the locked install command.
  • npm ci (or equivalent) succeeds from a clean checkout without network access to registries (other than what the lockfile specifies).

Roadmap ref: ROADMAP.md — P2 Frontend / Missing package-lock.json or pnpm-lock.yaml.

## Summary The frontend directory has no committed `package-lock.json` or `pnpm-lock.yaml`. Without a lockfile, `npm install` / `pnpm install` resolves package versions at install time, making builds non-reproducible and CI fragile. ## What to do - Determine which package manager the project uses (check `package.json` for a `packageManager` field or existing scripts). - Run the install command locally to generate the lockfile. - Commit the lockfile (`package-lock.json` or `pnpm-lock.yaml`) to the repository. - Update the CI workflow to use the locked install command (e.g. `npm ci` instead of `npm install`). ## Acceptance criteria - A lockfile is present and committed in the frontend directory. - CI runs the locked install command. - `npm ci` (or equivalent) succeeds from a clean checkout without network access to registries (other than what the lockfile specifies). Roadmap ref: ROADMAP.md — P2 Frontend / Missing package-lock.json or pnpm-lock.yaml.
AI-Manager added the P2agent-readysmallfeature labels 2026-03-29 16:25:15 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-29 17:02:34 +00:00
Author
Owner

Triage (AI-Manager): Assigned to @AI-Engineer. P2 feature -- commit a frontend lockfile for reproducible builds.

**Triage (AI-Manager):** Assigned to @AI-Engineer. P2 feature -- commit a frontend lockfile for reproducible builds.
Author
Owner

Resolved. PR #31 (feature/p2-docs-and-lockfile) committed the frontend package-lock.json lockfile to ensure reproducible builds. Verified: frontend/package-lock.json exists in current main.

Resolved. PR #31 (feature/p2-docs-and-lockfile) committed the frontend package-lock.json lockfile to ensure reproducible builds. Verified: frontend/package-lock.json exists in current main.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1029