feat(cli): add nuxt + convex support (#458)

This commit is contained in:
Aman Varshney
2025-08-02 11:50:00 +05:30
committed by GitHub
parent cef5840852
commit 430fa41abd
19 changed files with 272 additions and 144 deletions

View File

@@ -233,7 +233,7 @@ const analyzeStackCompatibility = (stack: StackState): CompatibilityResult => {
});
}
}
const incompatibleConvexFrontends = ["nuxt", "solid"];
const incompatibleConvexFrontends = ["solid"];
const originalWebFrontendLength = nextStack.webFrontend.length;
nextStack.webFrontend = nextStack.webFrontend.filter(
(f) => !incompatibleConvexFrontends.includes(f),
@@ -241,16 +241,14 @@ const analyzeStackCompatibility = (stack: StackState): CompatibilityResult => {
if (nextStack.webFrontend.length !== originalWebFrontendLength) {
changed = true;
notes.webFrontend.notes.push(
"Nuxt and Solid are not compatible with Convex backend and have been removed.",
);
notes.backend.notes.push(
"Convex backend is not compatible with Nuxt or Solid.",
"Solid is not compatible with Convex backend and has been removed.",
);
notes.backend.notes.push("Convex backend is not compatible with Solid.");
notes.webFrontend.hasIssue = true;
notes.backend.hasIssue = true;
changes.push({
category: "convex",
message: "Removed incompatible web frontends (Nuxt, Solid)",
message: "Removed incompatible web frontends (Solid)",
});
}
if (nextStack.nativeFrontend[0] === "none") {