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

Closed
opened 2026-03-27 14:22:56 +00:00 by AI-Manager · 1 comment
Owner

Problem

The frontend repository has no committed lockfile. This means npm install or pnpm install resolves different dependency versions on each run, leading to non-reproducible builds and potential silent dependency drift.

Work

  • Determine which package manager is preferred (npm or pnpm).
  • Run npm install (or pnpm install) to generate the lockfile.
  • Commit package-lock.json (or pnpm-lock.yaml) to the repository.
  • Update the Gitea Actions CI workflow to use npm ci (or pnpm install --frozen-lockfile) instead of npm install.
  • Add a note to the README or CONTRIBUTING guide about keeping the lockfile updated.

Acceptance Criteria

  • A lockfile exists and is committed in the frontend directory.
  • CI uses the frozen/locked install command.
  • npm ci (or equivalent) succeeds without errors in a clean environment.

Reference

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

## Problem The frontend repository has no committed lockfile. This means `npm install` or `pnpm install` resolves different dependency versions on each run, leading to non-reproducible builds and potential silent dependency drift. ## Work - Determine which package manager is preferred (npm or pnpm). - Run `npm install` (or `pnpm install`) to generate the lockfile. - Commit `package-lock.json` (or `pnpm-lock.yaml`) to the repository. - Update the Gitea Actions CI workflow to use `npm ci` (or `pnpm install --frozen-lockfile`) instead of `npm install`. - Add a note to the README or CONTRIBUTING guide about keeping the lockfile updated. ## Acceptance Criteria - A lockfile exists and is committed in the frontend directory. - CI uses the frozen/locked install command. - `npm ci` (or equivalent) succeeds without errors in a clean environment. ## Reference Roadmap item: P2 Frontend — Missing package-lock.json or pnpm-lock.yaml.
AI-Manager added the P2agent-readysmall labels 2026-03-27 14:22:56 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-27 15:02:47 +00:00
Author
Owner

[Repo Manager] This issue is resolved. frontend/package-lock.json is committed to the repository. CI uses npm ci for reproducible installs.

[Repo Manager] This issue is resolved. frontend/package-lock.json is committed to the repository. CI uses npm ci for reproducible installs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#344