Skip to content

feat: add @netlify/nuxt module#1423

Merged
danielroe merged 7 commits intonuxt:mainfrom
serhalp:feat/add-netlify-module
Mar 11, 2026
Merged

feat: add @netlify/nuxt module#1423
danielroe merged 7 commits intonuxt:mainfrom
serhalp:feat/add-netlify-module

Conversation

@serhalp
Copy link
Contributor

@serhalp serhalp commented Mar 11, 2026

🔗 Linked issue

😶

📚 Description

This PR adds @netlify/nuxt to the module registry. See https://npmx.dev/package/@netlify/nuxt.

The current module under the netlify name is a very outdated, unmaintained module that only supports Nuxt 2. See https://npmx.dev/package/@aceforth/nuxt-netlify. It seems reasonable to me to take the name over with the official, maintained @netlify/nuxt.

serhalp added 2 commits March 10, 2026 20:35
See https://npmx.dev/package/@netlify/nuxt.

The current module under the `netlify` name is a very outdated, unmaintained module that only
supports Nuxt 2. See https://npmx.dev/package/@aceforth/nuxt-netlify.
@coderabbitai
Copy link

coderabbitai bot commented Mar 11, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 28f98cd3-943b-427f-93b6-5e7216eb55aa

📥 Commits

Reviewing files that changed from the base of the PR and between 98811d0 and 479a42e.

📒 Files selected for processing (1)
  • modules/netlify.yml

📝 Walkthrough

Walkthrough

Updated two module manifest files. modules/netlify.yml replaces Nuxt-Netlify–specific metadata with Netlify primitives and related URLs: description, repo, npm package, icon, github, website, learn_more, maintainers, and Nuxt compatibility updated from ^2.0.0 to ^3.0.0 || ^4.0.0. modules/netlify-files.yml updates only the icon value from netlify.png to netlify.svg. No functional code changes were made.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding the @netlify/nuxt module to the registry, which is the primary objective of this PR.
Description check ✅ Passed The description is directly related to the changeset, explaining why @netlify/nuxt is being added to replace the outdated netlify module.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@modules/netlify.yml`:
- Around line 4-5: The repo field is pointing at the monorepo root (repo:
netlify/primitives) which causes sync() to read the wrong package.json; update
the repo value to reference the Nuxt package subdirectory (use repo:
netlify/primitives#main/packages/nuxt-module) so the correct package.json for
the `@netlify/nuxt` npm package is fetched and the npm field is not overwritten.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d6c77a62-f346-42f9-8b36-753bdef2b951

📥 Commits

Reviewing files that changed from the base of the PR and between e604f1e and 075e8b8.

⛔ Files ignored due to path filters (2)
  • icons/netlify.png is excluded by !**/*.png
  • icons/netlify.svg is excluded by !**/*.svg
📒 Files selected for processing (1)
  • modules/netlify.yml

@serhalp
Copy link
Contributor Author

serhalp commented Mar 11, 2026

CI failure seems to be unrelated(?)

Do you think while I'm here we can remove https://github.com/nuxt/modules/blob/e604f1e7ea5f13454df886fe82666d0d28e239d2/modules/netlify-files.yml? It also seems to be quite outdated (Nuxt 2 only) and of limited value.

Co-authored-by: Philippe Serhal <philippe.serhal@gmail.com>
@danielroe danielroe merged commit b052ab7 into nuxt:main Mar 11, 2026
2 of 4 checks passed
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.

2 participants