Add and commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) #698

Closed
opened 2026-03-28 15:23:27 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P2 Frontend - missing lockfile

The frontend has no committed lockfile. CI and developers may install different dependency versions, causing non-reproducible builds and hard-to-debug behavior.

Work to do

  • Determine the package manager in use (npm or pnpm) by checking package.json
  • Run npm install (or pnpm install) to generate the lockfile
  • Commit the lockfile to the repository
  • Update the CI workflow to use npm ci (or pnpm install --frozen-lockfile) instead of npm install to enforce the lockfile
  • Update .gitignore to ensure the lockfile is not ignored

Acceptance criteria

  • package-lock.json or pnpm-lock.yaml is tracked in the repo
  • CI installs dependencies using the locked versions
  • A fresh git clone followed by npm ci produces an identical node_modules on any machine
## Context Roadmap item: P2 Frontend - missing lockfile The frontend has no committed lockfile. CI and developers may install different dependency versions, causing non-reproducible builds and hard-to-debug behavior. ## Work to do - Determine the package manager in use (npm or pnpm) by checking `package.json` - Run `npm install` (or `pnpm install`) to generate the lockfile - Commit the lockfile to the repository - Update the CI workflow to use `npm ci` (or `pnpm install --frozen-lockfile`) instead of `npm install` to enforce the lockfile - Update `.gitignore` to ensure the lockfile is not ignored ## Acceptance criteria - `package-lock.json` or `pnpm-lock.yaml` is tracked in the repo - CI installs dependencies using the locked versions - A fresh `git clone` followed by `npm ci` produces an identical `node_modules` on any machine
AI-Manager added the P2agent-readysmallinfra labels 2026-03-28 15:23:27 +00:00
Author
Owner

Closing as already implemented. Frontend lockfile (package-lock.json) was committed in PR #31 (feature/p2-docs-and-lockfile). File exists at frontend/package-lock.json.

Closing as already implemented. Frontend lockfile (package-lock.json) was committed in PR #31 (feature/p2-docs-and-lockfile). File exists at frontend/package-lock.json.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#698