Skip to content

Added yarn dev:sqlite command for SQLite development#27088

Merged
cmraible merged 1 commit intomainfrom
add-yarn-dev-sqlite-command
Apr 2, 2026
Merged

Added yarn dev:sqlite command for SQLite development#27088
cmraible merged 1 commit intomainfrom
add-yarn-dev-sqlite-command

Conversation

@cmraible
Copy link
Copy Markdown
Collaborator

@cmraible cmraible commented Apr 2, 2026

no refs

Summary

  • Added compose.dev.sqlite.yaml Docker Compose override that disables the MySQL container and configures Ghost to use SQLite
  • Added yarn dev:sqlite script to package.json for running the dev environment with SQLite instead of MySQL
  • Mounts the SQLite database directory to the host for easy access
  • Mostly this is useful when testing migrations on sqlite

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 2, 2026

Walkthrough

Two changes are introduced to support SQLite-based development. A new compose.dev.sqlite.yaml file is added with Docker Compose service definitions, including a mysql service gated behind a mysql profile and a ghost-dev service configured for SQLite. The ghost-dev service mounts the local Ghost data directory, sets the database client to sqlite3, and points to a local SQLite database file. It includes a non-required dependency on the mysql service. Additionally, a new npm script dev:sqlite is added to package.json that invokes the existing Docker development target with the new SQLite Compose configuration.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: adding a yarn dev:sqlite command for SQLite development, which is the primary focus of the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The description accurately describes the changeset, mentioning the new SQLite compose file, the yarn script, database mounting, and the migration testing use case.

✏️ 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 add-yarn-dev-sqlite-command

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.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 2, 2026

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.20%. Comparing base (93f5831) to head (f0c2739).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27088      +/-   ##
==========================================
- Coverage   73.20%   73.20%   -0.01%     
==========================================
  Files        1531     1531              
  Lines      121832   121810      -22     
  Branches    14701    14699       -2     
==========================================
- Hits        89190    89172      -18     
- Misses      31625    31644      +19     
+ Partials     1017      994      -23     
Flag Coverage Δ
admin-tests 54.42% <ø> (+0.02%) ⬆️
e2e-tests 73.20% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cmraible cmraible marked this pull request as ready for review April 2, 2026 22:20
@cmraible cmraible merged commit d8137f1 into main Apr 2, 2026
76 of 78 checks passed
@cmraible cmraible deleted the add-yarn-dev-sqlite-command branch April 2, 2026 22:56
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