0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

test(router-generator): dev runs compare routes, not tree bytes; broken edits need a located diagnostic

- GEN-33: a running generator's tree must give the real router the same
  routes (ids, full paths, parents, files, lazy files) as a fresh run's;
  hand-edited, corrupted and deleted trees must regenerate and give the
  routes of the original tree. Tree text is free (J1.5, 5.5).
- GEN-15: a route file broken by an edit may fail the run or warn, if the
  diagnostic names the file and the line of the problem (G5); main throws
  'Error transforming route file <abs>: SyntaxError: Unexpected token
  (3:22)'. The repaired-file check stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-19 02:07:02 +02:00
commit 3b8a3ef573
No known key found for this signature in database