Skip to content

feat: add @nuxt-drizzle/module#1390

Open
Myshkouski wants to merge 4 commits into
nuxt:mainfrom
Myshkouski:feat/module-drizzle
Open

feat: add @nuxt-drizzle/module#1390
Myshkouski wants to merge 4 commits into
nuxt:mainfrom
Myshkouski:feat/module-drizzle

Conversation

@Myshkouski
Copy link
Copy Markdown

@Myshkouski Myshkouski commented Feb 6, 2026

🔗 Linked issue

Resolves #1391

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Nuxt Drizzle is a Nuxt module for automating Drizzle ORM setup with support for multiple datasources and conditional database driver imports.

Key Features:

  • 🚅 Multiple Datasources - Support for multiple named database connections
  • 📦 Conditional imports - Avoid bundling unused database drivers
  • 🔧 Seamless Nuxt integration - Auto-discovers Drizzle configs in subdirectories
  • 🛠️ Migration support - Built-in migration handling with hooks
  • Multi-database support - SQLite, PostgreSQL, and MySQL

The module simplifies Drizzle ORM integration in Nuxt/Nitro applications by:

  • Auto-configuring database connections from nuxt.config.ts
  • Providing useDrizzle(event, name) composable for accessing datasources
  • Supporting auto-discovery of Drizzle config files in subdirectories
  • Integrating with Nitro's experimental database feature
  • Providing lifecycle hooks for migrations and seeding

Target Users:

  • Nuxt developers who want to use Drizzle ORM

  • Projects requiring multiple database connections

  • Applications needing type-safe database operations with schema awareness

@Myshkouski Myshkouski marked this pull request as ready for review February 6, 2026 20:44
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 6, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a6b6b993-bcfd-4ed8-aa67-cde600d01edb

📥 Commits

Reviewing files that changed from the base of the PR and between a674320 and f62bce5.

📒 Files selected for processing (1)
  • modules/drizzle.yml
✅ Files skipped from review due to trivial changes (1)
  • modules/drizzle.yml

📝 Walkthrough

Walkthrough

A new YAML manifest file for the Drizzle ORM Nuxt module has been added to the modules directory. The file declares metadata for a third-party Nuxt module named "drizzle," including its description, repository, npm package reference, icon, GitHub URL, website, category, type, a single maintainer entry, and Nuxt version compatibility requirements (>=3.0.0).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat: add @nuxt-drizzle/module' accurately describes the main change—adding a new Nuxt module descriptor for drizzle.
Description check ✅ Passed The description is comprehensive and directly related to the changeset, providing context about the Nuxt Drizzle module and its key features.
Linked Issues check ✅ Passed The PR successfully addresses issue #1391 by adding the module manifest file with all required metadata (repository, npm package, description, Nuxt compatibility).
Out of Scope Changes check ✅ Passed The single file added (modules/drizzle.yml) is entirely in scope—it directly fulfills the module listing request from issue #1391 with no extraneous changes.
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

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.

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.

[Module Listing Request]: @nuxt-drizzle/module

1 participant