[PR #6209] [MERGED] chore: remove unused @tanstack/start-server-core and move to @tanstack/react-start #6520

Closed
opened 2026-03-13 13:02:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6209
Author: @Bekacru
Created: 11/22/2025
Status: Merged
Merged: 11/22/2025
Merged by: @Bekacru

Base: canaryHead: fix/tanstack-start


📝 Commits (1)

  • 507908d chore: remove unused @tanstack/start-server-core references and enable TypeScript declaration in nextjs config

📊 Changes

5 files changed (+4 additions, -56 deletions)

View changed files

📝 demo/nextjs/tsconfig.json (+1 -0)
📝 packages/better-auth/package.json (+0 -1)
📝 packages/better-auth/src/integrations/tanstack-start.ts (+3 -1)
📝 packages/better-auth/tsdown.config.ts (+0 -1)
📝 pnpm-lock.yaml (+0 -53)

📄 Description

Summary by cubic

Switched TanStack integration to use @tanstack/react-start/server and removed the unused @tanstack/start-server-core, reducing dependencies and aligning cookie handling with current APIs. Also enabled TypeScript declarations in the Next.js demo config.

  • Refactors

    • Import setCookie from @tanstack/react-start/server in tanstack-start integration.
    • Remove @tanstack/start-server-core from tsdown externals.
    • Enable declaration output in demo/nextjs tsconfig.json.
  • Dependencies

    • Drop @tanstack/start-server-core from package.json and pnpm-lock.

Written for commit 507908d72c. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6209 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/22/2025 **Status:** ✅ Merged **Merged:** 11/22/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `fix/tanstack-start` --- ### 📝 Commits (1) - [`507908d`](https://github.com/better-auth/better-auth/commit/507908d72cbd79270f6a7c0efecb6328c986035d) chore: remove unused @tanstack/start-server-core references and enable TypeScript declaration in nextjs config ### 📊 Changes **5 files changed** (+4 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/tsconfig.json` (+1 -0) 📝 `packages/better-auth/package.json` (+0 -1) 📝 `packages/better-auth/src/integrations/tanstack-start.ts` (+3 -1) 📝 `packages/better-auth/tsdown.config.ts` (+0 -1) 📝 `pnpm-lock.yaml` (+0 -53) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Switched TanStack integration to use @tanstack/react-start/server and removed the unused @tanstack/start-server-core, reducing dependencies and aligning cookie handling with current APIs. Also enabled TypeScript declarations in the Next.js demo config. - **Refactors** - Import setCookie from @tanstack/react-start/server in tanstack-start integration. - Remove @tanstack/start-server-core from tsdown externals. - Enable declaration output in demo/nextjs tsconfig.json. - **Dependencies** - Drop @tanstack/start-server-core from package.json and pnpm-lock. <sup>Written for commit 507908d72cbd79270f6a7c0efecb6328c986035d. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:02:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#6520