Skip to content

Commit 12b0088

Browse files
authored
Merge pull request #9 from PostHog/add-react-option-when-npt-detected
fix: add react option when not detected
2 parents 2350577 + 241b6fb commit 12b0088

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@posthog/wizard",
3-
"version": "0.2.11",
3+
"version": "0.3.0",
44
"homepage": "https://github.com/posthog/wizard",
55
"repository": "https://github.com/posthog/wizard",
66
"description": "The PostHog wizard helps you to configure your project",

src/run.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ async function getIntegrationForSetup(
8989
const integration: Integration = await abortIfCancelled(
9090
clack.select({
9191
message: 'What do you want to set up?',
92-
options: [{ value: Integration.nextjs, label: 'Next.js' }],
92+
options: [
93+
{ value: Integration.nextjs, label: 'Next.js' },
94+
{ value: Integration.react, label: 'React' },
95+
],
9396
}),
9497
);
9598

0 commit comments

Comments
 (0)