stack/apps/dashboard/src
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
..
app [codex] Add TanStack Start SDK integration (#1399) 2026-05-08 10:59:16 -07:00
components [codex] Add TanStack Start SDK integration (#1399) 2026-05-08 10:59:16 -07:00
hooks Better Clickhouse errors during development 2026-01-30 22:39:17 -08:00
lib [codex] Add TanStack Start SDK integration (#1399) 2026-05-08 10:59:16 -07:00
globals.d.ts Port dashboard to Next.js 15 (#560) 2025-03-24 00:03:50 +01:00
instrumentation.ts Customizable ports (#962) 2025-10-20 15:24:47 -07:00
polyfills.tsx Upgrade dashboard to Next.js 16 2025-10-20 23:29:44 -07:00
proxy.tsx Upgrade dashboard to Next.js 16 2025-10-20 23:29:44 -07:00
stack.tsx stack auth preview mode (#1307) 2026-04-08 16:57:42 -07:00