Skip to content

monorepo warning#268

Merged
ospfranco merged 1 commit into
OP-Engineering:mainfrom
subtleGradient:patch-1
May 15, 2025
Merged

monorepo warning#268
ospfranco merged 1 commit into
OP-Engineering:mainfrom
subtleGradient:patch-1

Conversation

@subtleGradient
Copy link
Copy Markdown
Contributor

This pull request updates the installation documentation for the op-sqlite package to include important guidance for users working in monorepo environments.

Documentation improvements:

  • docs/docs/installation.md: Added a note explaining that when using a monorepo, the "op-sqlite" configuration must be added to the root package.json file. The note also provides an alternative solution to prevent the package from being hoisted to the root node_modules and suggests checking the ios/Podfile.lock file for installation details.

@ospfranco
Copy link
Copy Markdown
Contributor

Thanks for the PR! Actually, the monorepo pattern was working without troubles when using pnpm, which tool are you using?

@subtleGradient
Copy link
Copy Markdown
Contributor Author

Bun

But the same issue will happen for any package manager that hoists the op-sqlite package to the root node_modules (based on the podspec implementation)

@ospfranco
Copy link
Copy Markdown
Contributor

Ah bun! Got it! Thanks!

@ospfranco ospfranco merged commit 4cffc7e into OP-Engineering:main May 15, 2025
8 checks passed
@subtleGradient subtleGradient deleted the patch-1 branch May 16, 2025 05:24
subtleGradient pushed a commit to effect-native/op-sqlite that referenced this pull request Sep 12, 2025
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