Releases: oedotme/generouted
Releases · oedotme/generouted
v1.13.1
v1.13.0
Changes
- Support option for nested
src/pages
in nested directory such asclient/src/pages
orapps/dashboard/src/pages
- Custom integration full example
- Auto-format generated
router.ts
file with prettier by default if prettier is installed
Breaking changes at Vite plugin options
source
is now an object instead of string to accept bothroutes
andmodals
patternsoutput
is now the full output file path instead of only file name
// default values when using `generouted()` plugin with no options (recommended)
{
source: { routes: './src/pages/**/[\\w[-]*.{jsx,tsx}', modals: './src/pages/**/[+]*.{jsx,tsx}' },
output: './src/router.ts',
format: true,
}
Commits
- docs: update custom integration stackblitz link 8988e9c by @oedotme
- chore: update packages 7fad487 by @oedotme
- docs: add custom integration example 1e7db9b by @oedotme
- feat: optionally auto format router.ts with prettier 5bc491a by @oedotme
- feat: option for nested src/pages as client/src/pages e0a5593 by @oedotme closes #73, #90
- test: add ignored files to regular routes cases 0c951db by @oedotme
- test: base cases for core functions 54d5439 by @oedotme
- chore: build dependencies first with turbo build c0c360c by @oedotme
- chore: update packages ec99941 by @oedotme
- test: setup vitest 0267feb by @oedotme
Changelog: v1.12.9...v1.13.0
v1.12.9
v1.12.8
v1.12.7
v1.12.6
v1.12.5
v1.12.4
v1.12.3
Changes
New generouted
explorer - interactive playground for file-based routing.
You can run it online via StackBlitz
Commits
Changelog: v1.12.2...v1.12.3