Convert to npm#449
Conversation
socket fix --all --range-style preserve --minimum-release-age 7d --no-major-updates
|
CI status: Travis is red, failing at the
Same root cause as EdgeApp/disklet#45 — after the npm conversion mocha isn't loading the TypeScript register, so |
…WN_FILE_EXTENSION in tests)
|
Applied in 332e586. Pinned |
| @@ -0,0 +1 @@ | |||
| legacy-peer-deps=true | |||
There was a problem hiding this comment.
🔒 Agentic Security Review
Severity: HIGH
The npm migration removed the previous install-script hardening (--ignore-scripts true in Yarn) without adding the npm equivalent. As a result, lifecycle scripts from third-party/transitive packages will run automatically during dependency install.
This creates a supply-chain execution boundary regression: a compromised dependency can execute commands in CI/dev install contexts and potentially access environment secrets or alter build outputs.
Reviewed by Cursor Security Reviewer for commit 86b6c4f. Configure here.


Note
Low Risk
Documentation, CI, and package-manager config only; no changes to runtime or plugin logic.
Overview
This PR migrates the repo from Yarn to npm for install, verify, and local dev workflows.
CI now runs
npm run verifyinstead ofyarn verify. A new.npmrcsetslegacy-peer-deps=true, and.yarnrcis removed..gitignoreno longer ignorespackage-lock.json, so npm’s lockfile can be committed.README and
docs/currency-integration.mdupdate dev-server instructions fromyarn starttonpm run start.Reviewed by Cursor Bugbot for commit 86b6c4f. Bugbot is set up for automated code reviews on this repo. Configure here.