Files
loki/desktop/.npmrc
T
Mao NakamotoandClaude Opus 4.7 dd0ae0f540 chore(desktop): track desktop lockfile + pin legacy-peer-deps for CI
The desktop subproject's package-lock.json was in .gitignore, so the
desktop-release workflow's strict `npm ci` had no lockfile to read and
failed with EUSAGE.

- Remove `desktop/package-lock.json` from .gitignore — workspace lockfiles
  belong in version control for reproducible builds.
- Commit the generated lockfile.
- Add desktop/.npmrc with `legacy-peer-deps=true`. electron-vite@2.3.0
  declares peer vite ^4||^5 but the project intentionally runs on vite@6.
  Locking the flag at the project level keeps both local `npm ci` and the
  workflow's `npm ci` happy without modifying every install call site.

Unblocks fleet-runner-v0.2.0 release build (second failure mode after the
root lockfile fix in 01d68b0).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-03 14:24:32 +02:00

2 lines
22 B
Plaintext