Skip to content

Commit

Permalink
Mark next.js option experimental (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelgj authored May 3, 2024
1 parent bf25b7e commit 8a25ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions genkit-tools/src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const platformOptions: Record<Platform, PromptOption> = {
},
nodejs: { label: 'Node.js', plugin: undefined },
nextjs: {
label: 'Next.js',
label: 'Next.js (Experimental)',
plugin: undefined,
},
};
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 8a25ee3

Please sign in to comment.