Skip to content

fix(nuxt,schema): move config type to schema + mark type peerDeps#34864

Merged
danielroe merged 4 commits into
mainfrom
fix/nuxt-config-type
Apr 25, 2026
Merged

fix(nuxt,schema): move config type to schema + mark type peerDeps#34864
danielroe merged 4 commits into
mainfrom
fix/nuxt-config-type

Conversation

@danielroe
Copy link
Copy Markdown
Member

🔗 Linked issue

📚 Description

this moves the source of truth for DefineNuxtConfig to @nuxt/schema - which is also of course where the configuration itself is located.

additionally, we use optional peerDependencies for the type artifacts that persist

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions Bot added 5.x 🐛 bug Something isn't working as expected labels Apr 24, 2026
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 24, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedtinyglobby@​0.2.15991007786100
Addedignore@​7.0.59910010082100
Addedpathe@​2.0.31001009282100
Addedjiti@​2.6.19710010082100
Addedwebpack-hot-middleware@​2.26.110010010086100
Addedsemver@​7.7.410010010086100
Addedmagic-string@​0.30.2110010010086100
Addedpicomatch@​4.0.410010010090100

View full report

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 24, 2026

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm markdown-it is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: pnpm-lock.yamlnpm/markdown-it@14.1.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/markdown-it@14.1.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@coderabbitai

This comment has been minimized.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 24, 2026

Open in StackBlitz

@nuxt/kit

npm i https://pkg.pr.new/@nuxt/kit@34864

@nuxt/nitro-server

npm i https://pkg.pr.new/@nuxt/nitro-server@34864

nuxt

npm i https://pkg.pr.new/nuxt@34864

@nuxt/rspack-builder

npm i https://pkg.pr.new/@nuxt/rspack-builder@34864

@nuxt/schema

npm i https://pkg.pr.new/@nuxt/schema@34864

@nuxt/vite-builder

npm i https://pkg.pr.new/@nuxt/vite-builder@34864

@nuxt/webpack-builder

npm i https://pkg.pr.new/@nuxt/webpack-builder@34864

commit: 621d814

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 24, 2026

Merging this PR will not alter performance

✅ 20 untouched benchmarks
⏩ 3 skipped benchmarks1


Comparing fix/nuxt-config-type (621d814) with main (3a2e081)

Open in CodSpeed

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@danielroe danielroe changed the title fix(nuxt,schema): defer to c12 types from schema fix(nuxt,schema): move config type to schema + mark type peerDeps Apr 25, 2026
@danielroe danielroe merged commit 56690dc into main Apr 25, 2026
31 checks passed
@danielroe danielroe deleted the fix/nuxt-config-type branch April 25, 2026 15:43
@github-actions github-actions Bot mentioned this pull request Apr 25, 2026
4 tasks
@github-actions github-actions Bot mentioned this pull request Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5.x 🐛 bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant