Skip to content

Remove stale npm package-lock.json files#59

Merged
mgasner merged 1 commit into
mainfrom
indent-2026-05-18-remove-stale-npm-lockfiles
May 18, 2026
Merged

Remove stale npm package-lock.json files#59
mgasner merged 1 commit into
mainfrom
indent-2026-05-18-remove-stale-npm-lockfiles

Conversation

@mgasner
Copy link
Copy Markdown
Contributor

@mgasner mgasner commented May 18, 2026

Summary

  • Delete js/package-lock.json (empty stub) and e2e/package-lock.json (stale, only listed Playwright).

Motivation
Both js/ and e2e/ are pnpm workspaces — they have pnpm-lock.yaml, and every CI/build path uses pnpm install --frozen-lockfile (.github/workflows/_build-windows.yml, nix/tasks.nix, bin/build-browser). Nothing reads the npm lockfiles. Leaving them around invites SCA scanners that walk every manifest to flag outdated/missing entries, and gives future contributors a misleading signal about which package manager to use.

Testing
No code changes; build/test pipeline is unaffected since nothing references these files.

Open in Indent
Tag @indent to continue the conversation here.

Both js/ and e2e/ are pnpm workspaces (pnpm-lock.yaml + pnpm install in
CI/build). The orphan npm lockfiles confuse SCA scanners that walk every
manifest, and js/package-lock.json is an empty stub anyway.

Generated with [Indent](https://indent.com)
Co-Authored-By: Indent <noreply@indent.com>
@mgasner mgasner added the indent label May 18, 2026 — with indent
@mgasner mgasner requested a review from pcarrier May 18, 2026 17:17
@github-actions
Copy link
Copy Markdown

Coverage

Crate Lines Functions Regions
alacritty-driver 59.7% (529/886) 62.5% (40/64) 59.8% (754/1261)
browser 0.0% (0/807) 0.0% (0/65) 0.0% (0/1370)
cli 28.1% (1208/4298) 41.4% (171/413) 31.2% (2182/7004)
compositor 1.0% (93/9172) 2.1% (8/390) 1.2% (146/12321)
fonts 76.8% (486/633) 85.5% (47/55) 77.9% (922/1183)
gateway 25.2% (355/1406) 27.6% (35/127) 18.8% (442/2352)
proxy 18.3% (150/818) 20.9% (24/115) 20.4% (260/1277)
remote 71.7% (1975/2756) 81.7% (188/230) 74.3% (3737/5032)
sd-notify 73.9% (68/92) 100.0% (6/6) 83.2% (109/131)
server 18.1% (2098/11623) 32.6% (242/742) 19.5% (3524/18042)
ssh 1.9% (7/374) 3.2% (1/31) 0.7% (4/613)
webrtc-forwarder 0.6% (15/2569) 0.5% (1/185) 0.8% (33/4322)
webserver 59.1% (567/960) 68.8% (95/138) 63.7% (1057/1660)
Total 20.7% (7551/36394) 33.5% (858/2561) 23.3% (13170/56568)

@mgasner mgasner merged commit 298542b into main May 18, 2026
10 checks passed
@mgasner mgasner deleted the indent-2026-05-18-remove-stale-npm-lockfiles branch May 18, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants