- Refactored package.json and tsconfig.json in the TanStack Start demo to streamline dependencies and improve path resolution.
- Updated Vite configuration to remove unnecessary imports and enhance clarity.
- Introduced new server context files to manage cookies and request headers more effectively.
- Enhanced cookie management in the template library to support dynamic imports for TanStack Start server APIs.
- Improved the overall structure and organization of the TanStack Start integration, ensuring better compatibility and performance.
These changes enhance the integration of TanStack Start, improve server context handling, and streamline the development experience.
- Updated package.json scripts to include the new TanStack Start demo.
- Added a new logo for TanStack Start in the dashboard.
- Enhanced sidebar navigation to support external links for documentation.
- Introduced new environment keys for Vite integration.
- Created comprehensive setup instructions for TanStack Start in the documentation.
- Added example project for TanStack Start to showcase integration with Stack Auth.
This commit improves the developer experience by providing clear guidance and resources for integrating Stack Auth with TanStack Start applications.
<!--
Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md
-->
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Add `THIS_LINE_PLATFORM` macro for inline platform-specific comments,
replacing `NEXT_LINE_PLATFORM` across the codebase.
>
> - **Macro Addition**:
> - Introduces `THIS_LINE_PLATFORM` macro to replace
`NEXT_LINE_PLATFORM` for inline platform-specific comments.
> - Applied in `stack-handler.tsx`, `link.tsx`, `cookie.ts`, and 10
other files.
> - **Behavior**:
> - `THIS_LINE_PLATFORM` allows inline comments to specify
platform-specific code inclusion.
> - Ensures platform-specific code clarity and separation.
> - **Documentation**:
> - Updated documentation files to use `THIS_LINE_PLATFORM` for
platform-specific sections.
> - **Scripts**:
> - Updated `processMacros` function in `utils.ts` to handle
`THIS_LINE_PLATFORM`.
> - Adjusted `generate-docs.ts` to process new macro correctly.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for e3a283aa65. It will automatically
update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->