stack/turbo.json
Mantra 68ae6d1f1c
[codex] Add TanStack Start SDK integration (#1399)
## Summary

- Adds the generated `@stackframe/tanstack-start` workspace package
registration.
- Adds TanStack Start platform macros/dependencies to the SDK template
and generator.
- Adds TanStack Start cookie/token-store support plus the handler SSR
guard needed by Start.

## Scope

This intentionally excludes Dashboard V2 routes, hooks, components, app
shell logic, and dashboard API type additions. Those stay in the
existing dashboard PR/branch.

## Validation

- `pnpm install --lockfile-only --ignore-scripts`
- `pnpm install --ignore-scripts`
- `pnpm -C packages/template lint
src/components-page/stack-handler-client.tsx src/lib/cookie.ts
src/lib/stack-app/apps/implementations/client-app-impl.ts`

Package typecheck was attempted with `pnpm -C packages/template
typecheck`, but the clean worktree lacks generated package declaration
outputs for workspace dependencies such as `@stackframe/stack-shared`
and `@stackframe/stack-ui`. Per repo instructions, package
builds/codegen are not run by agents.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* TanStack Start integration: published SDK package, example demo app,
dashboard onboarding flow, framework-aware CTAs/docs, and a
TanStack-specific provider for client-only auth routes.
* Improved client/server auth: safer runtime guards and consistent
cookie/token-store behavior across SSR and client.

* **Documentation**
* New Integrations guide and expanded getting-started/setup docs with
TanStack Start examples and env/key guidance.

* **Chores**
* Template, build, tooling, and demo config updates to support the new
platform.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-08 10:59:16 -07:00

117 lines
2.1 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"globalEnv": [
"STACK_*",
"CRON_SECRET",
"NEXT_PUBLIC_*",
"VITE_*",
"NEXT_PUBLIC_SENTRY_*",
"SENTRY_*",
"VERCEL_GIT_COMMIT_SHA",
"NEXT_PUBLIC_POSTHOG_*",
"POSTHOG_*",
"NODE_ENV",
"QUETZAL_*",
"OTEL_*",
"DISCORD_WEBHOOK_URL",
"DISCORD_CHANNEL_ID",
"DISCORD_BOT_TOKEN",
"ENABLE_EXPERIMENTAL_COREPACK"
],
"tasks": {
"build": {
"inputs": [
"$TURBO_DEFAULT$",
".env",
".env.local",
".env.development",
".env.development.local",
".env.production",
".env.production.local",
"tsdown.config.ts"
],
"dependsOn": [
"^build"
],
"outputs": [
".next",
"dist/**",
"lib/**",
"*.js",
"*.d.ts",
"*.d.ts.map"
],
"outputLogs": "new-only"
},
"docker-build": {
"inputs": [
"$TURBO_DEFAULT$",
".env",
".env.local",
".env.development",
".env.development.local",
".env.production",
".env.production.local"
],
"dependsOn": [
"^build"
],
"outputs": [
".next",
"dist/**",
"lib/**",
"*.js",
"*.d.ts",
"*.d.ts.map"
],
"outputLogs": "new-only"
},
"@stackframe/backend#build": {
"dependsOn": [
"codegen"
]
},
"clean": {
"cache": false
},
"dev": {
"persistent": true,
"cache": false
},
"start": {
"persistent": true,
"cache": false
},
"lint": {
"dependsOn": []
},
"codegen": {
"dependsOn": [
"^build"
],
"cache": false
},
"typecheck": {
"dependsOn": []
},
"generate-keys": {
"cache": false
},
"db:migration-gen": {
"cache": false
},
"db:reset": {
"cache": false
},
"db:seed": {
"cache": false
},
"db:init": {
"cache": false
},
"db:migrate": {
"cache": false
}
}
}