@tanstack/router-plugin 1.133.25 → 1.133.27

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.
@@ -64,10 +64,13 @@ export declare const configSchema: z.ZodObject<{
64
64
  }>>;
65
65
  experimental: z.ZodOptional<z.ZodObject<{
66
66
  enableCodeSplitting: z.ZodOptional<z.ZodBoolean>;
67
+ nonNestedRoutes: z.ZodOptional<z.ZodBoolean>;
67
68
  }, "strip", z.ZodTypeAny, {
68
69
  enableCodeSplitting?: boolean | undefined;
70
+ nonNestedRoutes?: boolean | undefined;
69
71
  }, {
70
72
  enableCodeSplitting?: boolean | undefined;
73
+ nonNestedRoutes?: boolean | undefined;
71
74
  }>>;
72
75
  plugins: z.ZodOptional<z.ZodArray<z.ZodType<import('@tanstack/router-generator').GeneratorPlugin, z.ZodTypeDef, import('@tanstack/router-generator').GeneratorPlugin>, "many">>;
73
76
  tmpDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -128,6 +131,7 @@ export declare const configSchema: z.ZodObject<{
128
131
  } | undefined;
129
132
  experimental?: {
130
133
  enableCodeSplitting?: boolean | undefined;
134
+ nonNestedRoutes?: boolean | undefined;
131
135
  } | undefined;
132
136
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
133
137
  }, {
@@ -164,6 +168,7 @@ export declare const configSchema: z.ZodObject<{
164
168
  } | undefined;
165
169
  experimental?: {
166
170
  enableCodeSplitting?: boolean | undefined;
171
+ nonNestedRoutes?: boolean | undefined;
167
172
  } | undefined;
168
173
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
169
174
  tmpDir?: string | undefined;
@@ -205,6 +210,7 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
205
210
  } | undefined;
206
211
  experimental?: {
207
212
  enableCodeSplitting?: boolean | undefined;
213
+ nonNestedRoutes?: boolean | undefined;
208
214
  } | undefined;
209
215
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
210
216
  };
@@ -44,6 +44,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
44
44
  } | undefined;
45
45
  experimental?: {
46
46
  enableCodeSplitting?: boolean | undefined;
47
+ nonNestedRoutes?: boolean | undefined;
47
48
  } | undefined;
48
49
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
49
50
  } | (() => Config)> | undefined) => import('unplugin').EsbuildPlugin;
@@ -92,6 +93,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
92
93
  } | undefined;
93
94
  experimental?: {
94
95
  enableCodeSplitting?: boolean | undefined;
96
+ nonNestedRoutes?: boolean | undefined;
95
97
  } | undefined;
96
98
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
97
99
  } | (() => Config)> | undefined) => import('unplugin').EsbuildPlugin;
@@ -140,6 +142,7 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
140
142
  } | undefined;
141
143
  experimental?: {
142
144
  enableCodeSplitting?: boolean | undefined;
145
+ nonNestedRoutes?: boolean | undefined;
143
146
  } | undefined;
144
147
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
145
148
  }> | undefined) => import('unplugin').EsbuildPlugin;
@@ -179,6 +182,7 @@ declare const tanstackRouter: (options?: Partial<{
179
182
  } | undefined;
180
183
  experimental?: {
181
184
  enableCodeSplitting?: boolean | undefined;
185
+ nonNestedRoutes?: boolean | undefined;
182
186
  } | undefined;
183
187
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
184
188
  }> | undefined) => import('unplugin').EsbuildPlugin;
@@ -48,6 +48,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
48
48
  } | undefined;
49
49
  experimental?: {
50
50
  enableCodeSplitting?: boolean | undefined;
51
+ nonNestedRoutes?: boolean | undefined;
51
52
  } | undefined;
52
53
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
53
54
  } | (() => Config)> | undefined) => import('unplugin').RspackPluginInstance;
@@ -100,6 +101,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
100
101
  } | undefined;
101
102
  experimental?: {
102
103
  enableCodeSplitting?: boolean | undefined;
104
+ nonNestedRoutes?: boolean | undefined;
103
105
  } | undefined;
104
106
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
105
107
  } | (() => Config)> | undefined) => import('unplugin').RspackPluginInstance;
@@ -152,6 +154,7 @@ declare const TanStackRouterRspack: (options?: Partial<{
152
154
  } | undefined;
153
155
  experimental?: {
154
156
  enableCodeSplitting?: boolean | undefined;
157
+ nonNestedRoutes?: boolean | undefined;
155
158
  } | undefined;
156
159
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
157
160
  }> | undefined) => import('unplugin').RspackPluginInstance;
@@ -191,6 +194,7 @@ declare const tanstackRouter: (options?: Partial<{
191
194
  } | undefined;
192
195
  experimental?: {
193
196
  enableCodeSplitting?: boolean | undefined;
197
+ nonNestedRoutes?: boolean | undefined;
194
198
  } | undefined;
195
199
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
196
200
  }> | undefined) => import('unplugin').RspackPluginInstance;
@@ -35,6 +35,7 @@ declare const tanstackRouterAutoImport: (options?: Partial<{
35
35
  } | undefined;
36
36
  experimental?: {
37
37
  enableCodeSplitting?: boolean | undefined;
38
+ nonNestedRoutes?: boolean | undefined;
38
39
  } | undefined;
39
40
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
40
41
  } | (() => Config)> | undefined) => import('vite').Plugin<any> | import('vite').Plugin<any>[];
@@ -83,6 +84,7 @@ declare const tanstackRouterGenerator: (options?: Partial<{
83
84
  } | undefined;
84
85
  experimental?: {
85
86
  enableCodeSplitting?: boolean | undefined;
87
+ nonNestedRoutes?: boolean | undefined;
86
88
  } | undefined;
87
89
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
88
90
  } | (() => Config)> | undefined) => import('vite').Plugin<any> | import('vite').Plugin<any>[];
@@ -131,6 +133,7 @@ declare const tanStackRouterCodeSplitter: (options?: Partial<{
131
133
  } | undefined;
132
134
  experimental?: {
133
135
  enableCodeSplitting?: boolean | undefined;
136
+ nonNestedRoutes?: boolean | undefined;
134
137
  } | undefined;
135
138
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
136
139
  } | (() => Config)> | undefined) => import('vite').Plugin<any> | import('vite').Plugin<any>[];
@@ -179,6 +182,7 @@ declare const tanstackRouter: (options?: Partial<{
179
182
  } | undefined;
180
183
  experimental?: {
181
184
  enableCodeSplitting?: boolean | undefined;
185
+ nonNestedRoutes?: boolean | undefined;
182
186
  } | undefined;
183
187
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
184
188
  }> | undefined) => import('vite').Plugin<any> | import('vite').Plugin<any>[];
@@ -221,6 +225,7 @@ declare const TanStackRouterVite: (options?: Partial<{
221
225
  } | undefined;
222
226
  experimental?: {
223
227
  enableCodeSplitting?: boolean | undefined;
228
+ nonNestedRoutes?: boolean | undefined;
224
229
  } | undefined;
225
230
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
226
231
  }> | undefined) => import('vite').Plugin<any> | import('vite').Plugin<any>[];
@@ -44,6 +44,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
44
44
  } | undefined;
45
45
  experimental?: {
46
46
  enableCodeSplitting?: boolean | undefined;
47
+ nonNestedRoutes?: boolean | undefined;
47
48
  } | undefined;
48
49
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
49
50
  } | (() => Config)> | undefined) => import('unplugin').WebpackPluginInstance;
@@ -92,6 +93,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
92
93
  } | undefined;
93
94
  experimental?: {
94
95
  enableCodeSplitting?: boolean | undefined;
96
+ nonNestedRoutes?: boolean | undefined;
95
97
  } | undefined;
96
98
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
97
99
  } | (() => Config)> | undefined) => import('unplugin').WebpackPluginInstance;
@@ -140,6 +142,7 @@ declare const TanStackRouterWebpack: (options?: Partial<{
140
142
  } | undefined;
141
143
  experimental?: {
142
144
  enableCodeSplitting?: boolean | undefined;
145
+ nonNestedRoutes?: boolean | undefined;
143
146
  } | undefined;
144
147
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
145
148
  }> | undefined) => import('unplugin').WebpackPluginInstance;
@@ -179,6 +182,7 @@ declare const tanstackRouter: (options?: Partial<{
179
182
  } | undefined;
180
183
  experimental?: {
181
184
  enableCodeSplitting?: boolean | undefined;
185
+ nonNestedRoutes?: boolean | undefined;
182
186
  } | undefined;
183
187
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
184
188
  }> | undefined) => import('unplugin').WebpackPluginInstance;
@@ -64,10 +64,13 @@ export declare const configSchema: z.ZodObject<{
64
64
  }>>;
65
65
  experimental: z.ZodOptional<z.ZodObject<{
66
66
  enableCodeSplitting: z.ZodOptional<z.ZodBoolean>;
67
+ nonNestedRoutes: z.ZodOptional<z.ZodBoolean>;
67
68
  }, "strip", z.ZodTypeAny, {
68
69
  enableCodeSplitting?: boolean | undefined;
70
+ nonNestedRoutes?: boolean | undefined;
69
71
  }, {
70
72
  enableCodeSplitting?: boolean | undefined;
73
+ nonNestedRoutes?: boolean | undefined;
71
74
  }>>;
72
75
  plugins: z.ZodOptional<z.ZodArray<z.ZodType<import('@tanstack/router-generator').GeneratorPlugin, z.ZodTypeDef, import('@tanstack/router-generator').GeneratorPlugin>, "many">>;
73
76
  tmpDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -128,6 +131,7 @@ export declare const configSchema: z.ZodObject<{
128
131
  } | undefined;
129
132
  experimental?: {
130
133
  enableCodeSplitting?: boolean | undefined;
134
+ nonNestedRoutes?: boolean | undefined;
131
135
  } | undefined;
132
136
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
133
137
  }, {
@@ -164,6 +168,7 @@ export declare const configSchema: z.ZodObject<{
164
168
  } | undefined;
165
169
  experimental?: {
166
170
  enableCodeSplitting?: boolean | undefined;
171
+ nonNestedRoutes?: boolean | undefined;
167
172
  } | undefined;
168
173
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
169
174
  tmpDir?: string | undefined;
@@ -205,6 +210,7 @@ export declare const getConfig: (inlineConfig: Partial<Config>, root: string) =>
205
210
  } | undefined;
206
211
  experimental?: {
207
212
  enableCodeSplitting?: boolean | undefined;
213
+ nonNestedRoutes?: boolean | undefined;
208
214
  } | undefined;
209
215
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
210
216
  };
@@ -44,6 +44,7 @@ declare const TanStackRouterGeneratorEsbuild: (options?: Partial<{
44
44
  } | undefined;
45
45
  experimental?: {
46
46
  enableCodeSplitting?: boolean | undefined;
47
+ nonNestedRoutes?: boolean | undefined;
47
48
  } | undefined;
48
49
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
49
50
  } | (() => Config)> | undefined) => import('unplugin').EsbuildPlugin;
@@ -92,6 +93,7 @@ declare const TanStackRouterCodeSplitterEsbuild: (options?: Partial<{
92
93
  } | undefined;
93
94
  experimental?: {
94
95
  enableCodeSplitting?: boolean | undefined;
96
+ nonNestedRoutes?: boolean | undefined;
95
97
  } | undefined;
96
98
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
97
99
  } | (() => Config)> | undefined) => import('unplugin').EsbuildPlugin;
@@ -140,6 +142,7 @@ declare const TanStackRouterEsbuild: (options?: Partial<{
140
142
  } | undefined;
141
143
  experimental?: {
142
144
  enableCodeSplitting?: boolean | undefined;
145
+ nonNestedRoutes?: boolean | undefined;
143
146
  } | undefined;
144
147
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
145
148
  }> | undefined) => import('unplugin').EsbuildPlugin;
@@ -179,6 +182,7 @@ declare const tanstackRouter: (options?: Partial<{
179
182
  } | undefined;
180
183
  experimental?: {
181
184
  enableCodeSplitting?: boolean | undefined;
185
+ nonNestedRoutes?: boolean | undefined;
182
186
  } | undefined;
183
187
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
184
188
  }> | undefined) => import('unplugin').EsbuildPlugin;
@@ -48,6 +48,7 @@ declare const TanStackRouterGeneratorRspack: (options?: Partial<{
48
48
  } | undefined;
49
49
  experimental?: {
50
50
  enableCodeSplitting?: boolean | undefined;
51
+ nonNestedRoutes?: boolean | undefined;
51
52
  } | undefined;
52
53
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
53
54
  } | (() => Config)> | undefined) => import('unplugin').RspackPluginInstance;
@@ -100,6 +101,7 @@ declare const TanStackRouterCodeSplitterRspack: (options?: Partial<{
100
101
  } | undefined;
101
102
  experimental?: {
102
103
  enableCodeSplitting?: boolean | undefined;
104
+ nonNestedRoutes?: boolean | undefined;
103
105
  } | undefined;
104
106
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
105
107
  } | (() => Config)> | undefined) => import('unplugin').RspackPluginInstance;
@@ -152,6 +154,7 @@ declare const TanStackRouterRspack: (options?: Partial<{
152
154
  } | undefined;
153
155
  experimental?: {
154
156
  enableCodeSplitting?: boolean | undefined;
157
+ nonNestedRoutes?: boolean | undefined;
155
158
  } | undefined;
156
159
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
157
160
  }> | undefined) => import('unplugin').RspackPluginInstance;
@@ -191,6 +194,7 @@ declare const tanstackRouter: (options?: Partial<{
191
194
  } | undefined;
192
195
  experimental?: {
193
196
  enableCodeSplitting?: boolean | undefined;
197
+ nonNestedRoutes?: boolean | undefined;
194
198
  } | undefined;
195
199
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
196
200
  }> | undefined) => import('unplugin').RspackPluginInstance;
@@ -35,6 +35,7 @@ declare const tanstackRouterAutoImport: (options?: Partial<{
35
35
  } | undefined;
36
36
  experimental?: {
37
37
  enableCodeSplitting?: boolean | undefined;
38
+ nonNestedRoutes?: boolean | undefined;
38
39
  } | undefined;
39
40
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
40
41
  } | (() => Config)> | undefined) => import('vite').Plugin<any> | import('vite').Plugin<any>[];
@@ -83,6 +84,7 @@ declare const tanstackRouterGenerator: (options?: Partial<{
83
84
  } | undefined;
84
85
  experimental?: {
85
86
  enableCodeSplitting?: boolean | undefined;
87
+ nonNestedRoutes?: boolean | undefined;
86
88
  } | undefined;
87
89
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
88
90
  } | (() => Config)> | undefined) => import('vite').Plugin<any> | import('vite').Plugin<any>[];
@@ -131,6 +133,7 @@ declare const tanStackRouterCodeSplitter: (options?: Partial<{
131
133
  } | undefined;
132
134
  experimental?: {
133
135
  enableCodeSplitting?: boolean | undefined;
136
+ nonNestedRoutes?: boolean | undefined;
134
137
  } | undefined;
135
138
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
136
139
  } | (() => Config)> | undefined) => import('vite').Plugin<any> | import('vite').Plugin<any>[];
@@ -179,6 +182,7 @@ declare const tanstackRouter: (options?: Partial<{
179
182
  } | undefined;
180
183
  experimental?: {
181
184
  enableCodeSplitting?: boolean | undefined;
185
+ nonNestedRoutes?: boolean | undefined;
182
186
  } | undefined;
183
187
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
184
188
  }> | undefined) => import('vite').Plugin<any> | import('vite').Plugin<any>[];
@@ -221,6 +225,7 @@ declare const TanStackRouterVite: (options?: Partial<{
221
225
  } | undefined;
222
226
  experimental?: {
223
227
  enableCodeSplitting?: boolean | undefined;
228
+ nonNestedRoutes?: boolean | undefined;
224
229
  } | undefined;
225
230
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
226
231
  }> | undefined) => import('vite').Plugin<any> | import('vite').Plugin<any>[];
@@ -44,6 +44,7 @@ declare const TanStackRouterGeneratorWebpack: (options?: Partial<{
44
44
  } | undefined;
45
45
  experimental?: {
46
46
  enableCodeSplitting?: boolean | undefined;
47
+ nonNestedRoutes?: boolean | undefined;
47
48
  } | undefined;
48
49
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
49
50
  } | (() => Config)> | undefined) => import('unplugin').WebpackPluginInstance;
@@ -92,6 +93,7 @@ declare const TanStackRouterCodeSplitterWebpack: (options?: Partial<{
92
93
  } | undefined;
93
94
  experimental?: {
94
95
  enableCodeSplitting?: boolean | undefined;
96
+ nonNestedRoutes?: boolean | undefined;
95
97
  } | undefined;
96
98
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
97
99
  } | (() => Config)> | undefined) => import('unplugin').WebpackPluginInstance;
@@ -140,6 +142,7 @@ declare const TanStackRouterWebpack: (options?: Partial<{
140
142
  } | undefined;
141
143
  experimental?: {
142
144
  enableCodeSplitting?: boolean | undefined;
145
+ nonNestedRoutes?: boolean | undefined;
143
146
  } | undefined;
144
147
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
145
148
  }> | undefined) => import('unplugin').WebpackPluginInstance;
@@ -179,6 +182,7 @@ declare const tanstackRouter: (options?: Partial<{
179
182
  } | undefined;
180
183
  experimental?: {
181
184
  enableCodeSplitting?: boolean | undefined;
185
+ nonNestedRoutes?: boolean | undefined;
182
186
  } | undefined;
183
187
  plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
184
188
  }> | undefined) => import('unplugin').WebpackPluginInstance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/router-plugin",
3
- "version": "1.133.25",
3
+ "version": "1.133.27",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -97,10 +97,10 @@
97
97
  "chokidar": "^3.6.0",
98
98
  "unplugin": "^2.1.2",
99
99
  "zod": "^3.24.2",
100
- "@tanstack/router-core": "1.133.25",
101
- "@tanstack/router-generator": "1.133.25",
100
+ "@tanstack/router-core": "1.133.27",
102
101
  "@tanstack/router-utils": "1.133.19",
103
- "@tanstack/virtual-file-routes": "1.133.19"
102
+ "@tanstack/virtual-file-routes": "1.133.19",
103
+ "@tanstack/router-generator": "1.133.27"
104
104
  },
105
105
  "devDependencies": {
106
106
  "@types/babel__core": "^7.20.5",
@@ -112,7 +112,7 @@
112
112
  "vite": ">=5.0.0 || >=6.0.0 || >=7.0.0",
113
113
  "vite-plugin-solid": "^2.11.10",
114
114
  "webpack": ">=5.92.0",
115
- "@tanstack/react-router": "^1.133.25"
115
+ "@tanstack/react-router": "^1.133.27"
116
116
  },
117
117
  "peerDependenciesMeta": {
118
118
  "@rsbuild/core": {