@tanstack/router-plugin 1.99.13 → 1.99.14
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 +24 -14
- package/dist/cjs/esbuild.d.cts +18 -12
- package/dist/cjs/rspack.d.cts +18 -12
- package/dist/cjs/vite.d.cts +18 -12
- package/dist/cjs/webpack.d.cts +18 -12
- package/dist/esm/core/config.d.ts +24 -14
- package/dist/esm/esbuild.d.ts +18 -12
- package/dist/esm/rspack.d.ts +18 -12
- package/dist/esm/vite.d.ts +18 -12
- package/dist/esm/webpack.d.ts +18 -12
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
|
+
target: z.ZodDefault<z.ZodOptional<z.ZodEnum<["react"]>>>;
|
|
3
4
|
virtualRouteConfig: z.ZodOptional<z.ZodUnion<[z.ZodType<import('@tanstack/virtual-file-routes').VirtualRootRoute, z.ZodTypeDef, import('@tanstack/virtual-file-routes').VirtualRootRoute>, z.ZodString]>>;
|
|
4
5
|
routeFilePrefix: z.ZodOptional<z.ZodString>;
|
|
5
6
|
routeFileIgnorePrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -19,16 +20,19 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
19
20
|
indexToken: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20
21
|
routeToken: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
22
|
pathParamsAllowedCharacters: z.ZodOptional<z.ZodArray<z.ZodEnum<[";", ":", "@", "&", "=", "+", "$", ","]>, "many">>;
|
|
22
|
-
customScaffolding: z.
|
|
23
|
-
routeTemplate: z.
|
|
24
|
-
|
|
23
|
+
customScaffolding: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
routeTemplate: z.ZodOptional<z.ZodString>;
|
|
25
|
+
lazyRouteTemplate: z.ZodOptional<z.ZodString>;
|
|
26
|
+
apiTemplate: z.ZodOptional<z.ZodString>;
|
|
25
27
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
routeTemplate
|
|
27
|
-
|
|
28
|
+
routeTemplate?: string | undefined;
|
|
29
|
+
lazyRouteTemplate?: string | undefined;
|
|
30
|
+
apiTemplate?: string | undefined;
|
|
28
31
|
}, {
|
|
29
32
|
routeTemplate?: string | undefined;
|
|
33
|
+
lazyRouteTemplate?: string | undefined;
|
|
30
34
|
apiTemplate?: string | undefined;
|
|
31
|
-
}
|
|
35
|
+
}>>;
|
|
32
36
|
experimental: z.ZodOptional<z.ZodObject<{
|
|
33
37
|
enableCodeSplitting: z.ZodOptional<z.ZodBoolean>;
|
|
34
38
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -39,6 +43,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
39
43
|
}, {
|
|
40
44
|
enableRouteGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
41
45
|
}>, "strip", z.ZodTypeAny, {
|
|
46
|
+
target: "react";
|
|
42
47
|
routeFileIgnorePrefix: string;
|
|
43
48
|
routesDirectory: string;
|
|
44
49
|
generatedRouteTree: string;
|
|
@@ -53,21 +58,23 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
53
58
|
routeTreeFileFooter: string[];
|
|
54
59
|
indexToken: string;
|
|
55
60
|
routeToken: string;
|
|
56
|
-
customScaffolding: {
|
|
57
|
-
routeTemplate: string;
|
|
58
|
-
apiTemplate: string;
|
|
59
|
-
};
|
|
60
61
|
enableRouteGeneration?: boolean | undefined;
|
|
61
62
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
62
63
|
routeFilePrefix?: string | undefined;
|
|
63
64
|
routeFileIgnorePattern?: string | undefined;
|
|
64
65
|
autoCodeSplitting?: boolean | undefined;
|
|
65
66
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
67
|
+
customScaffolding?: {
|
|
68
|
+
routeTemplate?: string | undefined;
|
|
69
|
+
lazyRouteTemplate?: string | undefined;
|
|
70
|
+
apiTemplate?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
66
72
|
experimental?: {
|
|
67
73
|
enableCodeSplitting?: boolean | undefined;
|
|
68
74
|
} | undefined;
|
|
69
75
|
}, {
|
|
70
76
|
enableRouteGeneration?: boolean | undefined;
|
|
77
|
+
target?: "react" | undefined;
|
|
71
78
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
72
79
|
routeFilePrefix?: string | undefined;
|
|
73
80
|
routeFileIgnorePrefix?: string | undefined;
|
|
@@ -89,6 +96,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
89
96
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
90
97
|
customScaffolding?: {
|
|
91
98
|
routeTemplate?: string | undefined;
|
|
99
|
+
lazyRouteTemplate?: string | undefined;
|
|
92
100
|
apiTemplate?: string | undefined;
|
|
93
101
|
} | undefined;
|
|
94
102
|
experimental?: {
|
|
@@ -96,6 +104,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
96
104
|
} | undefined;
|
|
97
105
|
}>;
|
|
98
106
|
export declare const getConfig: (inlineConfig: Partial<Config>, root: string) => {
|
|
107
|
+
target: "react";
|
|
99
108
|
routeFileIgnorePrefix: string;
|
|
100
109
|
routesDirectory: string;
|
|
101
110
|
generatedRouteTree: string;
|
|
@@ -110,16 +119,17 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
|
|
|
110
119
|
routeTreeFileFooter: string[];
|
|
111
120
|
indexToken: string;
|
|
112
121
|
routeToken: string;
|
|
113
|
-
customScaffolding: {
|
|
114
|
-
routeTemplate: string;
|
|
115
|
-
apiTemplate: string;
|
|
116
|
-
};
|
|
117
122
|
enableRouteGeneration?: boolean | undefined;
|
|
118
123
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
119
124
|
routeFilePrefix?: string | undefined;
|
|
120
125
|
routeFileIgnorePattern?: string | undefined;
|
|
121
126
|
autoCodeSplitting?: boolean | undefined;
|
|
122
127
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
128
|
+
customScaffolding?: {
|
|
129
|
+
routeTemplate?: string | undefined;
|
|
130
|
+
lazyRouteTemplate?: string | undefined;
|
|
131
|
+
apiTemplate?: string | undefined;
|
|
132
|
+
} | undefined;
|
|
123
133
|
experimental?: {
|
|
124
134
|
enableCodeSplitting?: boolean | undefined;
|
|
125
135
|
} | undefined;
|
package/dist/cjs/esbuild.d.cts
CHANGED
|
@@ -9,6 +9,7 @@ import { configSchema, Config } from './core/config.cjs';
|
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
12
|
+
target: "react";
|
|
12
13
|
routeFileIgnorePrefix: string;
|
|
13
14
|
routesDirectory: string;
|
|
14
15
|
generatedRouteTree: string;
|
|
@@ -23,16 +24,17 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
|
23
24
|
routeTreeFileFooter: string[];
|
|
24
25
|
indexToken: string;
|
|
25
26
|
routeToken: string;
|
|
26
|
-
customScaffolding: {
|
|
27
|
-
routeTemplate: string;
|
|
28
|
-
apiTemplate: string;
|
|
29
|
-
};
|
|
30
27
|
enableRouteGeneration?: boolean | undefined;
|
|
31
28
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
32
29
|
routeFilePrefix?: string | undefined;
|
|
33
30
|
routeFileIgnorePattern?: string | undefined;
|
|
34
31
|
autoCodeSplitting?: boolean | undefined;
|
|
35
32
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
33
|
+
customScaffolding?: {
|
|
34
|
+
routeTemplate?: string | undefined;
|
|
35
|
+
lazyRouteTemplate?: string | undefined;
|
|
36
|
+
apiTemplate?: string | undefined;
|
|
37
|
+
} | undefined;
|
|
36
38
|
experimental?: {
|
|
37
39
|
enableCodeSplitting?: boolean | undefined;
|
|
38
40
|
} | undefined;
|
|
@@ -47,6 +49,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
|
47
49
|
* ```
|
|
48
50
|
*/
|
|
49
51
|
declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
52
|
+
target: "react";
|
|
50
53
|
routeFileIgnorePrefix: string;
|
|
51
54
|
routesDirectory: string;
|
|
52
55
|
generatedRouteTree: string;
|
|
@@ -61,16 +64,17 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
|
61
64
|
routeTreeFileFooter: string[];
|
|
62
65
|
indexToken: string;
|
|
63
66
|
routeToken: string;
|
|
64
|
-
customScaffolding: {
|
|
65
|
-
routeTemplate: string;
|
|
66
|
-
apiTemplate: string;
|
|
67
|
-
};
|
|
68
67
|
enableRouteGeneration?: boolean | undefined;
|
|
69
68
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
70
69
|
routeFilePrefix?: string | undefined;
|
|
71
70
|
routeFileIgnorePattern?: string | undefined;
|
|
72
71
|
autoCodeSplitting?: boolean | undefined;
|
|
73
72
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
73
|
+
customScaffolding?: {
|
|
74
|
+
routeTemplate?: string | undefined;
|
|
75
|
+
lazyRouteTemplate?: string | undefined;
|
|
76
|
+
apiTemplate?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
74
78
|
experimental?: {
|
|
75
79
|
enableCodeSplitting?: boolean | undefined;
|
|
76
80
|
} | undefined;
|
|
@@ -85,6 +89,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
|
85
89
|
* ```
|
|
86
90
|
*/
|
|
87
91
|
declare const TanStackRouterEsbuild: (options?: Partial<{
|
|
92
|
+
target: "react";
|
|
88
93
|
routeFileIgnorePrefix: string;
|
|
89
94
|
routesDirectory: string;
|
|
90
95
|
generatedRouteTree: string;
|
|
@@ -99,16 +104,17 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
|
|
|
99
104
|
routeTreeFileFooter: string[];
|
|
100
105
|
indexToken: string;
|
|
101
106
|
routeToken: string;
|
|
102
|
-
customScaffolding: {
|
|
103
|
-
routeTemplate: string;
|
|
104
|
-
apiTemplate: string;
|
|
105
|
-
};
|
|
106
107
|
enableRouteGeneration?: boolean | undefined;
|
|
107
108
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
108
109
|
routeFilePrefix?: string | undefined;
|
|
109
110
|
routeFileIgnorePattern?: string | undefined;
|
|
110
111
|
autoCodeSplitting?: boolean | undefined;
|
|
111
112
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
113
|
+
customScaffolding?: {
|
|
114
|
+
routeTemplate?: string | undefined;
|
|
115
|
+
lazyRouteTemplate?: string | undefined;
|
|
116
|
+
apiTemplate?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
112
118
|
experimental?: {
|
|
113
119
|
enableCodeSplitting?: boolean | undefined;
|
|
114
120
|
} | undefined;
|
package/dist/cjs/rspack.d.cts
CHANGED
|
@@ -13,6 +13,7 @@ import { configSchema, Config } from './core/config.cjs';
|
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
16
|
+
target: "react";
|
|
16
17
|
routeFileIgnorePrefix: string;
|
|
17
18
|
routesDirectory: string;
|
|
18
19
|
generatedRouteTree: string;
|
|
@@ -27,16 +28,17 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
|
27
28
|
routeTreeFileFooter: string[];
|
|
28
29
|
indexToken: string;
|
|
29
30
|
routeToken: string;
|
|
30
|
-
customScaffolding: {
|
|
31
|
-
routeTemplate: string;
|
|
32
|
-
apiTemplate: string;
|
|
33
|
-
};
|
|
34
31
|
enableRouteGeneration?: boolean | undefined;
|
|
35
32
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
36
33
|
routeFilePrefix?: string | undefined;
|
|
37
34
|
routeFileIgnorePattern?: string | undefined;
|
|
38
35
|
autoCodeSplitting?: boolean | undefined;
|
|
39
36
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
37
|
+
customScaffolding?: {
|
|
38
|
+
routeTemplate?: string | undefined;
|
|
39
|
+
lazyRouteTemplate?: string | undefined;
|
|
40
|
+
apiTemplate?: string | undefined;
|
|
41
|
+
} | undefined;
|
|
40
42
|
experimental?: {
|
|
41
43
|
enableCodeSplitting?: boolean | undefined;
|
|
42
44
|
} | undefined;
|
|
@@ -55,6 +57,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
|
55
57
|
* ```
|
|
56
58
|
*/
|
|
57
59
|
declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
60
|
+
target: "react";
|
|
58
61
|
routeFileIgnorePrefix: string;
|
|
59
62
|
routesDirectory: string;
|
|
60
63
|
generatedRouteTree: string;
|
|
@@ -69,16 +72,17 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
|
69
72
|
routeTreeFileFooter: string[];
|
|
70
73
|
indexToken: string;
|
|
71
74
|
routeToken: string;
|
|
72
|
-
customScaffolding: {
|
|
73
|
-
routeTemplate: string;
|
|
74
|
-
apiTemplate: string;
|
|
75
|
-
};
|
|
76
75
|
enableRouteGeneration?: boolean | undefined;
|
|
77
76
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
78
77
|
routeFilePrefix?: string | undefined;
|
|
79
78
|
routeFileIgnorePattern?: string | undefined;
|
|
80
79
|
autoCodeSplitting?: boolean | undefined;
|
|
81
80
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
81
|
+
customScaffolding?: {
|
|
82
|
+
routeTemplate?: string | undefined;
|
|
83
|
+
lazyRouteTemplate?: string | undefined;
|
|
84
|
+
apiTemplate?: string | undefined;
|
|
85
|
+
} | undefined;
|
|
82
86
|
experimental?: {
|
|
83
87
|
enableCodeSplitting?: boolean | undefined;
|
|
84
88
|
} | undefined;
|
|
@@ -97,6 +101,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
|
97
101
|
* ```
|
|
98
102
|
*/
|
|
99
103
|
declare const TanStackRouterRspack: (options?: Partial<{
|
|
104
|
+
target: "react";
|
|
100
105
|
routeFileIgnorePrefix: string;
|
|
101
106
|
routesDirectory: string;
|
|
102
107
|
generatedRouteTree: string;
|
|
@@ -111,16 +116,17 @@ declare const TanStackRouterRspack: (options?: Partial<{
|
|
|
111
116
|
routeTreeFileFooter: string[];
|
|
112
117
|
indexToken: string;
|
|
113
118
|
routeToken: string;
|
|
114
|
-
customScaffolding: {
|
|
115
|
-
routeTemplate: string;
|
|
116
|
-
apiTemplate: string;
|
|
117
|
-
};
|
|
118
119
|
enableRouteGeneration?: boolean | undefined;
|
|
119
120
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
120
121
|
routeFilePrefix?: string | undefined;
|
|
121
122
|
routeFileIgnorePattern?: string | undefined;
|
|
122
123
|
autoCodeSplitting?: boolean | undefined;
|
|
123
124
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
125
|
+
customScaffolding?: {
|
|
126
|
+
routeTemplate?: string | undefined;
|
|
127
|
+
lazyRouteTemplate?: string | undefined;
|
|
128
|
+
apiTemplate?: string | undefined;
|
|
129
|
+
} | undefined;
|
|
124
130
|
experimental?: {
|
|
125
131
|
enableCodeSplitting?: boolean | undefined;
|
|
126
132
|
} | undefined;
|
package/dist/cjs/vite.d.cts
CHANGED
|
@@ -9,6 +9,7 @@ import { configSchema, Config } from './core/config.cjs';
|
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
12
|
+
target: "react";
|
|
12
13
|
routeFileIgnorePrefix: string;
|
|
13
14
|
routesDirectory: string;
|
|
14
15
|
generatedRouteTree: string;
|
|
@@ -23,16 +24,17 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
|
23
24
|
routeTreeFileFooter: string[];
|
|
24
25
|
indexToken: string;
|
|
25
26
|
routeToken: string;
|
|
26
|
-
customScaffolding: {
|
|
27
|
-
routeTemplate: string;
|
|
28
|
-
apiTemplate: string;
|
|
29
|
-
};
|
|
30
27
|
enableRouteGeneration?: boolean | undefined;
|
|
31
28
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
32
29
|
routeFilePrefix?: string | undefined;
|
|
33
30
|
routeFileIgnorePattern?: string | undefined;
|
|
34
31
|
autoCodeSplitting?: boolean | undefined;
|
|
35
32
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
33
|
+
customScaffolding?: {
|
|
34
|
+
routeTemplate?: string | undefined;
|
|
35
|
+
lazyRouteTemplate?: string | undefined;
|
|
36
|
+
apiTemplate?: string | undefined;
|
|
37
|
+
} | undefined;
|
|
36
38
|
experimental?: {
|
|
37
39
|
enableCodeSplitting?: boolean | undefined;
|
|
38
40
|
} | undefined;
|
|
@@ -47,6 +49,7 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
|
47
49
|
* ```
|
|
48
50
|
*/
|
|
49
51
|
declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
52
|
+
target: "react";
|
|
50
53
|
routeFileIgnorePrefix: string;
|
|
51
54
|
routesDirectory: string;
|
|
52
55
|
generatedRouteTree: string;
|
|
@@ -61,16 +64,17 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
|
61
64
|
routeTreeFileFooter: string[];
|
|
62
65
|
indexToken: string;
|
|
63
66
|
routeToken: string;
|
|
64
|
-
customScaffolding: {
|
|
65
|
-
routeTemplate: string;
|
|
66
|
-
apiTemplate: string;
|
|
67
|
-
};
|
|
68
67
|
enableRouteGeneration?: boolean | undefined;
|
|
69
68
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
70
69
|
routeFilePrefix?: string | undefined;
|
|
71
70
|
routeFileIgnorePattern?: string | undefined;
|
|
72
71
|
autoCodeSplitting?: boolean | undefined;
|
|
73
72
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
73
|
+
customScaffolding?: {
|
|
74
|
+
routeTemplate?: string | undefined;
|
|
75
|
+
lazyRouteTemplate?: string | undefined;
|
|
76
|
+
apiTemplate?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
74
78
|
experimental?: {
|
|
75
79
|
enableCodeSplitting?: boolean | undefined;
|
|
76
80
|
} | undefined;
|
|
@@ -85,6 +89,7 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
|
85
89
|
* ```
|
|
86
90
|
*/
|
|
87
91
|
declare const TanStackRouterVite: (options?: Partial<{
|
|
92
|
+
target: "react";
|
|
88
93
|
routeFileIgnorePrefix: string;
|
|
89
94
|
routesDirectory: string;
|
|
90
95
|
generatedRouteTree: string;
|
|
@@ -99,16 +104,17 @@ declare const TanStackRouterVite: (options?: Partial<{
|
|
|
99
104
|
routeTreeFileFooter: string[];
|
|
100
105
|
indexToken: string;
|
|
101
106
|
routeToken: string;
|
|
102
|
-
customScaffolding: {
|
|
103
|
-
routeTemplate: string;
|
|
104
|
-
apiTemplate: string;
|
|
105
|
-
};
|
|
106
107
|
enableRouteGeneration?: boolean | undefined;
|
|
107
108
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
108
109
|
routeFilePrefix?: string | undefined;
|
|
109
110
|
routeFileIgnorePattern?: string | undefined;
|
|
110
111
|
autoCodeSplitting?: boolean | undefined;
|
|
111
112
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
113
|
+
customScaffolding?: {
|
|
114
|
+
routeTemplate?: string | undefined;
|
|
115
|
+
lazyRouteTemplate?: string | undefined;
|
|
116
|
+
apiTemplate?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
112
118
|
experimental?: {
|
|
113
119
|
enableCodeSplitting?: boolean | undefined;
|
|
114
120
|
} | undefined;
|
package/dist/cjs/webpack.d.cts
CHANGED
|
@@ -9,6 +9,7 @@ import { configSchema, Config } from './core/config.cjs';
|
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
12
|
+
target: "react";
|
|
12
13
|
routeFileIgnorePrefix: string;
|
|
13
14
|
routesDirectory: string;
|
|
14
15
|
generatedRouteTree: string;
|
|
@@ -23,16 +24,17 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
|
23
24
|
routeTreeFileFooter: string[];
|
|
24
25
|
indexToken: string;
|
|
25
26
|
routeToken: string;
|
|
26
|
-
customScaffolding: {
|
|
27
|
-
routeTemplate: string;
|
|
28
|
-
apiTemplate: string;
|
|
29
|
-
};
|
|
30
27
|
enableRouteGeneration?: boolean | undefined;
|
|
31
28
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
32
29
|
routeFilePrefix?: string | undefined;
|
|
33
30
|
routeFileIgnorePattern?: string | undefined;
|
|
34
31
|
autoCodeSplitting?: boolean | undefined;
|
|
35
32
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
33
|
+
customScaffolding?: {
|
|
34
|
+
routeTemplate?: string | undefined;
|
|
35
|
+
lazyRouteTemplate?: string | undefined;
|
|
36
|
+
apiTemplate?: string | undefined;
|
|
37
|
+
} | undefined;
|
|
36
38
|
experimental?: {
|
|
37
39
|
enableCodeSplitting?: boolean | undefined;
|
|
38
40
|
} | undefined;
|
|
@@ -47,6 +49,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
|
47
49
|
* ```
|
|
48
50
|
*/
|
|
49
51
|
declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
52
|
+
target: "react";
|
|
50
53
|
routeFileIgnorePrefix: string;
|
|
51
54
|
routesDirectory: string;
|
|
52
55
|
generatedRouteTree: string;
|
|
@@ -61,16 +64,17 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
|
61
64
|
routeTreeFileFooter: string[];
|
|
62
65
|
indexToken: string;
|
|
63
66
|
routeToken: string;
|
|
64
|
-
customScaffolding: {
|
|
65
|
-
routeTemplate: string;
|
|
66
|
-
apiTemplate: string;
|
|
67
|
-
};
|
|
68
67
|
enableRouteGeneration?: boolean | undefined;
|
|
69
68
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
70
69
|
routeFilePrefix?: string | undefined;
|
|
71
70
|
routeFileIgnorePattern?: string | undefined;
|
|
72
71
|
autoCodeSplitting?: boolean | undefined;
|
|
73
72
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
73
|
+
customScaffolding?: {
|
|
74
|
+
routeTemplate?: string | undefined;
|
|
75
|
+
lazyRouteTemplate?: string | undefined;
|
|
76
|
+
apiTemplate?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
74
78
|
experimental?: {
|
|
75
79
|
enableCodeSplitting?: boolean | undefined;
|
|
76
80
|
} | undefined;
|
|
@@ -85,6 +89,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
|
85
89
|
* ```
|
|
86
90
|
*/
|
|
87
91
|
declare const TanStackRouterWebpack: (options?: Partial<{
|
|
92
|
+
target: "react";
|
|
88
93
|
routeFileIgnorePrefix: string;
|
|
89
94
|
routesDirectory: string;
|
|
90
95
|
generatedRouteTree: string;
|
|
@@ -99,16 +104,17 @@ declare const TanStackRouterWebpack: (options?: Partial<{
|
|
|
99
104
|
routeTreeFileFooter: string[];
|
|
100
105
|
indexToken: string;
|
|
101
106
|
routeToken: string;
|
|
102
|
-
customScaffolding: {
|
|
103
|
-
routeTemplate: string;
|
|
104
|
-
apiTemplate: string;
|
|
105
|
-
};
|
|
106
107
|
enableRouteGeneration?: boolean | undefined;
|
|
107
108
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
108
109
|
routeFilePrefix?: string | undefined;
|
|
109
110
|
routeFileIgnorePattern?: string | undefined;
|
|
110
111
|
autoCodeSplitting?: boolean | undefined;
|
|
111
112
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
113
|
+
customScaffolding?: {
|
|
114
|
+
routeTemplate?: string | undefined;
|
|
115
|
+
lazyRouteTemplate?: string | undefined;
|
|
116
|
+
apiTemplate?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
112
118
|
experimental?: {
|
|
113
119
|
enableCodeSplitting?: boolean | undefined;
|
|
114
120
|
} | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
|
+
target: z.ZodDefault<z.ZodOptional<z.ZodEnum<["react"]>>>;
|
|
3
4
|
virtualRouteConfig: z.ZodOptional<z.ZodUnion<[z.ZodType<import('@tanstack/virtual-file-routes').VirtualRootRoute, z.ZodTypeDef, import('@tanstack/virtual-file-routes').VirtualRootRoute>, z.ZodString]>>;
|
|
4
5
|
routeFilePrefix: z.ZodOptional<z.ZodString>;
|
|
5
6
|
routeFileIgnorePrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -19,16 +20,19 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
19
20
|
indexToken: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20
21
|
routeToken: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
22
|
pathParamsAllowedCharacters: z.ZodOptional<z.ZodArray<z.ZodEnum<[";", ":", "@", "&", "=", "+", "$", ","]>, "many">>;
|
|
22
|
-
customScaffolding: z.
|
|
23
|
-
routeTemplate: z.
|
|
24
|
-
|
|
23
|
+
customScaffolding: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
routeTemplate: z.ZodOptional<z.ZodString>;
|
|
25
|
+
lazyRouteTemplate: z.ZodOptional<z.ZodString>;
|
|
26
|
+
apiTemplate: z.ZodOptional<z.ZodString>;
|
|
25
27
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
routeTemplate
|
|
27
|
-
|
|
28
|
+
routeTemplate?: string | undefined;
|
|
29
|
+
lazyRouteTemplate?: string | undefined;
|
|
30
|
+
apiTemplate?: string | undefined;
|
|
28
31
|
}, {
|
|
29
32
|
routeTemplate?: string | undefined;
|
|
33
|
+
lazyRouteTemplate?: string | undefined;
|
|
30
34
|
apiTemplate?: string | undefined;
|
|
31
|
-
}
|
|
35
|
+
}>>;
|
|
32
36
|
experimental: z.ZodOptional<z.ZodObject<{
|
|
33
37
|
enableCodeSplitting: z.ZodOptional<z.ZodBoolean>;
|
|
34
38
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -39,6 +43,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
39
43
|
}, {
|
|
40
44
|
enableRouteGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
41
45
|
}>, "strip", z.ZodTypeAny, {
|
|
46
|
+
target: "react";
|
|
42
47
|
routeFileIgnorePrefix: string;
|
|
43
48
|
routesDirectory: string;
|
|
44
49
|
generatedRouteTree: string;
|
|
@@ -53,21 +58,23 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
53
58
|
routeTreeFileFooter: string[];
|
|
54
59
|
indexToken: string;
|
|
55
60
|
routeToken: string;
|
|
56
|
-
customScaffolding: {
|
|
57
|
-
routeTemplate: string;
|
|
58
|
-
apiTemplate: string;
|
|
59
|
-
};
|
|
60
61
|
enableRouteGeneration?: boolean | undefined;
|
|
61
62
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
62
63
|
routeFilePrefix?: string | undefined;
|
|
63
64
|
routeFileIgnorePattern?: string | undefined;
|
|
64
65
|
autoCodeSplitting?: boolean | undefined;
|
|
65
66
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
67
|
+
customScaffolding?: {
|
|
68
|
+
routeTemplate?: string | undefined;
|
|
69
|
+
lazyRouteTemplate?: string | undefined;
|
|
70
|
+
apiTemplate?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
66
72
|
experimental?: {
|
|
67
73
|
enableCodeSplitting?: boolean | undefined;
|
|
68
74
|
} | undefined;
|
|
69
75
|
}, {
|
|
70
76
|
enableRouteGeneration?: boolean | undefined;
|
|
77
|
+
target?: "react" | undefined;
|
|
71
78
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
72
79
|
routeFilePrefix?: string | undefined;
|
|
73
80
|
routeFileIgnorePrefix?: string | undefined;
|
|
@@ -89,6 +96,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
89
96
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
90
97
|
customScaffolding?: {
|
|
91
98
|
routeTemplate?: string | undefined;
|
|
99
|
+
lazyRouteTemplate?: string | undefined;
|
|
92
100
|
apiTemplate?: string | undefined;
|
|
93
101
|
} | undefined;
|
|
94
102
|
experimental?: {
|
|
@@ -96,6 +104,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
96
104
|
} | undefined;
|
|
97
105
|
}>;
|
|
98
106
|
export declare const getConfig: (inlineConfig: Partial<Config>, root: string) => {
|
|
107
|
+
target: "react";
|
|
99
108
|
routeFileIgnorePrefix: string;
|
|
100
109
|
routesDirectory: string;
|
|
101
110
|
generatedRouteTree: string;
|
|
@@ -110,16 +119,17 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
|
|
|
110
119
|
routeTreeFileFooter: string[];
|
|
111
120
|
indexToken: string;
|
|
112
121
|
routeToken: string;
|
|
113
|
-
customScaffolding: {
|
|
114
|
-
routeTemplate: string;
|
|
115
|
-
apiTemplate: string;
|
|
116
|
-
};
|
|
117
122
|
enableRouteGeneration?: boolean | undefined;
|
|
118
123
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
119
124
|
routeFilePrefix?: string | undefined;
|
|
120
125
|
routeFileIgnorePattern?: string | undefined;
|
|
121
126
|
autoCodeSplitting?: boolean | undefined;
|
|
122
127
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
128
|
+
customScaffolding?: {
|
|
129
|
+
routeTemplate?: string | undefined;
|
|
130
|
+
lazyRouteTemplate?: string | undefined;
|
|
131
|
+
apiTemplate?: string | undefined;
|
|
132
|
+
} | undefined;
|
|
123
133
|
experimental?: {
|
|
124
134
|
enableCodeSplitting?: boolean | undefined;
|
|
125
135
|
} | undefined;
|
package/dist/esm/esbuild.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { configSchema, Config } from './core/config.js';
|
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
12
|
+
target: "react";
|
|
12
13
|
routeFileIgnorePrefix: string;
|
|
13
14
|
routesDirectory: string;
|
|
14
15
|
generatedRouteTree: string;
|
|
@@ -23,16 +24,17 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
|
23
24
|
routeTreeFileFooter: string[];
|
|
24
25
|
indexToken: string;
|
|
25
26
|
routeToken: string;
|
|
26
|
-
customScaffolding: {
|
|
27
|
-
routeTemplate: string;
|
|
28
|
-
apiTemplate: string;
|
|
29
|
-
};
|
|
30
27
|
enableRouteGeneration?: boolean | undefined;
|
|
31
28
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
32
29
|
routeFilePrefix?: string | undefined;
|
|
33
30
|
routeFileIgnorePattern?: string | undefined;
|
|
34
31
|
autoCodeSplitting?: boolean | undefined;
|
|
35
32
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
33
|
+
customScaffolding?: {
|
|
34
|
+
routeTemplate?: string | undefined;
|
|
35
|
+
lazyRouteTemplate?: string | undefined;
|
|
36
|
+
apiTemplate?: string | undefined;
|
|
37
|
+
} | undefined;
|
|
36
38
|
experimental?: {
|
|
37
39
|
enableCodeSplitting?: boolean | undefined;
|
|
38
40
|
} | undefined;
|
|
@@ -47,6 +49,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
|
47
49
|
* ```
|
|
48
50
|
*/
|
|
49
51
|
declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
52
|
+
target: "react";
|
|
50
53
|
routeFileIgnorePrefix: string;
|
|
51
54
|
routesDirectory: string;
|
|
52
55
|
generatedRouteTree: string;
|
|
@@ -61,16 +64,17 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
|
61
64
|
routeTreeFileFooter: string[];
|
|
62
65
|
indexToken: string;
|
|
63
66
|
routeToken: string;
|
|
64
|
-
customScaffolding: {
|
|
65
|
-
routeTemplate: string;
|
|
66
|
-
apiTemplate: string;
|
|
67
|
-
};
|
|
68
67
|
enableRouteGeneration?: boolean | undefined;
|
|
69
68
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
70
69
|
routeFilePrefix?: string | undefined;
|
|
71
70
|
routeFileIgnorePattern?: string | undefined;
|
|
72
71
|
autoCodeSplitting?: boolean | undefined;
|
|
73
72
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
73
|
+
customScaffolding?: {
|
|
74
|
+
routeTemplate?: string | undefined;
|
|
75
|
+
lazyRouteTemplate?: string | undefined;
|
|
76
|
+
apiTemplate?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
74
78
|
experimental?: {
|
|
75
79
|
enableCodeSplitting?: boolean | undefined;
|
|
76
80
|
} | undefined;
|
|
@@ -85,6 +89,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
|
85
89
|
* ```
|
|
86
90
|
*/
|
|
87
91
|
declare const TanStackRouterEsbuild: (options?: Partial<{
|
|
92
|
+
target: "react";
|
|
88
93
|
routeFileIgnorePrefix: string;
|
|
89
94
|
routesDirectory: string;
|
|
90
95
|
generatedRouteTree: string;
|
|
@@ -99,16 +104,17 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
|
|
|
99
104
|
routeTreeFileFooter: string[];
|
|
100
105
|
indexToken: string;
|
|
101
106
|
routeToken: string;
|
|
102
|
-
customScaffolding: {
|
|
103
|
-
routeTemplate: string;
|
|
104
|
-
apiTemplate: string;
|
|
105
|
-
};
|
|
106
107
|
enableRouteGeneration?: boolean | undefined;
|
|
107
108
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
108
109
|
routeFilePrefix?: string | undefined;
|
|
109
110
|
routeFileIgnorePattern?: string | undefined;
|
|
110
111
|
autoCodeSplitting?: boolean | undefined;
|
|
111
112
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
113
|
+
customScaffolding?: {
|
|
114
|
+
routeTemplate?: string | undefined;
|
|
115
|
+
lazyRouteTemplate?: string | undefined;
|
|
116
|
+
apiTemplate?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
112
118
|
experimental?: {
|
|
113
119
|
enableCodeSplitting?: boolean | undefined;
|
|
114
120
|
} | undefined;
|
package/dist/esm/rspack.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { configSchema, Config } from './core/config.js';
|
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
16
|
+
target: "react";
|
|
16
17
|
routeFileIgnorePrefix: string;
|
|
17
18
|
routesDirectory: string;
|
|
18
19
|
generatedRouteTree: string;
|
|
@@ -27,16 +28,17 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
|
27
28
|
routeTreeFileFooter: string[];
|
|
28
29
|
indexToken: string;
|
|
29
30
|
routeToken: string;
|
|
30
|
-
customScaffolding: {
|
|
31
|
-
routeTemplate: string;
|
|
32
|
-
apiTemplate: string;
|
|
33
|
-
};
|
|
34
31
|
enableRouteGeneration?: boolean | undefined;
|
|
35
32
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
36
33
|
routeFilePrefix?: string | undefined;
|
|
37
34
|
routeFileIgnorePattern?: string | undefined;
|
|
38
35
|
autoCodeSplitting?: boolean | undefined;
|
|
39
36
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
37
|
+
customScaffolding?: {
|
|
38
|
+
routeTemplate?: string | undefined;
|
|
39
|
+
lazyRouteTemplate?: string | undefined;
|
|
40
|
+
apiTemplate?: string | undefined;
|
|
41
|
+
} | undefined;
|
|
40
42
|
experimental?: {
|
|
41
43
|
enableCodeSplitting?: boolean | undefined;
|
|
42
44
|
} | undefined;
|
|
@@ -55,6 +57,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
|
55
57
|
* ```
|
|
56
58
|
*/
|
|
57
59
|
declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
60
|
+
target: "react";
|
|
58
61
|
routeFileIgnorePrefix: string;
|
|
59
62
|
routesDirectory: string;
|
|
60
63
|
generatedRouteTree: string;
|
|
@@ -69,16 +72,17 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
|
69
72
|
routeTreeFileFooter: string[];
|
|
70
73
|
indexToken: string;
|
|
71
74
|
routeToken: string;
|
|
72
|
-
customScaffolding: {
|
|
73
|
-
routeTemplate: string;
|
|
74
|
-
apiTemplate: string;
|
|
75
|
-
};
|
|
76
75
|
enableRouteGeneration?: boolean | undefined;
|
|
77
76
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
78
77
|
routeFilePrefix?: string | undefined;
|
|
79
78
|
routeFileIgnorePattern?: string | undefined;
|
|
80
79
|
autoCodeSplitting?: boolean | undefined;
|
|
81
80
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
81
|
+
customScaffolding?: {
|
|
82
|
+
routeTemplate?: string | undefined;
|
|
83
|
+
lazyRouteTemplate?: string | undefined;
|
|
84
|
+
apiTemplate?: string | undefined;
|
|
85
|
+
} | undefined;
|
|
82
86
|
experimental?: {
|
|
83
87
|
enableCodeSplitting?: boolean | undefined;
|
|
84
88
|
} | undefined;
|
|
@@ -97,6 +101,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
|
97
101
|
* ```
|
|
98
102
|
*/
|
|
99
103
|
declare const TanStackRouterRspack: (options?: Partial<{
|
|
104
|
+
target: "react";
|
|
100
105
|
routeFileIgnorePrefix: string;
|
|
101
106
|
routesDirectory: string;
|
|
102
107
|
generatedRouteTree: string;
|
|
@@ -111,16 +116,17 @@ declare const TanStackRouterRspack: (options?: Partial<{
|
|
|
111
116
|
routeTreeFileFooter: string[];
|
|
112
117
|
indexToken: string;
|
|
113
118
|
routeToken: string;
|
|
114
|
-
customScaffolding: {
|
|
115
|
-
routeTemplate: string;
|
|
116
|
-
apiTemplate: string;
|
|
117
|
-
};
|
|
118
119
|
enableRouteGeneration?: boolean | undefined;
|
|
119
120
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
120
121
|
routeFilePrefix?: string | undefined;
|
|
121
122
|
routeFileIgnorePattern?: string | undefined;
|
|
122
123
|
autoCodeSplitting?: boolean | undefined;
|
|
123
124
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
125
|
+
customScaffolding?: {
|
|
126
|
+
routeTemplate?: string | undefined;
|
|
127
|
+
lazyRouteTemplate?: string | undefined;
|
|
128
|
+
apiTemplate?: string | undefined;
|
|
129
|
+
} | undefined;
|
|
124
130
|
experimental?: {
|
|
125
131
|
enableCodeSplitting?: boolean | undefined;
|
|
126
132
|
} | undefined;
|
package/dist/esm/vite.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { configSchema, Config } from './core/config.js';
|
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
12
|
+
target: "react";
|
|
12
13
|
routeFileIgnorePrefix: string;
|
|
13
14
|
routesDirectory: string;
|
|
14
15
|
generatedRouteTree: string;
|
|
@@ -23,16 +24,17 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
|
23
24
|
routeTreeFileFooter: string[];
|
|
24
25
|
indexToken: string;
|
|
25
26
|
routeToken: string;
|
|
26
|
-
customScaffolding: {
|
|
27
|
-
routeTemplate: string;
|
|
28
|
-
apiTemplate: string;
|
|
29
|
-
};
|
|
30
27
|
enableRouteGeneration?: boolean | undefined;
|
|
31
28
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
32
29
|
routeFilePrefix?: string | undefined;
|
|
33
30
|
routeFileIgnorePattern?: string | undefined;
|
|
34
31
|
autoCodeSplitting?: boolean | undefined;
|
|
35
32
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
33
|
+
customScaffolding?: {
|
|
34
|
+
routeTemplate?: string | undefined;
|
|
35
|
+
lazyRouteTemplate?: string | undefined;
|
|
36
|
+
apiTemplate?: string | undefined;
|
|
37
|
+
} | undefined;
|
|
36
38
|
experimental?: {
|
|
37
39
|
enableCodeSplitting?: boolean | undefined;
|
|
38
40
|
} | undefined;
|
|
@@ -47,6 +49,7 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
|
47
49
|
* ```
|
|
48
50
|
*/
|
|
49
51
|
declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
52
|
+
target: "react";
|
|
50
53
|
routeFileIgnorePrefix: string;
|
|
51
54
|
routesDirectory: string;
|
|
52
55
|
generatedRouteTree: string;
|
|
@@ -61,16 +64,17 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
|
61
64
|
routeTreeFileFooter: string[];
|
|
62
65
|
indexToken: string;
|
|
63
66
|
routeToken: string;
|
|
64
|
-
customScaffolding: {
|
|
65
|
-
routeTemplate: string;
|
|
66
|
-
apiTemplate: string;
|
|
67
|
-
};
|
|
68
67
|
enableRouteGeneration?: boolean | undefined;
|
|
69
68
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
70
69
|
routeFilePrefix?: string | undefined;
|
|
71
70
|
routeFileIgnorePattern?: string | undefined;
|
|
72
71
|
autoCodeSplitting?: boolean | undefined;
|
|
73
72
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
73
|
+
customScaffolding?: {
|
|
74
|
+
routeTemplate?: string | undefined;
|
|
75
|
+
lazyRouteTemplate?: string | undefined;
|
|
76
|
+
apiTemplate?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
74
78
|
experimental?: {
|
|
75
79
|
enableCodeSplitting?: boolean | undefined;
|
|
76
80
|
} | undefined;
|
|
@@ -85,6 +89,7 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
|
85
89
|
* ```
|
|
86
90
|
*/
|
|
87
91
|
declare const TanStackRouterVite: (options?: Partial<{
|
|
92
|
+
target: "react";
|
|
88
93
|
routeFileIgnorePrefix: string;
|
|
89
94
|
routesDirectory: string;
|
|
90
95
|
generatedRouteTree: string;
|
|
@@ -99,16 +104,17 @@ declare const TanStackRouterVite: (options?: Partial<{
|
|
|
99
104
|
routeTreeFileFooter: string[];
|
|
100
105
|
indexToken: string;
|
|
101
106
|
routeToken: string;
|
|
102
|
-
customScaffolding: {
|
|
103
|
-
routeTemplate: string;
|
|
104
|
-
apiTemplate: string;
|
|
105
|
-
};
|
|
106
107
|
enableRouteGeneration?: boolean | undefined;
|
|
107
108
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
108
109
|
routeFilePrefix?: string | undefined;
|
|
109
110
|
routeFileIgnorePattern?: string | undefined;
|
|
110
111
|
autoCodeSplitting?: boolean | undefined;
|
|
111
112
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
113
|
+
customScaffolding?: {
|
|
114
|
+
routeTemplate?: string | undefined;
|
|
115
|
+
lazyRouteTemplate?: string | undefined;
|
|
116
|
+
apiTemplate?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
112
118
|
experimental?: {
|
|
113
119
|
enableCodeSplitting?: boolean | undefined;
|
|
114
120
|
} | undefined;
|
package/dist/esm/webpack.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { configSchema, Config } from './core/config.js';
|
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
12
|
+
target: "react";
|
|
12
13
|
routeFileIgnorePrefix: string;
|
|
13
14
|
routesDirectory: string;
|
|
14
15
|
generatedRouteTree: string;
|
|
@@ -23,16 +24,17 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
|
23
24
|
routeTreeFileFooter: string[];
|
|
24
25
|
indexToken: string;
|
|
25
26
|
routeToken: string;
|
|
26
|
-
customScaffolding: {
|
|
27
|
-
routeTemplate: string;
|
|
28
|
-
apiTemplate: string;
|
|
29
|
-
};
|
|
30
27
|
enableRouteGeneration?: boolean | undefined;
|
|
31
28
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
32
29
|
routeFilePrefix?: string | undefined;
|
|
33
30
|
routeFileIgnorePattern?: string | undefined;
|
|
34
31
|
autoCodeSplitting?: boolean | undefined;
|
|
35
32
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
33
|
+
customScaffolding?: {
|
|
34
|
+
routeTemplate?: string | undefined;
|
|
35
|
+
lazyRouteTemplate?: string | undefined;
|
|
36
|
+
apiTemplate?: string | undefined;
|
|
37
|
+
} | undefined;
|
|
36
38
|
experimental?: {
|
|
37
39
|
enableCodeSplitting?: boolean | undefined;
|
|
38
40
|
} | undefined;
|
|
@@ -47,6 +49,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
|
47
49
|
* ```
|
|
48
50
|
*/
|
|
49
51
|
declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
52
|
+
target: "react";
|
|
50
53
|
routeFileIgnorePrefix: string;
|
|
51
54
|
routesDirectory: string;
|
|
52
55
|
generatedRouteTree: string;
|
|
@@ -61,16 +64,17 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
|
61
64
|
routeTreeFileFooter: string[];
|
|
62
65
|
indexToken: string;
|
|
63
66
|
routeToken: string;
|
|
64
|
-
customScaffolding: {
|
|
65
|
-
routeTemplate: string;
|
|
66
|
-
apiTemplate: string;
|
|
67
|
-
};
|
|
68
67
|
enableRouteGeneration?: boolean | undefined;
|
|
69
68
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
70
69
|
routeFilePrefix?: string | undefined;
|
|
71
70
|
routeFileIgnorePattern?: string | undefined;
|
|
72
71
|
autoCodeSplitting?: boolean | undefined;
|
|
73
72
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
73
|
+
customScaffolding?: {
|
|
74
|
+
routeTemplate?: string | undefined;
|
|
75
|
+
lazyRouteTemplate?: string | undefined;
|
|
76
|
+
apiTemplate?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
74
78
|
experimental?: {
|
|
75
79
|
enableCodeSplitting?: boolean | undefined;
|
|
76
80
|
} | undefined;
|
|
@@ -85,6 +89,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
|
85
89
|
* ```
|
|
86
90
|
*/
|
|
87
91
|
declare const TanStackRouterWebpack: (options?: Partial<{
|
|
92
|
+
target: "react";
|
|
88
93
|
routeFileIgnorePrefix: string;
|
|
89
94
|
routesDirectory: string;
|
|
90
95
|
generatedRouteTree: string;
|
|
@@ -99,16 +104,17 @@ declare const TanStackRouterWebpack: (options?: Partial<{
|
|
|
99
104
|
routeTreeFileFooter: string[];
|
|
100
105
|
indexToken: string;
|
|
101
106
|
routeToken: string;
|
|
102
|
-
customScaffolding: {
|
|
103
|
-
routeTemplate: string;
|
|
104
|
-
apiTemplate: string;
|
|
105
|
-
};
|
|
106
107
|
enableRouteGeneration?: boolean | undefined;
|
|
107
108
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
108
109
|
routeFilePrefix?: string | undefined;
|
|
109
110
|
routeFileIgnorePattern?: string | undefined;
|
|
110
111
|
autoCodeSplitting?: boolean | undefined;
|
|
111
112
|
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
113
|
+
customScaffolding?: {
|
|
114
|
+
routeTemplate?: string | undefined;
|
|
115
|
+
lazyRouteTemplate?: string | undefined;
|
|
116
|
+
apiTemplate?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
112
118
|
experimental?: {
|
|
113
119
|
enableCodeSplitting?: boolean | undefined;
|
|
114
120
|
} | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/router-plugin",
|
|
3
|
-
"version": "1.99.
|
|
3
|
+
"version": "1.99.14",
|
|
4
4
|
"description": "Modern and scalable routing for React applications",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"chokidar": "^3.6.0",
|
|
101
101
|
"unplugin": "^2.1.2",
|
|
102
102
|
"zod": "^3.24.1",
|
|
103
|
-
"@tanstack/router-generator": "^1.99.
|
|
103
|
+
"@tanstack/router-generator": "^1.99.14",
|
|
104
104
|
"@tanstack/router-utils": "^1.99.5",
|
|
105
105
|
"@tanstack/virtual-file-routes": "^1.99.0"
|
|
106
106
|
},
|