mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(router-utils): verify every emitted output against the plan's invariants
`TSR_COMPILER_VERIFY=1` (read once; every test run sets it through the shared run-directory setup and the core's own config) re-parses each emitted output and fails the compile when an output assigns a binding it imports, a glue import names nothing its home exports, an output holds text its own edits erase, a surviving effect statement is emitted other than once across the outputs that import from the env module (none when placement removed its cluster), or an extracted export's module reads a binding of the env module at its evaluation. Unset, it costs one boolean per compile. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
f9ab025647
commit
ff6eefe8be
3 changed files with 173 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue