0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages/router-generator/tests
Nico Lynzaad b7b68b951d
fix(router-generator): Add path check for custom generatedRouteTree folder path (#5039)
When a custom generatedRouteTree path is used there exists the
possibility that the folder path might not exists yet when the routeTree
is generated.

This adds a check and creates the path should it not exists.

This resolves #4912 as part of the Alpha branch

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
History 2025-08-29 00:52:02 +02:00
..
config/json-config test(router): adding test to verify route generation from tsr.config.json (#2866) 2024-12-07 19:14:11 +01:00
deny-route-group-config fix(router-generator): throw an error when a route configuration is found for a grouping identifier (#1947) 2024-07-12 11:24:51 +12:00
generator fix(router-generator): Add path check for custom generatedRouteTree folder path (#5039) 2025-08-29 00:52:02 +02:00
config.test.ts test(router): adding test to verify route generation from tsr.config.json (#2866) 2024-12-07 19:14:11 +01:00
deny-route-group-config.test.ts feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00
generator.test.ts fix(router-generator): Add path check for custom generatedRouteTree folder path (#5039) 2025-08-29 00:52:02 +02:00
utils.test.ts feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00