Repository navigation
feat: recommend ViteHub Env on Nuxt 5 - #45
Conversation
The shelve option, the Shelve install wizard and the transformEnvVars export are gone. Use the Shelve CLI to put secrets in the environment before nuxt build or before the server starts; NUXT_* values are validated as before.
docs/app.config.ts sat outside the Nuxt 4 app directory, so Docus never read the title, description or favicon. Move it, set the header logo and favicon, and turn off the AI assistant.
The landing hero renders the FaultyTerminal background tinted Nuxt green and decrypts the headline once on load. Both stay still with prefers-reduced-motion. The README banner uses a frame of the same shader.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Latest result Pull request merged. Final answersSession Pull request merged. All supplied checks passed. Pullfrog’s Node prerequisite finding remains fixed; no repair was needed. git diff --check and content assertions passed. Focused Vitest and ESLint commands were unavailable because host dependency setup rejected inherited minimumReleaseAgeExcludePrune configuration. Codemod publication remains the verified merge blocker. Pushed 60765cf resolving the main merge conflict and preserving the migration tip. Pullfrog’s prerequisite finding remains fixed. git diff --check and content assertions passed. Vitest and ESLint were unavailable because dependency refresh rejected inherited minimumReleaseAgeExcludePrune configuration. #39 and #40 are merged; the codemod publication prerequisite remains unmet. Session Pushed cc06b12 resolving the base-merge conflict while retaining runtime package verification. Focused Vitest passed both tests; workflow ESLint and git diff --check passed. Pullfrog’s prior P2 Node prerequisite finding remains fixed. Host dependency refresh rejected minimumReleaseAgeExcludePrune; pnpm’s automatic install succeeded. Merge prerequisites remain unmet: #39 is open and the codemod package returns npm 404. Session Pushed cc06b12 resolving the base-merge conflict while retaining runtime package verification. Focused Vitest passed both tests; workflow ESLint and git diff --check passed. Pullfrog’s prior P2 Node prerequisite finding remains fixed. Host dependency refresh rejected minimumReleaseAgeExcludePrune; pnpm’s automatic install succeeded. Merge prerequisites remain unmet: #39 is open and the codemod package returns npm 404. Session Pushed cc06b12 resolving the base-merge conflict while retaining runtime package verification. Focused Vitest passed both tests; workflow ESLint and git diff --check passed. Pullfrog’s prior P2 Node prerequisite finding remains fixed. Host dependency refresh rejected minimumReleaseAgeExcludePrune; pnpm’s automatic install succeeded. Merge prerequisites remain unmet: #39 is open and the codemod package returns npm 404. Pushed cc06b12 resolving the base-merge conflict while retaining runtime package verification. Focused Vitest passed both tests; workflow ESLint and git diff --check passed. Pullfrog’s prior P2 Node prerequisite finding remains fixed. Host dependency refresh rejected minimumReleaseAgeExcludePrune; pnpm’s automatic install succeeded. Merge prerequisites remain unmet: #39 is open and the codemod package returns npm 404. Pushed 8f0463d: repaired the stale packing assertion and fixed Pullfrog’s P2 Node prerequisite finding; thread resolved. Focused Vitest (2 tests), ESLint and git diff --check passed. Host dependency setup rejected minimumReleaseAgeExcludePrune; compiled packaging awaits CI. External prerequisites remain: #39 is open and @vite-hub/codemods returns npm 404. Session Pass interrupted; current webhook state retained. |
There was a problem hiding this comment.
Important
The migration guide is missing a runtime prerequisite that can make the documented flow fail for supported Nuxt 5 users.
Reviewed changes reviewed the Nuxt 5 lifecycle recommendation and every new migration-documentation surface in a82f148.
- Lifecycle warning — adds one-time install and upgrade warnings on Nuxt 5 while remaining silent on Nuxt 4.
- Migration entry points — adds README, guide-introduction, and site-banner links to the ViteHub Env migration.
- Migration guide — documents the codemod, generated Env declarations, call-site rewrites, manual follow-ups, and public-value deployment behavior.
- Tests — covers Nuxt 4 silence and Nuxt 5 install/upgrade warning output; the focused test file passes.
gpt-5.6-sol | 𝕏
The hero follows the color mode. In light mode the FaultyTerminal canvas is inverted and hue-rotated so the grid stays green on white, and blends into the page background in both modes.
On install or upgrade under Nuxt 5, print two lines that name npx @vite-hub/codemods nuxt-safe-runtime-config. Add a migration guide, a site banner and a README tip.
a82f148 to
e205678
Compare
|
8f0463d repairs the failing The PR body’s merge prerequisites remain unmet: #39 is still open (#40 is merged), vite-hub/vitehub#3165 is open, and |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes reviewed the follow-up commit added since the prior Pullfrog review.
- Documented the Node.js prerequisite — states the Node.js 24.15+ requirement before users run the codemod or install the migrated ViteHub dependencies, resolving the prior migration-guide concern.
- Refreshed the packed-runtime smoke check — replaces the stale
utils/transform.jsassertion with the currentnitro/validate-plugin.jsartifact;pnpm prepackand all three runtime assertions pass locally.
gpt-5.6-sol | 𝕏
commit: |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes reviewed the base-merge resolution added since the prior Pullfrog review.
- Preserved package verification — retained the packed
dist/runtime/nitro/validate-plugin.jsassertion while accepting the base branch’s removal of the obsolete transform artifact check;pnpm prepackand the resulting runtime assertions pass. - Reconciled compatibility documentation — retained the base branch’s Nuxt 4 support wording while preserving this PR’s Nuxt 5 migration recommendation.
gpt-5.6-sol | 𝕏

Stacked on #40, which is stacked on #39. Merge those first. This PR depends on vite-hub/vitehub#3165, which adds
@vite-hub/codemods. Release that package first, because the warning and the guide tell people to run it.Warning on Nuxt 5
The module now has
onInstallandonUpgradehooks. On Nuxt 5 they print two lines. On Nuxt 4 they print nothing.onUpgradematters because current users don't install again. They see the warning once, when they upgrade to this release. Validation is unchanged, so the module keeps working on Nuxt 5.Docs
UBanner, "On Nuxt 5? Move to @vite-hub/env with one command.", links to the guide. Docus has no banner option, sodocs/app/components/app/AppHeader.vuerenders the banner and then Docus's own header. The two render side by side with no wrapper element, so the header stays sticky./guide/migrate-to-vitehub-env. It covers why to migrate, how to run the codemod (--dry-runfirst), and what changes forenvSchemaand for$schema. The before/after examples come from the codemod's real output in feat(codemods): add @vite-hub/codemods with a nuxt-safe-runtime-config codemod vite-hub/vitehub#3165. It also lists the follow-ups the report gives, and a warning that Public Env is fixed at build time.Checks
test/vitehub-env-recommendation.test.ts: no warning on Nuxt 4. On Nuxt 5, the install and the upgrade hooks each print the two-line message with the codemod command.pnpm typecheckand eslint on the changed files pass./raw/guide/migrate-to-vitehub-env.mdreturns 200.🤖 Generated with Claude Code