Skip to content

Conversation

apascal07
Copy link
Collaborator

No description provided.

@apascal07 apascal07 requested a review from pavelgj May 10, 2024 19:32
@apascal07 apascal07 enabled auto-merge (squash) May 10, 2024 19:35
const templatePath = path.join(__dirname, nextjsToolsConfigTemplatePath);
let template = fs.readFileSync(templatePath, 'utf8');
if (fs.existsSync('src/app')) {
template = template.replace('$GENKIT_HARNESS_FILES', `'./src/app/*.ts'`);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked about this in chat whether we want/need to limit this more to include only genkit related files... but it seems to work like this, so perhaps not necessary.

@apascal07 apascal07 merged commit 9cb10ef into main May 10, 2024
@apascal07 apascal07 deleted the ap-init-next-js branch May 10, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants