This repository was archived by the owner on Oct 16, 2025. It is now read-only.
refactor!: Synchronize dev toolchain with module template and core monorepo#351
Merged
refactor!: Synchronize dev toolchain with module template and core monorepo#351
Conversation
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
Mrtenz
previously approved these changes
Oct 15, 2025
Member
Author
|
@SocketSecurity ignore-all It's all core monorepo / module template dependencies. |
Mrtenz
approved these changes
Oct 15, 2025
This was
linked to
issues
Oct 15, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Synchronizes package meta-files with MetaMask/metamask-module-template and MetaMask/core. Changes exclude source code and other published files with the following exceptions:
package.json, most notably itsexportsfieldts-bridgefor builds..cjsand.mjstrees perts-bridgeIn detail (all changes per module template unless otherwise specified):
ts-bridgeeslint,prettier, and related dependencieseslint.config.mjsindex.tsandPollingBlockTracker.tsreceived some non-behavioral, type-related lint modifications@arethetypeswrong/clitypedoc.yarnrc.ymland addyarn.config.cjspackage.jsontypescriptfrom4.xto~5.2.2jestand related dependencies from^29to^27tsconfigfiles perts-bridgeconventionswarn:@typescript-eslint/prefer-nullish-coalescing, to avoid behavioral changes@typescript-eslint/explicit-function-return-type, because too many violations to fix right nowWork intentionally avoided in this PR:
package.json#enginesvitestNote
Migrates to ts-bridge and modern tooling, publishes split CJS/ESM with updated exports, upgrades TS, downgrades Jest to v27, and adjusts tests/types and project configs accordingly.
package.json#exportswith separate./dist/*.cjsand./dist/*.mjs; setmain,module, and splittypes(.d.cts/.d.mts).tscbuild withts-bridge; add sideEffects=false; removepifyruntime dep.eslint.config.mjs; remove.eslintrc.js; update rules (some warnings).depcheck), changelog validation,@arethetypeswrong/cli, andprettierESM config withprettier-plugin-packagejson.typedoc+typedoc.json; generate docs todocs/.yarn.config.cjs),.yarnrc.yml,.gitattributes,.gitignore; add PR template.~5.2.2; extendtsconfig*excludes.^27and align configs/utilities; relocate test helpers fromtests/totest/.interface→type, typedindex.tsexports); no functional changes intended.exports-based dual-module distribution.Written by Cursor Bugbot for commit c87bf57. This will update automatically on new commits. Configure here.