From 8a25ee302ae18e686637a73be9cf422424307f34 Mon Sep 17 00:00:00 2001 From: Pavel Jbanov Date: Fri, 3 May 2024 11:10:56 -0400 Subject: [PATCH] Mark next.js option experimental (#21) --- genkit-tools/src/commands/init.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genkit-tools/src/commands/init.ts b/genkit-tools/src/commands/init.ts index 89a97495e..a95e30702 100644 --- a/genkit-tools/src/commands/init.ts +++ b/genkit-tools/src/commands/init.ts @@ -68,7 +68,7 @@ const platformOptions: Record = { }, nodejs: { label: 'Node.js', plugin: undefined }, nextjs: { - label: 'Next.js', + label: 'Next.js (Experimental)', plugin: undefined, }, }; @@ -345,7 +345,7 @@ function generateSampleFile( if (platform === 'nextjs') { if (fs.existsSync('src/app')) { samplePath = 'src/app/genkit.ts'; - } else if (fs.existsSync('src')) { + } else if (fs.existsSync('app')) { samplePath = 'app/genkit.ts'; } else { throw new Error(