You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/cli/src/utils/compatibility-rules.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -43,12 +43,12 @@ export function ensureSingleWebAndNative(frontends: Frontend[]) {
43
43
}
44
44
}
45
45
46
-
// Temporarily restrict to Next.js only for backend="self"
46
+
// Temporarily restrict to Next.js and TanStack Start only for backend="self"
47
47
constFULLSTACK_FRONTENDS: readonlyFrontend[]=[
48
48
"next",
49
+
"tanstack-start",
49
50
// "nuxt", // TODO: Add support in future update
50
51
// "svelte", // TODO: Add support in future update
51
-
// "tanstack-start", // TODO: Add support in future update
52
52
]asconst;
53
53
54
54
exportfunctionvalidateSelfBackendCompatibility(
@@ -66,7 +66,7 @@ export function validateSelfBackendCompatibility(
66
66
67
67
if(!hasSupportedWeb){
68
68
exitWithError(
69
-
"Backend 'self' (fullstack) currently only supports Next.js frontend. Please use --frontend next. Support for Nuxt, SvelteKit, and TanStack Start will be added in a future update.",
69
+
"Backend 'self' (fullstack) currently only supports Next.js and TanStack Start frontends. Please use --frontend next or --frontend tanstack-start. Support for Nuxtand SvelteKit will be added in a future update.",
70
70
);
71
71
}
72
72
@@ -86,7 +86,7 @@ export function validateSelfBackendCompatibility(
86
86
backend==="self"
87
87
){
88
88
exitWithError(
89
-
"Backend 'self' (fullstack) currently only supports Next.js frontend. Please use --frontend next or choose a different backend. Support for Nuxt, SvelteKit, and TanStack Start will be added in a future update.",
89
+
"Backend 'self' (fullstack) currently only supports Next.js and TanStack Start frontends. Please use --frontend next or --frontend tanstack-start or choose a different backend. Support for Nuxtand SvelteKit will be added in a future update.",
0 commit comments