Removes the remaining Next.js dependencies, compatibility shims, test
mocks, ESLint/TypeScript presets, and webpack/Next workarounds from
Studio following the TanStack Start migration.
Addresses FE-3107.
**Removed:**
- `next` and `next-router-mock` from `apps/studio/package.json` (and
updated `pnpm-lock.yaml`)
- Orphaned `apps/studio/compat/next/script.tsx` shim, `script.test.tsx`,
`compat/**` knip entry, and `nextCompat()` / `ssr.noExternal` `/^next/`
plumbing from `apps/studio/vite.config.ts`
- `apps/studio/tests/lib/route-mock.ts` and all `next-router-mock`
setup/imports across `tests/vitestSetup.ts`,
`tests/lib/custom-render.tsx`, and 12 test files
- `apps/studio/tests/pages/` directory (moved the 3 remaining tests to
`components/interfaces/Organization/Organization.utils.test.ts` and
`apps/studio/tests/routes/`)
- Unused `'use client'` directives across 23 Studio files
- Next.js/webpack workarounds: `graphiqlViteWorkers()` in
`vite.config.ts`, webpack `import.meta.glob` `try/catch` fallback in
`ConnectStepsSection.tsx`, shell `NODE_ENV=test` override in
`vite.config.ts` / root `package.json` / `studio-e2e-test.yml`, Next
`getPathMatch` and `_next` passthrough in `redirects.shared.*`,
`window.next?.router` check in `monaco-graphiql-coexistence.spec.ts`,
and unused `ANALYZE` env var in `apps/studio/turbo.jsonc`
- Next-only Sentry/chunk-load filters (`NEXT_NOT_FOUND`,
`NEXT_REDIRECT`, Next `/org/[slug]/` regex, `/app:\/\//`, dead
`includeThirdPartyErrorFilter` plumbing, webpack chunk error regex) and
stale Next/Pages Router comments, docs, and `#__next` CSS selector
**Changed:**
- `apps/studio/eslint.config.cjs`: switched from
`eslint-config-supabase/next` to the new `eslint-config-supabase/react`
preset (dropping `@next/next/no-img-element: off`, keeping `.next` /
`next-env.d.ts` ignored for local checkouts with stale pre-migration
build artifacts)
- `apps/studio/tsconfig.json`: extends `tsconfig/base.json` directly
instead of `tsconfig/nextjs.json` (identical resolved compiler options)
- `apps/studio/.github/eslint-rule-baselines.json`: pruned 33 stale
`pages/...` and `types/next.ts` entries without changing any rule
thresholds
- `apps/studio/tests/lib/custom-render.tsx`: backed
`TestFrameworkProvider` with TanStack Router instead of
`next-router-mock`
-
`apps/studio/components/interfaces/Integrations/GraphQL/GraphiQLTab.tsx`:
imports `graphiql/setup-workers/vite` directly
- `apps/studio/styles/globals.css`: replaced `@source
'../pages/**/*.{js,ts,jsx,tsx}'` with `@source
'../routes/**/*.{js,ts,jsx,tsx}'`
- `apps/studio/turbo.jsonc`: declared `"NEXT_PUBLIC_*"` in
`tasks.build.env` now that Turborepo infers `nitro` instead of `nextjs`
-
`apps/studio/components/interfaces/Organization/Organization.utils.ts`:
narrowed `buildOrgUrl`'s `slug` parameter to `string[] | undefined`
**Added:**
- `packages/eslint-config-supabase/shared.js` and
`packages/eslint-config-supabase/react.js` (plus `presets.test.ts`),
decoupling non-Next React apps from `eslint-config-next` with verified
zero non-`@next/*` rule drift while keeping
`eslint-config-supabase/next` unchanged for the Next.js apps
## To test
- Run `pnpm --filter eslint-config-supabase run test` and confirm preset
parity tests pass
- Run `pnpm --filter studio run lint`, `pnpm --filter studio run
lint:ratchet`, `pnpm --filter studio run typecheck`, `pnpm knip
--workspace apps/studio`, and `pnpm --filter studio run test`
- Run `pnpm --filter studio run build` and verify the production build,
prerendered routes, chunk-cycle check, and GraphiQL web workers succeed
- Smoke-test Studio locally (`pnpm dev:studio`): verify GraphiQL loads
cleanly, ConnectSheet framework steps render, and Tailwind styles on
route pages are intact
---------
Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
Aligns with our backend and updates to the latest LTS version of Node.
Vercel already supports Node 26, so we can switch the Vercel
configuration as well, but that shouldn't need immediate coordination as
part of the deployment. To prevent errors on Vercel builds, we are using
`>=24` in the `package.json`, so this can be deployed on 24.x and 26.x.
Once all Vercel deployments are switched to 26.x, we can pin this to 26.
The pnpm bump lives in a separate PR.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
## Problem
The Logflare repository link has no URL scheme, so GitHub treats it as a
path inside this repository.
## Solution
Add `https://` to the existing repository URL.
## Review instructions
1. Open the link in the changed page and confirm it reaches the intended
destination.
The corrected repository URL returns 200 and `git diff --check` passes.
Prettier reports existing formatting issues in `docker/CONFIG.md`; the
same result occurs on the base version.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
Co-authored-by: linzch3 <20380442+linzch3@users.noreply.github.com>
Co-authored-by: Nik Richers <nrichers@gmail.com>
## Problem
[supabase/supabase#52102](https://github.com/supabase/supabase/pull/52102)
renames *social login* to *social sign-in* in the docs, so every sign-in
method follows the same pattern: social sign-in, phone sign-in,
anonymous sign-in, and passwordless email sign-in. The marketing site,
the Dashboard, the UI library docs, the knowledge base, and the Docker
configuration still say "social login". Keeping one name per feature
across every surface matters: readers and AI agents moving between the
Dashboard, the docs, and the marketing site see the same term, and
search finds one name.
Part of [DOCS-1459](https://linear.app/supabase/issue/DOCS-1459).
## Solution
"Social login" is "social sign-in" in visible text on:
- **Marketing site:** the Auth product page, including an icon grid's
`aria-label`, the home page's frameworks section, the social sign-in
feature page's title, subtitle, and description, the Markdown versions
of the Auth and home pages, and the Supabase vs Firebase comparison.
- **Dashboard:** the command menu entry for Auth providers, "Auth:
Providers (Social Sign-in, SSO)".
- **UI library docs:** the link to the docs on six social auth block
pages, and one sentence on the React Router page.
- **Knowledge base:** the link text in the Auth0 migration guide.
- **Docker configuration:** the comments in `docker-compose.yml` and
`.env.example`.
Intentionally unchanged:
- **URLs, code names, and file names:** `/features/social-login`, links
to `/docs/guides/auth/social-login/...`, `handleSocialLogin` in the UI
library blocks, and image files such as `social-login.png`. A separate
PR moves the URLs to `social-sign-in` with redirects.
- **Dated and quoted content:** blog posts, an event page, a customer
story, and a quoted user tweet.
## Review notes
- **Dashboard search:** the command menu's `value` is also its search
text, so typing "social login" no longer matches the Auth providers
entry. "Social", "providers", and "SSO" still match.
- **UI library block names:** the blocks are named `social-auth` (for
example, `social-auth-nextjs`), and the name is part of their install
commands. Renaming a block breaks those commands, so that's a decision
for the UI library's owners.
## Preview links
- [Auth product
page](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/auth)
- [Home
page](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/)
- [Social sign-in feature
page](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/features/social-login)
- [Supabase vs
Firebase](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/alternatives/supabase-vs-firebase)
- [UI library: Social auth
(Next.js)](https://ui-library-git-alexisa-docs-1459-surfaces-supabase.vercel.app/ui/docs/nextjs/social-auth)
- [Knowledge base: Migrate from
Auth0](https://kb-git-alexisa-docs-1459-surfaces-supabase.vercel.app/kb/guides/migrate-from-auth0)