Skip to content

fix: Add missing inline import plugin install steps#687

Open
klmkyo wants to merge 1 commit into
drizzle-team:mainfrom
klmkyo:main
Open

fix: Add missing inline import plugin install steps#687
klmkyo wants to merge 1 commit into
drizzle-team:mainfrom
klmkyo:main

Conversation

@klmkyo

@klmkyo klmkyo commented Jul 7, 2026

Copy link
Copy Markdown

When setting up a mobile app with Drizzle migrations, babel.config.js references the inline-import Babel plugin, but the Expo and OP-SQLite docs are missing a step to install babel-plugin-inline-import, despite the exact step being present in other, similiar docs.

This PR adds this missing install step to:

  • /docs/get-started/expo-new.mdx
  • /docs/get-started/op-sqlite-new.mdx

The added section follows the already established pattern used in:

  • /docs/sqlite/connect-expo-sqlite.mdx
  • /docs/sqlite/connect-op-sqlite.mdx
  • /docs/latest-releases/drizzle-orm-v0292.mdx

Additionally, in all 5 pages, instead of hardcoding the npm manager, a change was made to use the <Npm> helper.

Before:

Screenshot 2026-07-07 at 14 02 07

After:

Screenshot 2026-07-07 at 14 04 44

Copilot AI review requested due to automatic review settings July 7, 2026 12:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the Drizzle ORM docs for Expo/React Native + migrations to include the missing installation step for babel-plugin-inline-import, and standardizes package install snippets to use the shared <Npm> MDX helper instead of hardcoded npm commands.

Changes:

  • Add an explicit “Install babel plugin” step to the Expo and OP-SQLite get-started guides.
  • Replace inline npm install ... code fences with the <Npm> helper in the related SQLite connection guides and a release note.
  • Add the missing import Npm from "@mdx/Npm.astro"; where needed.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/content/docs/sqlite/connect-op-sqlite.mdx Replaces the hardcoded npm install snippet with <Npm> for the inline-import plugin step.
src/content/docs/sqlite/connect-expo-sqlite.mdx Replaces the hardcoded npm install snippet with <Npm> for the inline-import plugin step.
src/content/docs/latest-releases/drizzle-orm-v0292.mdx Switches the inline-import install snippet to <Npm> and adds the required Npm import.
src/content/docs/get-started/op-sqlite-new.mdx Adds a missing “Install babel plugin” step using <Npm> and renumbers subsequent steps.
src/content/docs/get-started/expo-new.mdx Adds a missing “Install babel plugin” step using <Npm> and renumbers subsequent steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +64 to +66
<Npm>
babel-plugin-inline-import
</Npm>

@klmkyo klmkyo Jul 7, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Without the copilot suggested change:

Screenshot 2026-07-07 at 14 27 44

With the copilot suggested change (the indentation on 1. is inconsistent):

Screenshot 2026-07-07 at 14 27 55

I'm assuming that this suggestion should be ignored then

Comment thread src/content/docs/get-started/expo-new.mdx
Comment thread src/content/docs/get-started/op-sqlite-new.mdx

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Comment thread src/content/docs/sqlite/connect-expo-sqlite.mdx
Comment thread src/content/docs/sqlite/connect-op-sqlite.mdx
Comment thread src/content/docs/get-started/expo-new.mdx
Comment thread src/content/docs/get-started/op-sqlite-new.mdx
Comment thread src/content/docs/latest-releases/drizzle-orm-v0292.mdx
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