@tanstack/router-plugin 1.112.18 → 1.113.0
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.
- package/dist/cjs/core/config.d.cts +8 -0
- package/dist/cjs/esbuild.d.cts +6 -0
- package/dist/cjs/rspack.d.cts +6 -0
- package/dist/cjs/vite.d.cts +6 -0
- package/dist/cjs/webpack.d.cts +6 -0
- package/dist/esm/core/config.d.ts +8 -0
- package/dist/esm/esbuild.d.ts +6 -0
- package/dist/esm/rspack.d.ts +6 -0
- package/dist/esm/vite.d.ts +6 -0
- package/dist/esm/webpack.d.ts +6 -0
- package/package.json +2 -2
|
@@ -33,6 +33,8 @@ 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
|
+
enableRouteTreeFormatting: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
37
|
+
__enableAPIRoutesGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
36
38
|
apiBase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
37
39
|
routeTreeFileHeader: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
38
40
|
routeTreeFileFooter: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -74,6 +76,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
74
76
|
addExtensions: boolean;
|
|
75
77
|
disableLogging: boolean;
|
|
76
78
|
disableManifestGeneration: boolean;
|
|
79
|
+
enableRouteTreeFormatting: boolean;
|
|
77
80
|
apiBase: string;
|
|
78
81
|
routeTreeFileHeader: string[];
|
|
79
82
|
routeTreeFileFooter: string[];
|
|
@@ -84,6 +87,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
84
87
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
85
88
|
routeFilePrefix?: string | undefined;
|
|
86
89
|
routeFileIgnorePattern?: string | undefined;
|
|
90
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
87
91
|
autoCodeSplitting?: boolean | undefined;
|
|
88
92
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
89
93
|
customScaffolding?: {
|
|
@@ -110,6 +114,8 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
110
114
|
addExtensions?: boolean | undefined;
|
|
111
115
|
disableLogging?: boolean | undefined;
|
|
112
116
|
disableManifestGeneration?: boolean | undefined;
|
|
117
|
+
enableRouteTreeFormatting?: boolean | undefined;
|
|
118
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
113
119
|
apiBase?: string | undefined;
|
|
114
120
|
routeTreeFileHeader?: string[] | undefined;
|
|
115
121
|
routeTreeFileFooter?: string[] | undefined;
|
|
@@ -137,6 +143,7 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
|
|
|
137
143
|
addExtensions: boolean;
|
|
138
144
|
disableLogging: boolean;
|
|
139
145
|
disableManifestGeneration: boolean;
|
|
146
|
+
enableRouteTreeFormatting: boolean;
|
|
140
147
|
apiBase: string;
|
|
141
148
|
routeTreeFileHeader: string[];
|
|
142
149
|
routeTreeFileFooter: string[];
|
|
@@ -147,6 +154,7 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
|
|
|
147
154
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
148
155
|
routeFilePrefix?: string | undefined;
|
|
149
156
|
routeFileIgnorePattern?: string | undefined;
|
|
157
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
150
158
|
autoCodeSplitting?: boolean | undefined;
|
|
151
159
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
152
160
|
customScaffolding?: {
|
package/dist/cjs/esbuild.d.cts
CHANGED
|
@@ -19,6 +19,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
|
19
19
|
addExtensions: boolean;
|
|
20
20
|
disableLogging: boolean;
|
|
21
21
|
disableManifestGeneration: boolean;
|
|
22
|
+
enableRouteTreeFormatting: boolean;
|
|
22
23
|
apiBase: string;
|
|
23
24
|
routeTreeFileHeader: string[];
|
|
24
25
|
routeTreeFileFooter: string[];
|
|
@@ -29,6 +30,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
|
29
30
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
30
31
|
routeFilePrefix?: string | undefined;
|
|
31
32
|
routeFileIgnorePattern?: string | undefined;
|
|
33
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
32
34
|
autoCodeSplitting?: boolean | undefined;
|
|
33
35
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
34
36
|
customScaffolding?: {
|
|
@@ -60,6 +62,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
|
60
62
|
addExtensions: boolean;
|
|
61
63
|
disableLogging: boolean;
|
|
62
64
|
disableManifestGeneration: boolean;
|
|
65
|
+
enableRouteTreeFormatting: boolean;
|
|
63
66
|
apiBase: string;
|
|
64
67
|
routeTreeFileHeader: string[];
|
|
65
68
|
routeTreeFileFooter: string[];
|
|
@@ -70,6 +73,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
|
70
73
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
71
74
|
routeFilePrefix?: string | undefined;
|
|
72
75
|
routeFileIgnorePattern?: string | undefined;
|
|
76
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
73
77
|
autoCodeSplitting?: boolean | undefined;
|
|
74
78
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
75
79
|
customScaffolding?: {
|
|
@@ -101,6 +105,7 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
|
|
|
101
105
|
addExtensions: boolean;
|
|
102
106
|
disableLogging: boolean;
|
|
103
107
|
disableManifestGeneration: boolean;
|
|
108
|
+
enableRouteTreeFormatting: boolean;
|
|
104
109
|
apiBase: string;
|
|
105
110
|
routeTreeFileHeader: string[];
|
|
106
111
|
routeTreeFileFooter: string[];
|
|
@@ -111,6 +116,7 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
|
|
|
111
116
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
112
117
|
routeFilePrefix?: string | undefined;
|
|
113
118
|
routeFileIgnorePattern?: string | undefined;
|
|
119
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
114
120
|
autoCodeSplitting?: boolean | undefined;
|
|
115
121
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
116
122
|
customScaffolding?: {
|
package/dist/cjs/rspack.d.cts
CHANGED
|
@@ -23,6 +23,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
|
23
23
|
addExtensions: boolean;
|
|
24
24
|
disableLogging: boolean;
|
|
25
25
|
disableManifestGeneration: boolean;
|
|
26
|
+
enableRouteTreeFormatting: boolean;
|
|
26
27
|
apiBase: string;
|
|
27
28
|
routeTreeFileHeader: string[];
|
|
28
29
|
routeTreeFileFooter: string[];
|
|
@@ -33,6 +34,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
|
33
34
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
34
35
|
routeFilePrefix?: string | undefined;
|
|
35
36
|
routeFileIgnorePattern?: string | undefined;
|
|
37
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
36
38
|
autoCodeSplitting?: boolean | undefined;
|
|
37
39
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
38
40
|
customScaffolding?: {
|
|
@@ -68,6 +70,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
|
68
70
|
addExtensions: boolean;
|
|
69
71
|
disableLogging: boolean;
|
|
70
72
|
disableManifestGeneration: boolean;
|
|
73
|
+
enableRouteTreeFormatting: boolean;
|
|
71
74
|
apiBase: string;
|
|
72
75
|
routeTreeFileHeader: string[];
|
|
73
76
|
routeTreeFileFooter: string[];
|
|
@@ -78,6 +81,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
|
78
81
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
79
82
|
routeFilePrefix?: string | undefined;
|
|
80
83
|
routeFileIgnorePattern?: string | undefined;
|
|
84
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
81
85
|
autoCodeSplitting?: boolean | undefined;
|
|
82
86
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
83
87
|
customScaffolding?: {
|
|
@@ -113,6 +117,7 @@ declare const TanStackRouterRspack: (options?: Partial<{
|
|
|
113
117
|
addExtensions: boolean;
|
|
114
118
|
disableLogging: boolean;
|
|
115
119
|
disableManifestGeneration: boolean;
|
|
120
|
+
enableRouteTreeFormatting: boolean;
|
|
116
121
|
apiBase: string;
|
|
117
122
|
routeTreeFileHeader: string[];
|
|
118
123
|
routeTreeFileFooter: string[];
|
|
@@ -123,6 +128,7 @@ declare const TanStackRouterRspack: (options?: Partial<{
|
|
|
123
128
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
124
129
|
routeFilePrefix?: string | undefined;
|
|
125
130
|
routeFileIgnorePattern?: string | undefined;
|
|
131
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
126
132
|
autoCodeSplitting?: boolean | undefined;
|
|
127
133
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
128
134
|
customScaffolding?: {
|
package/dist/cjs/vite.d.cts
CHANGED
|
@@ -19,6 +19,7 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
|
19
19
|
addExtensions: boolean;
|
|
20
20
|
disableLogging: boolean;
|
|
21
21
|
disableManifestGeneration: boolean;
|
|
22
|
+
enableRouteTreeFormatting: boolean;
|
|
22
23
|
apiBase: string;
|
|
23
24
|
routeTreeFileHeader: string[];
|
|
24
25
|
routeTreeFileFooter: string[];
|
|
@@ -29,6 +30,7 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
|
29
30
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
30
31
|
routeFilePrefix?: string | undefined;
|
|
31
32
|
routeFileIgnorePattern?: string | undefined;
|
|
33
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
32
34
|
autoCodeSplitting?: boolean | undefined;
|
|
33
35
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
34
36
|
customScaffolding?: {
|
|
@@ -60,6 +62,7 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
|
60
62
|
addExtensions: boolean;
|
|
61
63
|
disableLogging: boolean;
|
|
62
64
|
disableManifestGeneration: boolean;
|
|
65
|
+
enableRouteTreeFormatting: boolean;
|
|
63
66
|
apiBase: string;
|
|
64
67
|
routeTreeFileHeader: string[];
|
|
65
68
|
routeTreeFileFooter: string[];
|
|
@@ -70,6 +73,7 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
|
70
73
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
71
74
|
routeFilePrefix?: string | undefined;
|
|
72
75
|
routeFileIgnorePattern?: string | undefined;
|
|
76
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
73
77
|
autoCodeSplitting?: boolean | undefined;
|
|
74
78
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
75
79
|
customScaffolding?: {
|
|
@@ -101,6 +105,7 @@ declare const TanStackRouterVite: (options?: Partial<{
|
|
|
101
105
|
addExtensions: boolean;
|
|
102
106
|
disableLogging: boolean;
|
|
103
107
|
disableManifestGeneration: boolean;
|
|
108
|
+
enableRouteTreeFormatting: boolean;
|
|
104
109
|
apiBase: string;
|
|
105
110
|
routeTreeFileHeader: string[];
|
|
106
111
|
routeTreeFileFooter: string[];
|
|
@@ -111,6 +116,7 @@ declare const TanStackRouterVite: (options?: Partial<{
|
|
|
111
116
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
112
117
|
routeFilePrefix?: string | undefined;
|
|
113
118
|
routeFileIgnorePattern?: string | undefined;
|
|
119
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
114
120
|
autoCodeSplitting?: boolean | undefined;
|
|
115
121
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
116
122
|
customScaffolding?: {
|
package/dist/cjs/webpack.d.cts
CHANGED
|
@@ -19,6 +19,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
|
19
19
|
addExtensions: boolean;
|
|
20
20
|
disableLogging: boolean;
|
|
21
21
|
disableManifestGeneration: boolean;
|
|
22
|
+
enableRouteTreeFormatting: boolean;
|
|
22
23
|
apiBase: string;
|
|
23
24
|
routeTreeFileHeader: string[];
|
|
24
25
|
routeTreeFileFooter: string[];
|
|
@@ -29,6 +30,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
|
29
30
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
30
31
|
routeFilePrefix?: string | undefined;
|
|
31
32
|
routeFileIgnorePattern?: string | undefined;
|
|
33
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
32
34
|
autoCodeSplitting?: boolean | undefined;
|
|
33
35
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
34
36
|
customScaffolding?: {
|
|
@@ -60,6 +62,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
|
60
62
|
addExtensions: boolean;
|
|
61
63
|
disableLogging: boolean;
|
|
62
64
|
disableManifestGeneration: boolean;
|
|
65
|
+
enableRouteTreeFormatting: boolean;
|
|
63
66
|
apiBase: string;
|
|
64
67
|
routeTreeFileHeader: string[];
|
|
65
68
|
routeTreeFileFooter: string[];
|
|
@@ -70,6 +73,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
|
70
73
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
71
74
|
routeFilePrefix?: string | undefined;
|
|
72
75
|
routeFileIgnorePattern?: string | undefined;
|
|
76
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
73
77
|
autoCodeSplitting?: boolean | undefined;
|
|
74
78
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
75
79
|
customScaffolding?: {
|
|
@@ -101,6 +105,7 @@ declare const TanStackRouterWebpack: (options?: Partial<{
|
|
|
101
105
|
addExtensions: boolean;
|
|
102
106
|
disableLogging: boolean;
|
|
103
107
|
disableManifestGeneration: boolean;
|
|
108
|
+
enableRouteTreeFormatting: boolean;
|
|
104
109
|
apiBase: string;
|
|
105
110
|
routeTreeFileHeader: string[];
|
|
106
111
|
routeTreeFileFooter: string[];
|
|
@@ -111,6 +116,7 @@ declare const TanStackRouterWebpack: (options?: Partial<{
|
|
|
111
116
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
112
117
|
routeFilePrefix?: string | undefined;
|
|
113
118
|
routeFileIgnorePattern?: string | undefined;
|
|
119
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
114
120
|
autoCodeSplitting?: boolean | undefined;
|
|
115
121
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
116
122
|
customScaffolding?: {
|
|
@@ -33,6 +33,8 @@ 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
|
+
enableRouteTreeFormatting: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
37
|
+
__enableAPIRoutesGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
36
38
|
apiBase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
37
39
|
routeTreeFileHeader: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
38
40
|
routeTreeFileFooter: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -74,6 +76,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
74
76
|
addExtensions: boolean;
|
|
75
77
|
disableLogging: boolean;
|
|
76
78
|
disableManifestGeneration: boolean;
|
|
79
|
+
enableRouteTreeFormatting: boolean;
|
|
77
80
|
apiBase: string;
|
|
78
81
|
routeTreeFileHeader: string[];
|
|
79
82
|
routeTreeFileFooter: string[];
|
|
@@ -84,6 +87,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
84
87
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
85
88
|
routeFilePrefix?: string | undefined;
|
|
86
89
|
routeFileIgnorePattern?: string | undefined;
|
|
90
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
87
91
|
autoCodeSplitting?: boolean | undefined;
|
|
88
92
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
89
93
|
customScaffolding?: {
|
|
@@ -110,6 +114,8 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
110
114
|
addExtensions?: boolean | undefined;
|
|
111
115
|
disableLogging?: boolean | undefined;
|
|
112
116
|
disableManifestGeneration?: boolean | undefined;
|
|
117
|
+
enableRouteTreeFormatting?: boolean | undefined;
|
|
118
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
113
119
|
apiBase?: string | undefined;
|
|
114
120
|
routeTreeFileHeader?: string[] | undefined;
|
|
115
121
|
routeTreeFileFooter?: string[] | undefined;
|
|
@@ -137,6 +143,7 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
|
|
|
137
143
|
addExtensions: boolean;
|
|
138
144
|
disableLogging: boolean;
|
|
139
145
|
disableManifestGeneration: boolean;
|
|
146
|
+
enableRouteTreeFormatting: boolean;
|
|
140
147
|
apiBase: string;
|
|
141
148
|
routeTreeFileHeader: string[];
|
|
142
149
|
routeTreeFileFooter: string[];
|
|
@@ -147,6 +154,7 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
|
|
|
147
154
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
148
155
|
routeFilePrefix?: string | undefined;
|
|
149
156
|
routeFileIgnorePattern?: string | undefined;
|
|
157
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
150
158
|
autoCodeSplitting?: boolean | undefined;
|
|
151
159
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
152
160
|
customScaffolding?: {
|
package/dist/esm/esbuild.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
|
19
19
|
addExtensions: boolean;
|
|
20
20
|
disableLogging: boolean;
|
|
21
21
|
disableManifestGeneration: boolean;
|
|
22
|
+
enableRouteTreeFormatting: boolean;
|
|
22
23
|
apiBase: string;
|
|
23
24
|
routeTreeFileHeader: string[];
|
|
24
25
|
routeTreeFileFooter: string[];
|
|
@@ -29,6 +30,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
|
29
30
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
30
31
|
routeFilePrefix?: string | undefined;
|
|
31
32
|
routeFileIgnorePattern?: string | undefined;
|
|
33
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
32
34
|
autoCodeSplitting?: boolean | undefined;
|
|
33
35
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
34
36
|
customScaffolding?: {
|
|
@@ -60,6 +62,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
|
60
62
|
addExtensions: boolean;
|
|
61
63
|
disableLogging: boolean;
|
|
62
64
|
disableManifestGeneration: boolean;
|
|
65
|
+
enableRouteTreeFormatting: boolean;
|
|
63
66
|
apiBase: string;
|
|
64
67
|
routeTreeFileHeader: string[];
|
|
65
68
|
routeTreeFileFooter: string[];
|
|
@@ -70,6 +73,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
|
70
73
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
71
74
|
routeFilePrefix?: string | undefined;
|
|
72
75
|
routeFileIgnorePattern?: string | undefined;
|
|
76
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
73
77
|
autoCodeSplitting?: boolean | undefined;
|
|
74
78
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
75
79
|
customScaffolding?: {
|
|
@@ -101,6 +105,7 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
|
|
|
101
105
|
addExtensions: boolean;
|
|
102
106
|
disableLogging: boolean;
|
|
103
107
|
disableManifestGeneration: boolean;
|
|
108
|
+
enableRouteTreeFormatting: boolean;
|
|
104
109
|
apiBase: string;
|
|
105
110
|
routeTreeFileHeader: string[];
|
|
106
111
|
routeTreeFileFooter: string[];
|
|
@@ -111,6 +116,7 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
|
|
|
111
116
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
112
117
|
routeFilePrefix?: string | undefined;
|
|
113
118
|
routeFileIgnorePattern?: string | undefined;
|
|
119
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
114
120
|
autoCodeSplitting?: boolean | undefined;
|
|
115
121
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
116
122
|
customScaffolding?: {
|
package/dist/esm/rspack.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
|
23
23
|
addExtensions: boolean;
|
|
24
24
|
disableLogging: boolean;
|
|
25
25
|
disableManifestGeneration: boolean;
|
|
26
|
+
enableRouteTreeFormatting: boolean;
|
|
26
27
|
apiBase: string;
|
|
27
28
|
routeTreeFileHeader: string[];
|
|
28
29
|
routeTreeFileFooter: string[];
|
|
@@ -33,6 +34,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
|
33
34
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
34
35
|
routeFilePrefix?: string | undefined;
|
|
35
36
|
routeFileIgnorePattern?: string | undefined;
|
|
37
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
36
38
|
autoCodeSplitting?: boolean | undefined;
|
|
37
39
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
38
40
|
customScaffolding?: {
|
|
@@ -68,6 +70,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
|
68
70
|
addExtensions: boolean;
|
|
69
71
|
disableLogging: boolean;
|
|
70
72
|
disableManifestGeneration: boolean;
|
|
73
|
+
enableRouteTreeFormatting: boolean;
|
|
71
74
|
apiBase: string;
|
|
72
75
|
routeTreeFileHeader: string[];
|
|
73
76
|
routeTreeFileFooter: string[];
|
|
@@ -78,6 +81,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
|
78
81
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
79
82
|
routeFilePrefix?: string | undefined;
|
|
80
83
|
routeFileIgnorePattern?: string | undefined;
|
|
84
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
81
85
|
autoCodeSplitting?: boolean | undefined;
|
|
82
86
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
83
87
|
customScaffolding?: {
|
|
@@ -113,6 +117,7 @@ declare const TanStackRouterRspack: (options?: Partial<{
|
|
|
113
117
|
addExtensions: boolean;
|
|
114
118
|
disableLogging: boolean;
|
|
115
119
|
disableManifestGeneration: boolean;
|
|
120
|
+
enableRouteTreeFormatting: boolean;
|
|
116
121
|
apiBase: string;
|
|
117
122
|
routeTreeFileHeader: string[];
|
|
118
123
|
routeTreeFileFooter: string[];
|
|
@@ -123,6 +128,7 @@ declare const TanStackRouterRspack: (options?: Partial<{
|
|
|
123
128
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
124
129
|
routeFilePrefix?: string | undefined;
|
|
125
130
|
routeFileIgnorePattern?: string | undefined;
|
|
131
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
126
132
|
autoCodeSplitting?: boolean | undefined;
|
|
127
133
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
128
134
|
customScaffolding?: {
|
package/dist/esm/vite.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
|
19
19
|
addExtensions: boolean;
|
|
20
20
|
disableLogging: boolean;
|
|
21
21
|
disableManifestGeneration: boolean;
|
|
22
|
+
enableRouteTreeFormatting: boolean;
|
|
22
23
|
apiBase: string;
|
|
23
24
|
routeTreeFileHeader: string[];
|
|
24
25
|
routeTreeFileFooter: string[];
|
|
@@ -29,6 +30,7 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
|
29
30
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
30
31
|
routeFilePrefix?: string | undefined;
|
|
31
32
|
routeFileIgnorePattern?: string | undefined;
|
|
33
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
32
34
|
autoCodeSplitting?: boolean | undefined;
|
|
33
35
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
34
36
|
customScaffolding?: {
|
|
@@ -60,6 +62,7 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
|
60
62
|
addExtensions: boolean;
|
|
61
63
|
disableLogging: boolean;
|
|
62
64
|
disableManifestGeneration: boolean;
|
|
65
|
+
enableRouteTreeFormatting: boolean;
|
|
63
66
|
apiBase: string;
|
|
64
67
|
routeTreeFileHeader: string[];
|
|
65
68
|
routeTreeFileFooter: string[];
|
|
@@ -70,6 +73,7 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
|
70
73
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
71
74
|
routeFilePrefix?: string | undefined;
|
|
72
75
|
routeFileIgnorePattern?: string | undefined;
|
|
76
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
73
77
|
autoCodeSplitting?: boolean | undefined;
|
|
74
78
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
75
79
|
customScaffolding?: {
|
|
@@ -101,6 +105,7 @@ declare const TanStackRouterVite: (options?: Partial<{
|
|
|
101
105
|
addExtensions: boolean;
|
|
102
106
|
disableLogging: boolean;
|
|
103
107
|
disableManifestGeneration: boolean;
|
|
108
|
+
enableRouteTreeFormatting: boolean;
|
|
104
109
|
apiBase: string;
|
|
105
110
|
routeTreeFileHeader: string[];
|
|
106
111
|
routeTreeFileFooter: string[];
|
|
@@ -111,6 +116,7 @@ declare const TanStackRouterVite: (options?: Partial<{
|
|
|
111
116
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
112
117
|
routeFilePrefix?: string | undefined;
|
|
113
118
|
routeFileIgnorePattern?: string | undefined;
|
|
119
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
114
120
|
autoCodeSplitting?: boolean | undefined;
|
|
115
121
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
116
122
|
customScaffolding?: {
|
package/dist/esm/webpack.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
|
19
19
|
addExtensions: boolean;
|
|
20
20
|
disableLogging: boolean;
|
|
21
21
|
disableManifestGeneration: boolean;
|
|
22
|
+
enableRouteTreeFormatting: boolean;
|
|
22
23
|
apiBase: string;
|
|
23
24
|
routeTreeFileHeader: string[];
|
|
24
25
|
routeTreeFileFooter: string[];
|
|
@@ -29,6 +30,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
|
29
30
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
30
31
|
routeFilePrefix?: string | undefined;
|
|
31
32
|
routeFileIgnorePattern?: string | undefined;
|
|
33
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
32
34
|
autoCodeSplitting?: boolean | undefined;
|
|
33
35
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
34
36
|
customScaffolding?: {
|
|
@@ -60,6 +62,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
|
60
62
|
addExtensions: boolean;
|
|
61
63
|
disableLogging: boolean;
|
|
62
64
|
disableManifestGeneration: boolean;
|
|
65
|
+
enableRouteTreeFormatting: boolean;
|
|
63
66
|
apiBase: string;
|
|
64
67
|
routeTreeFileHeader: string[];
|
|
65
68
|
routeTreeFileFooter: string[];
|
|
@@ -70,6 +73,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
|
70
73
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
71
74
|
routeFilePrefix?: string | undefined;
|
|
72
75
|
routeFileIgnorePattern?: string | undefined;
|
|
76
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
73
77
|
autoCodeSplitting?: boolean | undefined;
|
|
74
78
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
75
79
|
customScaffolding?: {
|
|
@@ -101,6 +105,7 @@ declare const TanStackRouterWebpack: (options?: Partial<{
|
|
|
101
105
|
addExtensions: boolean;
|
|
102
106
|
disableLogging: boolean;
|
|
103
107
|
disableManifestGeneration: boolean;
|
|
108
|
+
enableRouteTreeFormatting: boolean;
|
|
104
109
|
apiBase: string;
|
|
105
110
|
routeTreeFileHeader: string[];
|
|
106
111
|
routeTreeFileFooter: string[];
|
|
@@ -111,6 +116,7 @@ declare const TanStackRouterWebpack: (options?: Partial<{
|
|
|
111
116
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
112
117
|
routeFilePrefix?: string | undefined;
|
|
113
118
|
routeFileIgnorePattern?: string | undefined;
|
|
119
|
+
__enableAPIRoutesGeneration?: boolean | undefined;
|
|
114
120
|
autoCodeSplitting?: boolean | undefined;
|
|
115
121
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
116
122
|
customScaffolding?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/router-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.113.0",
|
|
4
4
|
"description": "Modern and scalable routing for React applications",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"zod": "^3.24.1",
|
|
103
103
|
"@tanstack/router-core": "^1.112.18",
|
|
104
104
|
"@tanstack/router-utils": "^1.112.18",
|
|
105
|
-
"@tanstack/router-generator": "^1.
|
|
105
|
+
"@tanstack/router-generator": "^1.113.0",
|
|
106
106
|
"@tanstack/virtual-file-routes": "^1.99.0"
|
|
107
107
|
},
|
|
108
108
|
"peerDependencies": {
|