Skip to content

feat(landing): migrate to vinext and fix deploy regressions#4882

Merged
DIYgod merged 1 commit intodevfrom
DIYgod/landing-522-fix
Feb 26, 2026
Merged

feat(landing): migrate to vinext and fix deploy regressions#4882
DIYgod merged 1 commit intodevfrom
DIYgod/landing-522-fix

Conversation

@DIYgod
Copy link
Member

@DIYgod DIYgod commented Feb 26, 2026

Description

This PR migrates apps/landing from Next.js/OpenNext to vinext, including Vite config, worker entry, and Wrangler setup for Cloudflare.
It replaces middleware with a proxy implementation that handles locale rewrites for normal and .rsc requests while bypassing static/internal routes.
It hardens locale resolution in layout, download metadata, and next-intl request config, fixing wrong-language and not-found regressions in dev deploy.
It also removes the server action for GitHub stars and switches to client-side fetch to avoid RSC action errors that could blank the first page render.

PR Type

  • Feature
  • Bugfix
  • Hotfix
  • Other (please describe):

Screenshots (if UI change)

N/A

Demo Video (if new feature)

N/A

Linked Issues

N/A

Additional context

Validated with pnpm --filter @follow/landing typecheck and pnpm --filter @follow/landing build.

Changelog

  • I have updated the changelog/next.md with my changes.

@safedep
Copy link

safedep bot commented Feb 26, 2026

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

Package Details
Package Malware Vulnerability Risky License Report
icon @cloudflare/vite-plugin @ 1.25.5
apps/landing/package.json pnpm-lock.yaml pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @cloudflare/workerd-darwin-64 @ 1.20260302.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @cloudflare/workerd-darwin-arm64 @ 1.20260302.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @cloudflare/workerd-linux-64 @ 1.20260302.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @cloudflare/workerd-linux-arm64 @ 1.20260302.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @cloudflare/workerd-windows-64 @ 1.20260302.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @resvg/resvg-wasm @ 2.4.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/pluginutils @ 1.0.0-rc.5
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @unpic/core @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @unpic/react @ 1.0.2
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @vercel/og @ 0.8.6
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @vitejs/plugin-rsc @ 0.5.21
apps/landing/package.json pnpm-lock.yaml pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon acorn-loose @ 8.5.2
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon css-gradient-parser @ 0.0.16
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon is-reference @ 3.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon miniflare @ 4.20260302.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon periscopic @ 4.0.2
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon react-server-dom-webpack @ 19.2.4
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon rsc-html-stream @ 0.0.7
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon satori @ 0.16.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon srvx @ 0.11.8
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon turbo-stream @ 3.2.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon unpic @ 4.2.2
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon vinext @ 0.0.9
apps/landing/package.json pnpm-lock.yaml pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon vite @ 7.3.1
apps/landing/package.json pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon vitefu @ 1.1.2
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon workerd @ 1.20260302.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon wrangler @ 4.68.1
apps/landing/package.json pnpm-lock.yaml pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon zimmerframe @ 1.1.4
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗

This report is generated by SafeDep Github App

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@DIYgod DIYgod merged commit 21fb6df into dev Feb 26, 2026
13 checks passed
@DIYgod DIYgod deleted the DIYgod/landing-522-fix branch February 26, 2026 04:54
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