Skip to content
This repository was archived by the owner on Nov 30, 2026. It is now read-only.

Remove the old TanStack site now that Astro is the production website - #186

Merged
Urigo merged 2 commits into
mainfrom
remove-old-site
Sep 2, 2026
Merged

Urigo merged 2 commits into
mainfrom
remove-old-site

Conversation

@Urigo

@Urigo Urigo commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

What

Removes the old TanStack Start site — 647 files, −53,083 lines — now that the Astro site serves production.

packages/documentation is reduced to exactly what the Astro site consumes (mapped by auditing every cross-package import): the MDX content, public/ assets, redirects.ts, fonts, docs-code-config.ts, the company-logo components, and the landing-page images. Everything else is gone: the TanStack/nitro app, its e2e suite, tools, and deploy configs.

Alongside the deletion

  • Root: the fix-nitro-nightly postinstall, nitro override, and nitro/start-plugin patches are removed (fumadocs-core, mermaid-isomorphic, and wrangler patches stay — still used by the Astro site and search-api); the stale wrangler@4.71 patch and the temporary/ snapshot deleted; 49 packages drop out of the lockfile
  • CI: website.yml and e2e.yml deleted and unwired; test.yml no longer builds the old site first; check-seo lives on — ported to documentation-astro/scripts and check-meta-tags.yml now builds the Astro site and runs it (verified: all 559 pages pass, including the JSON-LD requirement)
  • documentation-astro: takes over the playwright install chromium postinstall (build-time mermaid rendering needs it), gains test:bun so its existing unit tests (remark plugins, llms) actually run in CI — they were never wired before — and hosts check-seo
  • design-system: the tailwindcss-animate-compatible utilities its components use lived in the old site's app.css; they move into the design system's own style.css (which the Astro site already imports), and the eslint tailwind entryPoint now points at the Astro stylesheet
  • README rewritten for the new layout

Not removed (intentionally)

  • Blog/case-study/product-update content and all shared assets
  • The docs workspace package itself — it remains as the content home, and on-mdx-change link validation keeps working against it unchanged
  • design-system + storybook (own product), search-api

Verification

Fresh bun install (lockfile committed), prefixed and plain Astro builds pass the base-path verifier, check-seo passes all 559 pages, unit tests pass, and lint + typecheck are green across all packages.

Follow-up worth considering (not in this PR): the deleted Playwright e2e suite tested the old site's routes; an Astro-flavored smoke suite could be rebuilt on top of the preview deploys if wanted.

🤖 Generated with Claude Code

packages/documentation is reduced to what the Astro site consumes:
the MDX content, public assets, redirects.ts, fonts, docs-code-config,
the company logo components, and the images referenced by landing
pages. Everything else goes: the TanStack/nitro app (routes, lib,
components, styles, server entry), its e2e suite, tools, and deploy
configs.

Alongside:
- Root: fix-nitro-nightly postinstall, the nitro override, and the
  nitro/start-plugin patches removed (fumadocs-core, mermaid-isomorphic,
  and wrangler patches stay — still used); stale wrangler@4.71 patch and
  the temporary/ snapshot deleted; 49 packages drop out of the lockfile
- CI: website.yml and e2e.yml deleted and unwired from main/pr; test.yml
  no longer builds the old site; check-meta-tags now builds the Astro
  site and runs a ported check-seo (verified: 559 pages pass, including
  the JSON-LD requirement)
- documentation-astro: takes over the playwright-chromium postinstall
  (build-time mermaid rendering), gains test:bun so its existing unit
  tests actually run in CI, and hosts the ported check-seo script
- design-system: the tailwindcss-animate-compatible utilities its
  components use move into its own style.css (they lived in the old
  site's app.css), and the eslint tailwind entryPoint now points at the
  Astro stylesheet
- README rewritten for the new layout

Verified: prefixed and plain Astro builds pass the base-path verifier,
check-seo passes all 559 pages, unit tests pass, lint and typecheck
green across all packages after a fresh install.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 3b8d43b2-6f92-4327-9972-7c31d58f16a9


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Deployment URL
📚 Storybook https://pr-186.the-guild-docs-storybook.pages.dev

The company-logo React components stay in the docs package (moving them
into the Astro package trips rolldown's JSX handling for in-src .tsx),
but the package now declares its react dependency instead of relying on
hoisting — CI's fresh install couldn't resolve react/jsx-runtime from a
dependency-less package. Also formats the files the previous commit
missed (the formatter had been run from a package directory instead of
the repo root).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

@Urigo
Urigo merged commit 185f736 into main Sep 2, 2026
7 checks passed
@Urigo
Urigo deleted the remove-old-site branch September 2, 2026 20:03

This branch was successfully deployed

2 active deployments
astro-preview — 05107189 Deployed Sep 2, 2026 by Urigo via astro-website-preview / deployment #801
storybook-preview — 05107189 Deployed Sep 2, 2026 by Urigo via storybook-preview / deployment #801
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants