chore: drop dead react-router overrides and redundant root devDependencies

Merged
TH
10d ago
+1-29

Summary

Repository-audit cleanup of dead dependency configuration (related to #4368).

  • Removed the react-router / react-router-dom overrides from pnpm-workspace.yaml. Nothing in the workspace resolves to react-router (the website is Astro/Starlight); the pins existed only in the lockfile's overrides block.
  • Removed six root devDependencies (ipaddr.js, jpeg-js, plist, pngjs, undici, yauzl) that were duplicated: every consumer lives in a sub-package that declares its own copy (provision-kit, capture-kit, platform-apple, maestro, host-kit), and no root file imports them.
  • Kept @types/json-schema: typecheck fails without it because the @ai-sdk/provider d.ts resolves json-schema types through the root @types folder.

Touched files: 3 (package.json, pnpm-workspace.yaml, pnpm-lock.yaml). No scope expansion, no behavior change.

Validation

Tested SHA: 4b5e62d544.

  • pnpm install --frozen-lockfile passes (lockfile in sync)
  • pnpm lint 0 warnings (5229 files); pnpm format:check clean (5427 files)
  • pnpm typecheck clean (incl. examples/sdk); pnpm build succeeds
  • pnpm test:unit: 2154 files, 20583 tests passed, 0 failed
  • repo-guards (143 tests), layering, di-seams, agent-guidance, gate-manifest, doc-links, doc-prose, mcp-metadata, production-exports, fallow audit, native-dupes: all pass
  • pnpm check:package: clean-install import of all 15 published entry points and a CLI run, proving the removed deps are not needed by the published package

CI obligations: the serialized gate stage validates the pushed head; this is a device-free config change, so no device lanes apply.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.