Skip to content

fix(content): use native SQLite connector instead of better-sqlite3#286

Merged
benjamincanac merged 1 commit into
mainfrom
fix/content-sqlite-vercel
May 11, 2026
Merged

fix(content): use native SQLite connector instead of better-sqlite3#286
benjamincanac merged 1 commit into
mainfrom
fix/content-sqlite-vercel

Conversation

@benjamincanac

@benjamincanac benjamincanac commented May 11, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Configured the content module to use native SQLite connector for database operations.
    • Removed external SQLite library dependency from the project.
    • Updated workspace configuration to reflect dependency changes.

Review Change Stack

@benjamincanac benjamincanac changed the title fix(content): use native SQLite connector instead of better-sqlite3 fix(content): use native SQLite connector instead of better-sqlite3 May 11, 2026
@coderabbitai

coderabbitai Bot commented May 11, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 364a2ff5-bc34-46f6-a80b-c4b48852d68a

📥 Commits

Reviewing files that changed from the base of the PR and between e4d424b and 4972641.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • nuxt.config.ts
  • package.json
  • pnpm-workspace.yaml
💤 Files with no reviewable changes (2)
  • package.json
  • pnpm-workspace.yaml

📝 Walkthrough

Walkthrough

The PR enables Nuxt Content's native SQLite connector by configuring content.experimental.sqliteConnector: 'native' in the Nuxt configuration, then removes the external better-sqlite3 dependency from package.json and the workspace's onlyBuiltDependencies list since it is no longer needed.

Changes

Native SQLite Connector Migration

Layer / File(s) Summary
Content Configuration
nuxt.config.ts
The Nuxt config now includes content: { experimental: { sqliteConnector: 'native' } } to enable the native SQLite connector.
Dependency Cleanup
package.json, pnpm-workspace.yaml
The better-sqlite3 dependency is removed from the dependencies list in package.json and from onlyBuiltDependencies in pnpm-workspace.yaml.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A rabbit hops through deps so fine,
Says "native's better—SQLite's mine!"
Out goes the old, in comes the new,
Config and cleanup, both bright and true.
Nuxt Content blooms with less to do!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically summarizes the main change: switching the Nuxt content module from the better-sqlite3 dependency to the native SQLite connector, as evidenced by changes across all three modified files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/content-sqlite-vercel

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.

@vercel

vercel Bot commented May 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
v0-saas-template-7943 Ready Ready Preview, Comment, Open in v0 May 11, 2026 0:17am

Comment thread nuxt.config.ts
@benjamincanac
benjamincanac merged commit cf3fb63 into main May 11, 2026
6 checks passed
@benjamincanac
benjamincanac deleted the fix/content-sqlite-vercel branch May 11, 2026 12:21
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