Skip to content

Add Nitro and Nuxt integration entries#15

Merged
onmax merged 7 commits into
mainfrom
refactor/nitro-nuxt-entries
May 22, 2026
Merged

Add Nitro and Nuxt integration entries#15
onmax merged 7 commits into
mainfrom
refactor/nitro-nuxt-entries

Conversation

@onmax

@onmax onmax commented May 3, 2026

Copy link
Copy Markdown
Owner

Refactors runtime config validation around explicit nuxt-safe-runtime-config/nitro and nuxt-safe-runtime-config/nuxt package entries while keeping the root import as the backward-compatible Nuxt module.

The Nitro entry now owns build-time validation, runtime validation plugin registration, generated validation artifacts, and the thin Nitro v3/v2 runtime-config import fallback. The Nuxt adapter delegates validation into Nitro, keeps auto-imported useSafeRuntimeConfig() types, and leaves the existing Shelve integration on the Nuxt/root path only.

This also adds Nitro-only fixture coverage, Nuxt build regression coverage for Nitro-owned validation artifacts and build validation failures, and extends the packed-release smoke test with a Nitro consumer that imports /nitro without installing Nuxt. Docs now clarify that generated validation artifact paths are internal implementation details.


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

@vercel

vercel Bot commented May 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nuxt-safe-runtime-config Ready Ready Preview, Comment May 22, 2026 12:15pm
safe-runtime-config Ready Ready Preview, Comment May 22, 2026 12:15pm

@pkg-pr-new

pkg-pr-new Bot commented May 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/nuxt-safe-runtime-config@15

commit: 39d1c1d

@onmax
onmax marked this pull request as ready for review May 3, 2026 09:08

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9a7fc1bf10

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/nitro.ts Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0e724cba8a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/nitro.ts Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 50c4dee541

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/nitro.ts Outdated
@onmax
onmax merged commit ed451e2 into main May 22, 2026
7 checks passed
@onmax
onmax deleted the refactor/nitro-nuxt-entries branch May 22, 2026 12:17
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