@tanstack/router-plugin 1.78.3 → 1.79.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 +4 -0
- package/dist/cjs/esbuild.d.cts +3 -0
- package/dist/cjs/rspack.d.cts +3 -0
- package/dist/cjs/vite.d.cts +3 -0
- package/dist/cjs/webpack.d.cts +3 -0
- package/dist/esm/core/config.d.ts +4 -0
- package/dist/esm/esbuild.d.ts +3 -0
- package/dist/esm/rspack.d.ts +3 -0
- package/dist/esm/vite.d.ts +3 -0
- package/dist/esm/webpack.d.ts +3 -0
- package/package.json +4 -4
|
@@ -18,6 +18,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
18
18
|
autoCodeSplitting: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
indexToken: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20
20
|
routeToken: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
pathParamsAllowedCharacters: z.ZodOptional<z.ZodArray<z.ZodEnum<[";", ":", "@", "&", "=", "+", "$", ","]>, "many">>;
|
|
21
22
|
customScaffolding: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
22
23
|
routeTemplate: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23
24
|
apiTemplate: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -61,6 +62,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
61
62
|
routeFilePrefix?: string | undefined;
|
|
62
63
|
routeFileIgnorePattern?: string | undefined;
|
|
63
64
|
autoCodeSplitting?: boolean | undefined;
|
|
65
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
64
66
|
experimental?: {
|
|
65
67
|
enableCodeSplitting?: boolean | undefined;
|
|
66
68
|
} | undefined;
|
|
@@ -84,6 +86,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
84
86
|
autoCodeSplitting?: boolean | undefined;
|
|
85
87
|
indexToken?: string | undefined;
|
|
86
88
|
routeToken?: string | undefined;
|
|
89
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
87
90
|
customScaffolding?: {
|
|
88
91
|
routeTemplate?: string | undefined;
|
|
89
92
|
apiTemplate?: string | undefined;
|
|
@@ -116,6 +119,7 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
|
|
|
116
119
|
routeFilePrefix?: string | undefined;
|
|
117
120
|
routeFileIgnorePattern?: string | undefined;
|
|
118
121
|
autoCodeSplitting?: boolean | undefined;
|
|
122
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
119
123
|
experimental?: {
|
|
120
124
|
enableCodeSplitting?: boolean | undefined;
|
|
121
125
|
} | undefined;
|
package/dist/cjs/esbuild.d.cts
CHANGED
|
@@ -32,6 +32,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
|
32
32
|
routeFilePrefix?: string | undefined;
|
|
33
33
|
routeFileIgnorePattern?: string | undefined;
|
|
34
34
|
autoCodeSplitting?: boolean | undefined;
|
|
35
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
35
36
|
experimental?: {
|
|
36
37
|
enableCodeSplitting?: boolean | undefined;
|
|
37
38
|
} | undefined;
|
|
@@ -69,6 +70,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
|
69
70
|
routeFilePrefix?: string | undefined;
|
|
70
71
|
routeFileIgnorePattern?: string | undefined;
|
|
71
72
|
autoCodeSplitting?: boolean | undefined;
|
|
73
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
72
74
|
experimental?: {
|
|
73
75
|
enableCodeSplitting?: boolean | undefined;
|
|
74
76
|
} | undefined;
|
|
@@ -106,6 +108,7 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
|
|
|
106
108
|
routeFilePrefix?: string | undefined;
|
|
107
109
|
routeFileIgnorePattern?: string | undefined;
|
|
108
110
|
autoCodeSplitting?: boolean | undefined;
|
|
111
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
109
112
|
experimental?: {
|
|
110
113
|
enableCodeSplitting?: boolean | undefined;
|
|
111
114
|
} | undefined;
|
package/dist/cjs/rspack.d.cts
CHANGED
|
@@ -36,6 +36,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
|
36
36
|
routeFilePrefix?: string | undefined;
|
|
37
37
|
routeFileIgnorePattern?: string | undefined;
|
|
38
38
|
autoCodeSplitting?: boolean | undefined;
|
|
39
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
39
40
|
experimental?: {
|
|
40
41
|
enableCodeSplitting?: boolean | undefined;
|
|
41
42
|
} | undefined;
|
|
@@ -77,6 +78,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
|
77
78
|
routeFilePrefix?: string | undefined;
|
|
78
79
|
routeFileIgnorePattern?: string | undefined;
|
|
79
80
|
autoCodeSplitting?: boolean | undefined;
|
|
81
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
80
82
|
experimental?: {
|
|
81
83
|
enableCodeSplitting?: boolean | undefined;
|
|
82
84
|
} | undefined;
|
|
@@ -118,6 +120,7 @@ declare const TanStackRouterRspack: (options?: Partial<{
|
|
|
118
120
|
routeFilePrefix?: string | undefined;
|
|
119
121
|
routeFileIgnorePattern?: string | undefined;
|
|
120
122
|
autoCodeSplitting?: boolean | undefined;
|
|
123
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
121
124
|
experimental?: {
|
|
122
125
|
enableCodeSplitting?: boolean | undefined;
|
|
123
126
|
} | undefined;
|
package/dist/cjs/vite.d.cts
CHANGED
|
@@ -32,6 +32,7 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
|
32
32
|
routeFilePrefix?: string | undefined;
|
|
33
33
|
routeFileIgnorePattern?: string | undefined;
|
|
34
34
|
autoCodeSplitting?: boolean | undefined;
|
|
35
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
35
36
|
experimental?: {
|
|
36
37
|
enableCodeSplitting?: boolean | undefined;
|
|
37
38
|
} | undefined;
|
|
@@ -69,6 +70,7 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
|
69
70
|
routeFilePrefix?: string | undefined;
|
|
70
71
|
routeFileIgnorePattern?: string | undefined;
|
|
71
72
|
autoCodeSplitting?: boolean | undefined;
|
|
73
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
72
74
|
experimental?: {
|
|
73
75
|
enableCodeSplitting?: boolean | undefined;
|
|
74
76
|
} | undefined;
|
|
@@ -106,6 +108,7 @@ declare const TanStackRouterVite: (options?: Partial<{
|
|
|
106
108
|
routeFilePrefix?: string | undefined;
|
|
107
109
|
routeFileIgnorePattern?: string | undefined;
|
|
108
110
|
autoCodeSplitting?: boolean | undefined;
|
|
111
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
109
112
|
experimental?: {
|
|
110
113
|
enableCodeSplitting?: boolean | undefined;
|
|
111
114
|
} | undefined;
|
package/dist/cjs/webpack.d.cts
CHANGED
|
@@ -32,6 +32,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
|
32
32
|
routeFilePrefix?: string | undefined;
|
|
33
33
|
routeFileIgnorePattern?: string | undefined;
|
|
34
34
|
autoCodeSplitting?: boolean | undefined;
|
|
35
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
35
36
|
experimental?: {
|
|
36
37
|
enableCodeSplitting?: boolean | undefined;
|
|
37
38
|
} | undefined;
|
|
@@ -69,6 +70,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
|
69
70
|
routeFilePrefix?: string | undefined;
|
|
70
71
|
routeFileIgnorePattern?: string | undefined;
|
|
71
72
|
autoCodeSplitting?: boolean | undefined;
|
|
73
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
72
74
|
experimental?: {
|
|
73
75
|
enableCodeSplitting?: boolean | undefined;
|
|
74
76
|
} | undefined;
|
|
@@ -106,6 +108,7 @@ declare const TanStackRouterWebpack: (options?: Partial<{
|
|
|
106
108
|
routeFilePrefix?: string | undefined;
|
|
107
109
|
routeFileIgnorePattern?: string | undefined;
|
|
108
110
|
autoCodeSplitting?: boolean | undefined;
|
|
111
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
109
112
|
experimental?: {
|
|
110
113
|
enableCodeSplitting?: boolean | undefined;
|
|
111
114
|
} | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
18
18
|
autoCodeSplitting: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
indexToken: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20
20
|
routeToken: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
pathParamsAllowedCharacters: z.ZodOptional<z.ZodArray<z.ZodEnum<[";", ":", "@", "&", "=", "+", "$", ","]>, "many">>;
|
|
21
22
|
customScaffolding: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
22
23
|
routeTemplate: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23
24
|
apiTemplate: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -61,6 +62,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
61
62
|
routeFilePrefix?: string | undefined;
|
|
62
63
|
routeFileIgnorePattern?: string | undefined;
|
|
63
64
|
autoCodeSplitting?: boolean | undefined;
|
|
65
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
64
66
|
experimental?: {
|
|
65
67
|
enableCodeSplitting?: boolean | undefined;
|
|
66
68
|
} | undefined;
|
|
@@ -84,6 +86,7 @@ export declare const configSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
84
86
|
autoCodeSplitting?: boolean | undefined;
|
|
85
87
|
indexToken?: string | undefined;
|
|
86
88
|
routeToken?: string | undefined;
|
|
89
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
87
90
|
customScaffolding?: {
|
|
88
91
|
routeTemplate?: string | undefined;
|
|
89
92
|
apiTemplate?: string | undefined;
|
|
@@ -116,6 +119,7 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
|
|
|
116
119
|
routeFilePrefix?: string | undefined;
|
|
117
120
|
routeFileIgnorePattern?: string | undefined;
|
|
118
121
|
autoCodeSplitting?: boolean | undefined;
|
|
122
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
119
123
|
experimental?: {
|
|
120
124
|
enableCodeSplitting?: boolean | undefined;
|
|
121
125
|
} | undefined;
|
package/dist/esm/esbuild.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
|
|
|
32
32
|
routeFilePrefix?: string | undefined;
|
|
33
33
|
routeFileIgnorePattern?: string | undefined;
|
|
34
34
|
autoCodeSplitting?: boolean | undefined;
|
|
35
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
35
36
|
experimental?: {
|
|
36
37
|
enableCodeSplitting?: boolean | undefined;
|
|
37
38
|
} | undefined;
|
|
@@ -69,6 +70,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
|
|
|
69
70
|
routeFilePrefix?: string | undefined;
|
|
70
71
|
routeFileIgnorePattern?: string | undefined;
|
|
71
72
|
autoCodeSplitting?: boolean | undefined;
|
|
73
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
72
74
|
experimental?: {
|
|
73
75
|
enableCodeSplitting?: boolean | undefined;
|
|
74
76
|
} | undefined;
|
|
@@ -106,6 +108,7 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
|
|
|
106
108
|
routeFilePrefix?: string | undefined;
|
|
107
109
|
routeFileIgnorePattern?: string | undefined;
|
|
108
110
|
autoCodeSplitting?: boolean | undefined;
|
|
111
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
109
112
|
experimental?: {
|
|
110
113
|
enableCodeSplitting?: boolean | undefined;
|
|
111
114
|
} | undefined;
|
package/dist/esm/rspack.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
|
|
|
36
36
|
routeFilePrefix?: string | undefined;
|
|
37
37
|
routeFileIgnorePattern?: string | undefined;
|
|
38
38
|
autoCodeSplitting?: boolean | undefined;
|
|
39
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
39
40
|
experimental?: {
|
|
40
41
|
enableCodeSplitting?: boolean | undefined;
|
|
41
42
|
} | undefined;
|
|
@@ -77,6 +78,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
|
|
|
77
78
|
routeFilePrefix?: string | undefined;
|
|
78
79
|
routeFileIgnorePattern?: string | undefined;
|
|
79
80
|
autoCodeSplitting?: boolean | undefined;
|
|
81
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
80
82
|
experimental?: {
|
|
81
83
|
enableCodeSplitting?: boolean | undefined;
|
|
82
84
|
} | undefined;
|
|
@@ -118,6 +120,7 @@ declare const TanStackRouterRspack: (options?: Partial<{
|
|
|
118
120
|
routeFilePrefix?: string | undefined;
|
|
119
121
|
routeFileIgnorePattern?: string | undefined;
|
|
120
122
|
autoCodeSplitting?: boolean | undefined;
|
|
123
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
121
124
|
experimental?: {
|
|
122
125
|
enableCodeSplitting?: boolean | undefined;
|
|
123
126
|
} | undefined;
|
package/dist/esm/vite.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ declare const TanStackRouterGeneratorVite: (options?: Partial<{
|
|
|
32
32
|
routeFilePrefix?: string | undefined;
|
|
33
33
|
routeFileIgnorePattern?: string | undefined;
|
|
34
34
|
autoCodeSplitting?: boolean | undefined;
|
|
35
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
35
36
|
experimental?: {
|
|
36
37
|
enableCodeSplitting?: boolean | undefined;
|
|
37
38
|
} | undefined;
|
|
@@ -69,6 +70,7 @@ declare const TanStackRouterCodeSplitterVite: (options?: Partial<{
|
|
|
69
70
|
routeFilePrefix?: string | undefined;
|
|
70
71
|
routeFileIgnorePattern?: string | undefined;
|
|
71
72
|
autoCodeSplitting?: boolean | undefined;
|
|
73
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
72
74
|
experimental?: {
|
|
73
75
|
enableCodeSplitting?: boolean | undefined;
|
|
74
76
|
} | undefined;
|
|
@@ -106,6 +108,7 @@ declare const TanStackRouterVite: (options?: Partial<{
|
|
|
106
108
|
routeFilePrefix?: string | undefined;
|
|
107
109
|
routeFileIgnorePattern?: string | undefined;
|
|
108
110
|
autoCodeSplitting?: boolean | undefined;
|
|
111
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
109
112
|
experimental?: {
|
|
110
113
|
enableCodeSplitting?: boolean | undefined;
|
|
111
114
|
} | undefined;
|
package/dist/esm/webpack.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
|
|
|
32
32
|
routeFilePrefix?: string | undefined;
|
|
33
33
|
routeFileIgnorePattern?: string | undefined;
|
|
34
34
|
autoCodeSplitting?: boolean | undefined;
|
|
35
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
35
36
|
experimental?: {
|
|
36
37
|
enableCodeSplitting?: boolean | undefined;
|
|
37
38
|
} | undefined;
|
|
@@ -69,6 +70,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
|
|
|
69
70
|
routeFilePrefix?: string | undefined;
|
|
70
71
|
routeFileIgnorePattern?: string | undefined;
|
|
71
72
|
autoCodeSplitting?: boolean | undefined;
|
|
73
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
72
74
|
experimental?: {
|
|
73
75
|
enableCodeSplitting?: boolean | undefined;
|
|
74
76
|
} | undefined;
|
|
@@ -106,6 +108,7 @@ declare const TanStackRouterWebpack: (options?: Partial<{
|
|
|
106
108
|
routeFilePrefix?: string | undefined;
|
|
107
109
|
routeFileIgnorePattern?: string | undefined;
|
|
108
110
|
autoCodeSplitting?: boolean | undefined;
|
|
111
|
+
pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
|
|
109
112
|
experimental?: {
|
|
110
113
|
enableCodeSplitting?: boolean | undefined;
|
|
111
114
|
} | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/router-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.79.0",
|
|
4
4
|
"description": "Modern and scalable routing for React applications",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"@babel/core": "^7.26.0",
|
|
90
|
-
"@babel/generator": "^7.26.
|
|
91
|
-
"@babel/parser": "^7.26.
|
|
90
|
+
"@babel/generator": "^7.26.2",
|
|
91
|
+
"@babel/parser": "^7.26.2",
|
|
92
92
|
"@babel/plugin-syntax-jsx": "^7.25.9",
|
|
93
93
|
"@babel/plugin-syntax-typescript": "^7.25.9",
|
|
94
94
|
"@babel/template": "^7.25.9",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"chokidar": "^3.6.0",
|
|
103
103
|
"unplugin": "^1.12.2",
|
|
104
104
|
"zod": "^3.23.8",
|
|
105
|
-
"@tanstack/router-generator": "^1.
|
|
105
|
+
"@tanstack/router-generator": "^1.79.0",
|
|
106
106
|
"@tanstack/virtual-file-routes": "^1.64.0"
|
|
107
107
|
},
|
|
108
108
|
"peerDependencies": {
|