Convert to npm#454
Open
peachbits wants to merge 2 commits into
Open
Conversation
af93a63 to
22e4535
Compare
Ran `socket fix --all --range-style preserve --minimum-release-age 7d`. Pinned ethers to 5.7.0 (exact) afterward — socket fix wanted to bump ethers v5 → v6 (a breaking API change) and we cannot adopt v6 yet.
j0ntz
approved these changes
Jun 2, 2026
Contributor
j0ntz
left a comment
There was a problem hiding this comment.
Approving — no open review threads and no failing checks; the conversion looks clean here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Low Risk
Changes are limited to package-manager config and documentation; no runtime swap plugin logic is touched. Contributors should watch for the README setup typo and any CI (e.g. Jenkins) still invoking
yarnoutside this diff.Overview
This PR migrates the repo from Yarn to npm as the documented package manager.
Tooling and config:
.yarnrcis removed and replaced with.npmrc(legacy-peer-deps=true,ignore-scripts=true)..gitignoreno longer ignorespackage-lock.json, so the lockfile can be committed with npm installs.Docs and scripts: README,
docs/CHAIN_MAPPING_SYNCHRONIZERS.md,docs/CREATING_AN_EXCHANGE_PLUGIN.md, andconvert.shnow usenpm install/npm run …instead ofyarn/yarn mapctl ….Note: The README “Adding Your Exchange” block shows
npm run npm install prepare, which looks like a mistaken conversion ofyarn && yarn prepareand may not run as intended.Reviewed by Cursor Bugbot for commit 82007b0. Bugbot is set up for automated code reviews on this repo. Configure here.