We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3633cff commit 3f44cf6Copy full SHA for 3f44cf6
1 file changed
packages/stack-shared/src/ai/prompts.ts
@@ -85,9 +85,9 @@ export function getSdkSetupPrompt(mainType: "ai-prompt" | "nextjs" | "react" | "
85
const isMaybeNextjs = isDefinitelyNextjs || mainType === "ai-prompt";
86
87
const isDefinitelyBackend = mainType === "nodejs" || mainType === "bun" || mainType === "nextjs";
88
- const isMaybeBackend = isDefinitelyBackend || mainType === "js";
+ const isMaybeBackend = isDefinitelyBackend || mainType === "js" || mainType === "ai-prompt";
89
const isDefinitelyFrontend = isDefinitelyReact;
90
- const isMaybeFrontend = isDefinitelyFrontend || mainType === "js";
+ const isMaybeFrontend = isDefinitelyFrontend || mainType === "js" || mainType === "ai-prompt";
91
92
const isAiPrompt = mainType === "ai-prompt";
93
0 commit comments