@tanstack/router-plugin 1.112.17 → 1.112.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,6 +33,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
33
33
  addExtensions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
34
34
  disableLogging: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
35
35
  disableManifestGeneration: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36
+ __enableAPIRoutesGeneration: z.ZodOptional<z.ZodBoolean>;
36
37
  apiBase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
37
38
  routeTreeFileHeader: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
38
39
  routeTreeFileFooter: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
@@ -84,6 +85,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
84
85
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
85
86
  routeFilePrefix?: string | undefined;
86
87
  routeFileIgnorePattern?: string | undefined;
88
+ __enableAPIRoutesGeneration?: boolean | undefined;
87
89
  autoCodeSplitting?: boolean | undefined;
88
90
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
89
91
  customScaffolding?: {
@@ -110,6 +112,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
110
112
  addExtensions?: boolean | undefined;
111
113
  disableLogging?: boolean | undefined;
112
114
  disableManifestGeneration?: boolean | undefined;
115
+ __enableAPIRoutesGeneration?: boolean | undefined;
113
116
  apiBase?: string | undefined;
114
117
  routeTreeFileHeader?: string[] | undefined;
115
118
  routeTreeFileFooter?: string[] | undefined;
@@ -147,6 +150,7 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
147
150
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
148
151
  routeFilePrefix?: string | undefined;
149
152
  routeFileIgnorePattern?: string | undefined;
153
+ __enableAPIRoutesGeneration?: boolean | undefined;
150
154
  autoCodeSplitting?: boolean | undefined;
151
155
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
152
156
  customScaffolding?: {
@@ -29,6 +29,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
29
29
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
30
30
  routeFilePrefix?: string | undefined;
31
31
  routeFileIgnorePattern?: string | undefined;
32
+ __enableAPIRoutesGeneration?: boolean | undefined;
32
33
  autoCodeSplitting?: boolean | undefined;
33
34
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
34
35
  customScaffolding?: {
@@ -70,6 +71,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
70
71
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
71
72
  routeFilePrefix?: string | undefined;
72
73
  routeFileIgnorePattern?: string | undefined;
74
+ __enableAPIRoutesGeneration?: boolean | undefined;
73
75
  autoCodeSplitting?: boolean | undefined;
74
76
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
75
77
  customScaffolding?: {
@@ -111,6 +113,7 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
111
113
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
112
114
  routeFilePrefix?: string | undefined;
113
115
  routeFileIgnorePattern?: string | undefined;
116
+ __enableAPIRoutesGeneration?: boolean | undefined;
114
117
  autoCodeSplitting?: boolean | undefined;
115
118
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
116
119
  customScaffolding?: {
@@ -33,6 +33,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
33
33
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
34
34
  routeFilePrefix?: string | undefined;
35
35
  routeFileIgnorePattern?: string | undefined;
36
+ __enableAPIRoutesGeneration?: boolean | undefined;
36
37
  autoCodeSplitting?: boolean | undefined;
37
38
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
38
39
  customScaffolding?: {
@@ -78,6 +79,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
78
79
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
79
80
  routeFilePrefix?: string | undefined;
80
81
  routeFileIgnorePattern?: string | undefined;
82
+ __enableAPIRoutesGeneration?: boolean | undefined;
81
83
  autoCodeSplitting?: boolean | undefined;
82
84
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
83
85
  customScaffolding?: {
@@ -123,6 +125,7 @@ declare const TanStackRouterRspack: (options?: Partial<{
123
125
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
124
126
  routeFilePrefix?: string | undefined;
125
127
  routeFileIgnorePattern?: string | undefined;
128
+ __enableAPIRoutesGeneration?: boolean | undefined;
126
129
  autoCodeSplitting?: boolean | undefined;
127
130
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
128
131
  customScaffolding?: {
@@ -29,6 +29,7 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
29
29
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
30
30
  routeFilePrefix?: string | undefined;
31
31
  routeFileIgnorePattern?: string | undefined;
32
+ __enableAPIRoutesGeneration?: boolean | undefined;
32
33
  autoCodeSplitting?: boolean | undefined;
33
34
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
34
35
  customScaffolding?: {
@@ -70,6 +71,7 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
70
71
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
71
72
  routeFilePrefix?: string | undefined;
72
73
  routeFileIgnorePattern?: string | undefined;
74
+ __enableAPIRoutesGeneration?: boolean | undefined;
73
75
  autoCodeSplitting?: boolean | undefined;
74
76
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
75
77
  customScaffolding?: {
@@ -111,6 +113,7 @@ declare const TanStackRouterVite: (options?: Partial<{
111
113
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
112
114
  routeFilePrefix?: string | undefined;
113
115
  routeFileIgnorePattern?: string | undefined;
116
+ __enableAPIRoutesGeneration?: boolean | undefined;
114
117
  autoCodeSplitting?: boolean | undefined;
115
118
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
116
119
  customScaffolding?: {
@@ -29,6 +29,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
29
29
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
30
30
  routeFilePrefix?: string | undefined;
31
31
  routeFileIgnorePattern?: string | undefined;
32
+ __enableAPIRoutesGeneration?: boolean | undefined;
32
33
  autoCodeSplitting?: boolean | undefined;
33
34
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
34
35
  customScaffolding?: {
@@ -70,6 +71,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
70
71
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
71
72
  routeFilePrefix?: string | undefined;
72
73
  routeFileIgnorePattern?: string | undefined;
74
+ __enableAPIRoutesGeneration?: boolean | undefined;
73
75
  autoCodeSplitting?: boolean | undefined;
74
76
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
75
77
  customScaffolding?: {
@@ -111,6 +113,7 @@ declare const TanStackRouterWebpack: (options?: Partial<{
111
113
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
112
114
  routeFilePrefix?: string | undefined;
113
115
  routeFileIgnorePattern?: string | undefined;
116
+ __enableAPIRoutesGeneration?: boolean | undefined;
114
117
  autoCodeSplitting?: boolean | undefined;
115
118
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
116
119
  customScaffolding?: {
@@ -33,6 +33,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
33
33
  addExtensions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
34
34
  disableLogging: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
35
35
  disableManifestGeneration: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36
+ __enableAPIRoutesGeneration: z.ZodOptional<z.ZodBoolean>;
36
37
  apiBase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
37
38
  routeTreeFileHeader: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
38
39
  routeTreeFileFooter: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
@@ -84,6 +85,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
84
85
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
85
86
  routeFilePrefix?: string | undefined;
86
87
  routeFileIgnorePattern?: string | undefined;
88
+ __enableAPIRoutesGeneration?: boolean | undefined;
87
89
  autoCodeSplitting?: boolean | undefined;
88
90
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
89
91
  customScaffolding?: {
@@ -110,6 +112,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
110
112
  addExtensions?: boolean | undefined;
111
113
  disableLogging?: boolean | undefined;
112
114
  disableManifestGeneration?: boolean | undefined;
115
+ __enableAPIRoutesGeneration?: boolean | undefined;
113
116
  apiBase?: string | undefined;
114
117
  routeTreeFileHeader?: string[] | undefined;
115
118
  routeTreeFileFooter?: string[] | undefined;
@@ -147,6 +150,7 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
147
150
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
148
151
  routeFilePrefix?: string | undefined;
149
152
  routeFileIgnorePattern?: string | undefined;
153
+ __enableAPIRoutesGeneration?: boolean | undefined;
150
154
  autoCodeSplitting?: boolean | undefined;
151
155
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
152
156
  customScaffolding?: {
@@ -29,6 +29,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
29
29
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
30
30
  routeFilePrefix?: string | undefined;
31
31
  routeFileIgnorePattern?: string | undefined;
32
+ __enableAPIRoutesGeneration?: boolean | undefined;
32
33
  autoCodeSplitting?: boolean | undefined;
33
34
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
34
35
  customScaffolding?: {
@@ -70,6 +71,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
70
71
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
71
72
  routeFilePrefix?: string | undefined;
72
73
  routeFileIgnorePattern?: string | undefined;
74
+ __enableAPIRoutesGeneration?: boolean | undefined;
73
75
  autoCodeSplitting?: boolean | undefined;
74
76
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
75
77
  customScaffolding?: {
@@ -111,6 +113,7 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
111
113
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
112
114
  routeFilePrefix?: string | undefined;
113
115
  routeFileIgnorePattern?: string | undefined;
116
+ __enableAPIRoutesGeneration?: boolean | undefined;
114
117
  autoCodeSplitting?: boolean | undefined;
115
118
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
116
119
  customScaffolding?: {
@@ -33,6 +33,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
33
33
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
34
34
  routeFilePrefix?: string | undefined;
35
35
  routeFileIgnorePattern?: string | undefined;
36
+ __enableAPIRoutesGeneration?: boolean | undefined;
36
37
  autoCodeSplitting?: boolean | undefined;
37
38
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
38
39
  customScaffolding?: {
@@ -78,6 +79,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
78
79
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
79
80
  routeFilePrefix?: string | undefined;
80
81
  routeFileIgnorePattern?: string | undefined;
82
+ __enableAPIRoutesGeneration?: boolean | undefined;
81
83
  autoCodeSplitting?: boolean | undefined;
82
84
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
83
85
  customScaffolding?: {
@@ -123,6 +125,7 @@ declare const TanStackRouterRspack: (options?: Partial<{
123
125
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
124
126
  routeFilePrefix?: string | undefined;
125
127
  routeFileIgnorePattern?: string | undefined;
128
+ __enableAPIRoutesGeneration?: boolean | undefined;
126
129
  autoCodeSplitting?: boolean | undefined;
127
130
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
128
131
  customScaffolding?: {
@@ -29,6 +29,7 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
29
29
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
30
30
  routeFilePrefix?: string | undefined;
31
31
  routeFileIgnorePattern?: string | undefined;
32
+ __enableAPIRoutesGeneration?: boolean | undefined;
32
33
  autoCodeSplitting?: boolean | undefined;
33
34
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
34
35
  customScaffolding?: {
@@ -70,6 +71,7 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
70
71
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
71
72
  routeFilePrefix?: string | undefined;
72
73
  routeFileIgnorePattern?: string | undefined;
74
+ __enableAPIRoutesGeneration?: boolean | undefined;
73
75
  autoCodeSplitting?: boolean | undefined;
74
76
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
75
77
  customScaffolding?: {
@@ -111,6 +113,7 @@ declare const TanStackRouterVite: (options?: Partial<{
111
113
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
112
114
  routeFilePrefix?: string | undefined;
113
115
  routeFileIgnorePattern?: string | undefined;
116
+ __enableAPIRoutesGeneration?: boolean | undefined;
114
117
  autoCodeSplitting?: boolean | undefined;
115
118
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
116
119
  customScaffolding?: {
@@ -29,6 +29,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
29
29
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
30
30
  routeFilePrefix?: string | undefined;
31
31
  routeFileIgnorePattern?: string | undefined;
32
+ __enableAPIRoutesGeneration?: boolean | undefined;
32
33
  autoCodeSplitting?: boolean | undefined;
33
34
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
34
35
  customScaffolding?: {
@@ -70,6 +71,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
70
71
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
71
72
  routeFilePrefix?: string | undefined;
72
73
  routeFileIgnorePattern?: string | undefined;
74
+ __enableAPIRoutesGeneration?: boolean | undefined;
73
75
  autoCodeSplitting?: boolean | undefined;
74
76
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
75
77
  customScaffolding?: {
@@ -111,6 +113,7 @@ declare const TanStackRouterWebpack: (options?: Partial<{
111
113
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
112
114
  routeFilePrefix?: string | undefined;
113
115
  routeFileIgnorePattern?: string | undefined;
116
+ __enableAPIRoutesGeneration?: boolean | undefined;
114
117
  autoCodeSplitting?: boolean | undefined;
115
118
  pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
116
119
  customScaffolding?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/router-plugin",
3
- "version": "1.112.17",
3
+ "version": "1.112.19",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -100,17 +100,17 @@
100
100
  "chokidar": "^3.6.0",
101
101
  "unplugin": "^2.1.2",
102
102
  "zod": "^3.24.1",
103
- "@tanstack/router-core": "^1.112.12",
104
- "@tanstack/router-utils": "^1.102.2",
103
+ "@tanstack/router-core": "^1.112.18",
104
+ "@tanstack/router-utils": "^1.112.18",
105
105
  "@tanstack/virtual-file-routes": "^1.99.0",
106
- "@tanstack/router-generator": "^1.112.17"
106
+ "@tanstack/router-generator": "^1.112.19"
107
107
  },
108
108
  "peerDependencies": {
109
109
  "@rsbuild/core": ">=1.0.2",
110
110
  "vite": ">=5.0.0 || >=6.0.0",
111
111
  "vite-plugin-solid": "^2.11.2",
112
112
  "webpack": ">=5.92.0",
113
- "@tanstack/react-router": "^1.112.17"
113
+ "@tanstack/react-router": "^1.112.18"
114
114
  },
115
115
  "peerDependenciesMeta": {
116
116
  "@rsbuild/core": {