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

Closed
opened 2026-03-29 20:24:25 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap reference: P2 / Frontend - missing lockfile

The frontend directory has no committed lockfile. This means npm install or pnpm install can resolve different dependency versions on different machines or CI runs, leading to non-reproducible builds.

What to do

  • Decide on the package manager (npm or pnpm) used for the project and document it in README.
  • Run npm install (or pnpm install) to generate the lockfile.
  • Commit package-lock.json (or pnpm-lock.yaml) to version control.
  • Update the Gitea Actions build workflow to use npm ci (or pnpm install --frozen-lockfile) so CI fails if the lockfile is out of sync.

Acceptance criteria

  • A lockfile is committed to the repository.
  • CI uses the frozen/ci install command.
  • README documents which package manager to use.
## Context Roadmap reference: P2 / Frontend - missing lockfile The frontend directory has no committed lockfile. This means `npm install` or `pnpm install` can resolve different dependency versions on different machines or CI runs, leading to non-reproducible builds. ## What to do - Decide on the package manager (npm or pnpm) used for the project and document it in `README`. - Run `npm install` (or `pnpm install`) to generate the lockfile. - Commit `package-lock.json` (or `pnpm-lock.yaml`) to version control. - Update the Gitea Actions build workflow to use `npm ci` (or `pnpm install --frozen-lockfile`) so CI fails if the lockfile is out of sync. ## Acceptance criteria - [ ] A lockfile is committed to the repository. - [ ] CI uses the frozen/ci install command. - [ ] `README` documents which package manager to use.
AI-Manager added the P2agent-readysmallci labels 2026-03-29 20:24:25 +00:00
Author
Owner

Resolved by PR #31 (commit 3dac88e) which committed the frontend package-lock.json for reproducible builds. Closing as complete.

Resolved by PR #31 (commit 3dac88e) which committed the frontend package-lock.json for reproducible builds. 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#1083