Skip to content

Conversation

wobsoriano
Copy link
Member

@wobsoriano wobsoriano commented Oct 10, 2025

Description

We decided to not support TanStack Router apps with our TanStack Start SDK and they should be using our @clerk/react SDK for TanStack Router apps instead

See the TanStack Start DX Guide for more info

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Summary by CodeRabbit

  • New Features
    • None
  • Chores
    • Removed the TanStack React Router integration and its template, reducing available integration options.
  • Tests
    • Removed TanStack React Router integration tests and corresponding CI matrix entry to streamline test runs.
  • Documentation
    • Removed example and README content associated with the TanStack React Router template.
  • Notes
    • No changes to remaining integrations or core functionality.

Copy link

changeset-bot bot commented Oct 10, 2025

🦋 Changeset detected

Latest commit: 378898b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Oct 10, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
clerk-js-sandbox Ready Ready Preview Comment Oct 10, 2025 4:58pm

Copy link
Contributor

coderabbitai bot commented Oct 10, 2025

Walkthrough

This change removes the TanStack React Router integration template, its presets, configuration, and tests. CI/test matrices and build tooling references to this template are pruned. A changeset placeholder file is added. Public exports shrink where the tanstack preset no longer exposes reactRouter.

Changes

Cohort / File(s) Summary of changes
Changeset placeholder
.changeset/empty-elephants-push.md
Added empty changeset file with front-matter separators only.
CI matrix update
.github/workflows/ci.yml
Commented out/removes tanstack-react-router entry from integration-tests matrix.
TanStack preset export change
integration/presets/tanstack.ts
Removed reactRouter configuration and export; tanstack now exports only reactStart.
Templates index pruning
integration/templates/index.ts
Removed 'tanstack-react-router' from exported templates map.
Remove TanStack React Router template
integration/templates/tanstack-react-router/*, .../index.html, .../package.json, .../src/main.tsx, .../src/routeTree.gen.ts, .../src/routes/__root.tsx, .../src/routes/index.tsx, .../src/routes/sign-in.tsx, .../tsconfig*.json, .../vite.config.js, .../.gitignore, .../README.md
Deleted the entire template: HTML bootstrap, TS configs, Vite config, package manifest, router setup, routes, generated route tree, README content, and .gitignore patterns.
Integration tests removal
integration/tests/tanstack-router/basic.test.ts
Deleted Playwright test suite for tanstack-react-router.
NPM scripts cleanup
package.json
Removed test:integration:tanstack-react-router script.
Turbo pipeline cleanup
turbo.json
Removed //#test:integration:tanstack-react-router pipeline entry and its config.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

I hop through folders, light and spry,
Retiring routes with a gentle sigh.
Tests and templates, waved goodbye—
Leaner trails beneath the sky.
My paws leave prints where changes lie,
Thump-thump: CI’s carrots still dry.
Onward, clean burrows—zip and fly!

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Title Check ⚠️ Warning The title focuses on removing TanStack Router tests, but the pull request also deletes the entire TanStack Router integration, including presets, templates, CI matrix entries and related code, so it does not accurately reflect the full scope of changes. Please update the title to summarize the broader change, for example “chore(repo): Remove TanStack Router integration and tests” to reflect removal of templates, presets, configuration entries and code in addition to tests.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch rob/remove-tanstack-router-test

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 4a1d748 and e734408.

📒 Files selected for processing (19)
  • .changeset/empty-elephants-push.md (1 hunks)
  • .github/workflows/ci.yml (0 hunks)
  • integration/presets/tanstack.ts (0 hunks)
  • integration/templates/index.ts (0 hunks)
  • integration/templates/tanstack-react-router/.gitignore (0 hunks)
  • integration/templates/tanstack-react-router/README.md (0 hunks)
  • integration/templates/tanstack-react-router/index.html (0 hunks)
  • integration/templates/tanstack-react-router/package.json (0 hunks)
  • integration/templates/tanstack-react-router/src/main.tsx (0 hunks)
  • integration/templates/tanstack-react-router/src/routeTree.gen.ts (0 hunks)
  • integration/templates/tanstack-react-router/src/routes/__root.tsx (0 hunks)
  • integration/templates/tanstack-react-router/src/routes/index.tsx (0 hunks)
  • integration/templates/tanstack-react-router/src/routes/sign-in.tsx (0 hunks)
  • integration/templates/tanstack-react-router/tsconfig.dev.json (0 hunks)
  • integration/templates/tanstack-react-router/tsconfig.json (0 hunks)
  • integration/templates/tanstack-react-router/vite.config.js (0 hunks)
  • integration/tests/tanstack-router/basic.test.ts (0 hunks)
  • package.json (0 hunks)
  • turbo.json (0 hunks)
💤 Files with no reviewable changes (18)
  • integration/templates/tanstack-react-router/README.md
  • turbo.json
  • integration/templates/index.ts
  • integration/tests/tanstack-router/basic.test.ts
  • .github/workflows/ci.yml
  • integration/presets/tanstack.ts
  • package.json
  • integration/templates/tanstack-react-router/tsconfig.json
  • integration/templates/tanstack-react-router/tsconfig.dev.json
  • integration/templates/tanstack-react-router/.gitignore
  • integration/templates/tanstack-react-router/src/routes/__root.tsx
  • integration/templates/tanstack-react-router/package.json
  • integration/templates/tanstack-react-router/vite.config.js
  • integration/templates/tanstack-react-router/src/main.tsx
  • integration/templates/tanstack-react-router/src/routeTree.gen.ts
  • integration/templates/tanstack-react-router/src/routes/sign-in.tsx
  • integration/templates/tanstack-react-router/src/routes/index.tsx
  • integration/templates/tanstack-react-router/index.html
🧰 Additional context used
📓 Path-based instructions (1)
.changeset/**

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Automated releases must use Changesets.

Files:

  • .changeset/empty-elephants-push.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: Formatting | Dedupe | Changeset
  • GitHub Check: Build Packages
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: semgrep-cloud-platform/scan

Comment on lines +1 to +2
---
---
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Fill in the changeset frontmatter and summary.

This changeset is empty—no packages are listed for bumping and there’s no summary. The Changesets pipeline will flag this (or ignore it entirely), so please add the appropriate package entries and a brief description before merging.

🤖 Prompt for AI Agents
In .changeset/empty-elephants-push.md around lines 1 to 2, the changeset
frontmatter is empty and there is no summary; populate the YAML frontmatter with
the packages to be bumped and their bump types (patch/minor/major) and add a
short summary paragraph describing the change. Ensure the file begins with ---,
includes entries like package-name: patch for each affected package, then a
summary section (one or two sentences) and closes with ---, so the changeset
pipeline can correctly detect and apply the version bumps.

Copy link

pkg-pr-new bot commented Oct 10, 2025

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@6955

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@6955

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@6955

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@6955

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@6955

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@6955

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@6955

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@6955

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@6955

@clerk/express

npm i https://pkg.pr.new/@clerk/express@6955

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@6955

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@6955

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@6955

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@6955

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@6955

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@6955

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@6955

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@6955

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@6955

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@6955

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@6955

@clerk/types

npm i https://pkg.pr.new/@clerk/types@6955

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@6955

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@6955

commit: 378898b

@wobsoriano wobsoriano marked this pull request as draft October 10, 2025 04:50
@wobsoriano wobsoriano marked this pull request as ready for review October 10, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants