Skip to content
Source
Sign inSign up
TanStack/cli

feat(create): add Inngest add-on #440

OpenLinell(GitHub profile, opens in a new tab)wants to merge 7 commits intomain fromrefs/pull/440/headopened

Showing 14 changed files with 177 additions and 5 deletions (loading 11).

x
0 of 14 viewed, 14 left
6 additions and 0 deletions.changeset/inngest-addon.mdAdded
View file
@@ -0,0 +1,6 @@
+---
+'@tanstack/cli': minor
+'@tanstack/create': minor
+---
+​
+Add a React Inngest add-on with a client, a sample function, the signed `/api/inngest` route, and a demo page whose event sender only runs in development.
13 additions and 5 deletionspackages/cli/tests-e2e/helpers.tsModified
View file
@@ -33,6 +33,8 @@
afterCreate?: (appDir: string) => Promise<void>
skipDevServer?: boolean
runQualityGatesChecks?: boolean
+ serverScript?: 'dev' | 'preview'
+ serverEnv?: Record<string, string>
​
export type RuntimeGuards = {
@@ -219,7 +221,7 @@
​
function getPackageManagerCommandForScript(
packageManager: 'pnpm' | 'npm' | 'yarn' | 'bun' | 'deno',
- script: 'dev' | 'build',