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.
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-only changes (Node version hint, Yarn allowlist, devDependencies); no runtime library or security-sensitive application logic is modified.
Overview
Aligns Node and Yarn policy with MetaMask core and bumps a few dev dependencies so docs and installs stay healthy after the TypeScript 5.3 upgrade.
.nvmrcnow trackslts/*instead of pinningv18..yarnrc.ymladds@ts-bridge/*tonpmPreapprovedPackages, so those packages can bypass the 3-day npm age gate (same as core).Dev dependency bumps:
typedoc^0.23.15→^0.25.13(restoresyarn build:docswithtypescript ~5.3.3; 0.23 only supported TS through 5.0 and was failing at doc generation),@lavamoat/preinstall-always-fail^1.0.0→^2.1.0, andjest-when^3.6.0→^3.7.0, with matchingyarn.lockupdates for transitive deps (e.g. marked, minimatch, shiki).Reviewed by Cursor Bugbot for commit 6f36a6c. Bugbot is set up for automated code reviews on this repo. Configure here.