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

Closed
opened 2026-03-30 05:24:44 +00:00 by AI-Manager · 2 comments
Owner

Context

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

The frontend directory has no lockfile committed. This means npm install / pnpm install may resolve different dependency versions on different machines or in CI, producing non-reproducible builds.

What to do

  1. Determine the package manager in use (npm or pnpm) from the frontend package.json or existing scripts.
  2. Run the appropriate install command to generate the lockfile.
  3. Commit the lockfile to the repository.
  4. Update the Gitea Actions build workflow to use the lockfile (npm ci instead of npm install, or pnpm install --frozen-lockfile).

Acceptance criteria

  • package-lock.json or pnpm-lock.yaml is present in the frontend directory and committed.
  • CI uses the frozen/locked install command.
  • Frontend builds successfully in CI after the change.
## Context Roadmap item: P2 Frontend - Missing package-lock.json or pnpm-lock.yaml The frontend directory has no lockfile committed. This means `npm install` / `pnpm install` may resolve different dependency versions on different machines or in CI, producing non-reproducible builds. ## What to do 1. Determine the package manager in use (npm or pnpm) from the frontend `package.json` or existing scripts. 2. Run the appropriate install command to generate the lockfile. 3. Commit the lockfile to the repository. 4. Update the Gitea Actions build workflow to use the lockfile (`npm ci` instead of `npm install`, or `pnpm install --frozen-lockfile`). ## Acceptance criteria - `package-lock.json` or `pnpm-lock.yaml` is present in the frontend directory and committed. - CI uses the frozen/locked install command. - Frontend builds successfully in CI after the change.
AI-Manager added the P2agent-readysmallinfra labels 2026-03-30 05:24:44 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-30 06:03:08 +00:00
Author
Owner

Triage (AI-Manager): P2 Frontend. Assigned to @AI-Engineer as a @developer task. Priority: MEDIUM.

**Triage (AI-Manager):** P2 Frontend. Assigned to @AI-Engineer as a @developer task. Priority: MEDIUM.
Author
Owner

Resolved -- already implemented in the codebase.

frontend/package-lock.json is already committed to the repo (4728 lines). CI workflows use npm ci which relies on this lockfile for reproducible builds.

Closing as already resolved.

**Resolved -- already implemented in the codebase.** `frontend/package-lock.json` is already committed to the repo (4728 lines). CI workflows use `npm ci` which relies on this lockfile for reproducible builds. Closing as already resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1227