{{ message }}
chore: align remaining dev deps and tooling config with core - #318
Open
cryptodev-2s wants to merge 1 commit into
Open
chore: align remaining dev deps and tooling config with core#318cryptodev-2s wants to merge 1 commit into
cryptodev-2s wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution MetaMask internal reviewing guidelines:
|
cryptodev-2s
force-pushed
the
migrate/pr2d-devdeps
branch
from
September 4, 2026 11:00
8ce4a96 to
d3522b0
Compare
typedoc ^0.23.15 -> ^0.25.13 @lavamoat/preinstall-always-fail ^1.0.0 -> ^2.1.0 jest-when ^3.6.0 -> ^3.7.0 The typedoc bump is not cosmetic. typedoc 0.23 supports TypeScript up to 5.0, so after this package moved to ~5.3.3 `yarn build:docs` crashed outright with "Cannot read properties of undefined (reading 'name')". PR CI never runs build:docs, so nothing caught it. 0.25.13 is core's version and restores a clean run. Also: .nvmrc v18 -> lts/*, matching core .yarnrc.yml adds @ts-bridge/* to npmPreapprovedPackages, matching core Left alone deliberately: depcheck is not swapped for knip. Core uses knip, but its config is 292 lines of monorepo-specific tuning and PR#8 of the migration guide strips knip.config.* from the package anyway, so writing one here buys nothing. oxfmt stays at ^0.44.0 even though @metamask/auto-changelog@6.2.1 peer requests ^0.45.0. Core pins the same pair, so this mismatch already exists upstream and bumping would diverge from it. Changelog validation still passes. typedoc-plugin-missing-exports is not added. Core packages carry it, but typedoc.json here declares no plugins, so it would be an unused dependency. Verified on Node 24 (the new .nvmrc target): eslint, build, build:docs, 23 suites / 1993 tests, tsd, and full yarn lint all pass.
cryptodev-2s
force-pushed
the
migrate/pr2d-devdeps
branch
from
September 4, 2026 11:03
d3522b0 to
2781215
Compare
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.

Top of stack #315, on #317.
typedoc^0.23.15^0.25.13@lavamoat/preinstall-always-fail^1.0.0^2.1.0jest-when^3.6.0^3.7.0The typedoc bump fixes a live break. typedoc 0.23 caps at TypeScript 5.0, so once #311 moved us to
~5.3.3,yarn build:docscrashed withCannot read properties of undefined (reading 'name'). Nothing caught it because PR CI never runsbuild:docs, only the docs publish workflow does.Also
.nvmrcv18tolts/*, and@ts-bridge/*added tonpmPreapprovedPackages. Both match core.Left alone on purpose:
depcheckis not swapped for knip. Core's knip config is 292 lines of monorepo specific tuning, and PR#8 of the migration guide stripsknip.config.*from the package anyway.oxfmtstays at^0.44.0even though@metamask/auto-changelog@6.2.1peer requests^0.45.0. Core pins the same pair, so bumping would diverge from it.Note
Low Risk
Tooling and devDependency-only changes with no runtime library or security-sensitive application logic touched.
Overview
Aligns Node and Yarn policy with MetaMask core and bumps several dev dependencies so docs and installs stay healthy after the TypeScript 5.3 upgrade.
.nvmrcnow trackslts/*instead of pinningv18..yarnrc.ymlpre-approves@ts-bridge/*for the npm minimal-age gate, matching core and the existing@ts-bridge/cli/@ts-bridge/shimsusage.typedocmoves from^0.23.15to^0.25.13, which restoresyarn build:docs(0.23 only supports TypeScript through 5.0 and was failing on~5.3.3).@lavamoat/preinstall-always-failandjest-whenare bumped to^2.1.0and^3.7.0respectively;yarn.lockreflects the transitive updates (e.g. marked, shiki, minimatch for TypeDoc).Reviewed by Cursor Bugbot for commit 2781215. Bugbot is set up for automated code reviews on this repo. Configure here.