Files
orca/config/audit-tools
Neil 18d25591f9 fix(deps): resolve body-parser and happy-dom security findings (#32983)
* fix(deps): resolve body-parser and happy-dom security findings

* test(mobile): await rich markdown effect cleanup
2026-10-23 17:35:12 -07:00
..
2026-10-18 19:27:33 -07:00

Locked audit tools

React Doctor and Knip live in this separate pnpm workspace so application installs and release bundles do not acquire their dependency trees.

Run the existing root commands (pnpm doctor, pnpm audit:react-doctor, pnpm audit:dead-code, or pnpm check:react-doctor:changed). The runner first installs this workspace with --frozen-lockfile --ignore-scripts, then runs the tool's local JavaScript entry point from the repository root. Every run checks the manifest against the lockfile; it never falls back to downloading a CLI through dlx or npx.

To update a tool, change its exact version in this package's manifest, run pnpm --dir config/audit-tools install --ignore-scripts, and review both the manifest and generated lockfile. The workspace enforces a three-day release delay and disables install scripts. Keep its package-manager pin aligned with the root. Run node config/scripts/verify-locked-audit-tools.mjs to exercise both tools.