Skip to content

Convert to npm#454

Open
peachbits wants to merge 2 commits into
masterfrom
convert-to-npm
Open

Convert to npm#454
peachbits wants to merge 2 commits into
masterfrom
convert-to-npm

Conversation

@peachbits
Copy link
Copy Markdown
Contributor

@peachbits peachbits commented May 26, 2026

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 yarn outside this diff.

Overview
This PR migrates the repo from Yarn to npm as the documented package manager.

Tooling and config: .yarnrc is removed and replaced with .npmrc (legacy-peer-deps=true, ignore-scripts=true). .gitignore no longer ignores package-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, and convert.sh now use npm install / npm run … instead of yarn / yarn mapctl ….

Note: The README “Adding Your Exchange” block shows npm run npm install prepare, which looks like a mistaken conversion of yarn && yarn prepare and 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.

@peachbits peachbits force-pushed the convert-to-npm branch 2 times, most recently from af93a63 to 22e4535 Compare June 2, 2026 17:55
@peachbits peachbits changed the title Convert yarn → npm + Socket security upgrades + @edge.app fork aliases Convert to npm Jun 2, 2026
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.
Copy link
Copy Markdown
Contributor

@j0ntz j0ntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving — no open review threads and no failing checks; the conversion looks clean here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants