Skip to content

chore(svelte): prepare v0 docs hostname routing - #2418

Draft
dancormier wants to merge 1 commit into
mainfrom
STACKS-855/svelte-v0-routing
Draft

dancormier wants to merge 1 commit into
mainfrom
STACKS-855/svelte-v0-routing

Conversation

@dancormier

Copy link
Copy Markdown
Contributor

Summary

Prepare v0.svelte.stackoverflow.design to serve legacy Svelte documentation through the existing Netlify project. Keep the shared v2 Git branch and its branch deployment as the content source.

This is the routing preparation only; the new domain alias and live verification follow after deployment.

Changes

  • Upgrade HTTP requests for the v0 hostname to HTTPS.
  • Proxy HTTPS v0 requests to v2--stacks-svelte.netlify.app with a forced 200 rewrite.
  • Preserve the existing beta redirect and leave current documentation, previews, and the old v2 hostname unchanged.
  • Check each routing block independently in regression tests.
  • No dependency changes, package version bump, or changeset: this affects hosting configuration only.

How to test

  1. Run npm ci, then node --test packages/stacks-svelte/tools/netlify-config.test.js. All four focused checks passed.
  2. Run npm run lint -w packages/stacks-svelte, npm run build -w packages/stacks-svelte, and npm run test -w packages/stacks-svelte. Passed: zero Svelte diagnostics, 591 browser tests, and 32 Node tests. Existing Storybook deprecation and chunk-size warnings remain.
  3. Check the Svelte deploy preview if generated. Current documentation should remain accessible without redirecting.
  4. After production deployment, add v0.svelte.stackoverflow.design as a production domain alias. Verify HTTPS, legacy content, Storybook navigation, component assets, and query preservation while the browser URL stays on v0.
  5. Keep the v2 branch deployment enabled. Do not move the old hostname or update public links until the live proxy checks pass. Same-project branch proxying remains unverified until this step.

@changeset-bot

changeset-bot Bot commented Sep 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9ad8ff0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

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

Click here to learn what changesets are, and how to add one.

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

@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for stacks-svelte ready!

Name Link
🔨 Latest commit 9ad8ff0
🔍 Latest deploy log https://app.netlify.com/projects/stacks-svelte/deploys/6aba8c68aef2cc000870a4a2
😎 Deploy Preview https://deploy-preview-2418--stacks-svelte.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for stackoverflow-email ready!

Name Link
🔨 Latest commit 9ad8ff0
🔍 Latest deploy log https://app.netlify.com/projects/stackoverflow-email/deploys/6aba8c68e6f3280008fff944
😎 Deploy Preview https://deploy-preview-2418--stackoverflow-email.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for stacks ready!

Name Link
🔨 Latest commit 9ad8ff0
🔍 Latest deploy log https://app.netlify.com/projects/stacks/deploys/6aba8c68945f870008323610
😎 Deploy Preview https://deploy-preview-2418--stacks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant