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:
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
Dev-only dependency and config changes; no runtime library or security-sensitive application code is modified.
Overview
Aligns remaining dev dependencies and Yarn/Node tooling with MetaMask core.
typedoc is bumped from
^0.23.15to^0.25.13soyarn build:docsworks with TypeScript ~5.3.3 (0.23 only supported TS through 5.0). jest-when and @lavamoat/preinstall-always-fail get minor bumps;.nvmrcswitches fromv18tolts/*, and@ts-bridge/*is added tonpmPreapprovedPackagesin.yarnrc.yml. Lockfile entries update for those packages and typedoc’s transitive deps (e.g. marked, shiki, minimatch).Reviewed by Cursor Bugbot for commit 8c05904. Bugbot is set up for automated code reviews on this repo. Configure here.