Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(expo/ios): use dynamic lookup to find path to migration script #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hassankhan
Copy link

@hassankhan hassankhan commented Jun 8, 2024

Changed the PRISMA_MIGRATIONS variable to use the Node binary set by Expo for looking up where
@prisma/react-native is installed. This allows using @prisma/react-native in a monorepo where
the node_modules/ folder may be hoisted to the top level of the workspace.

The commit also cleans up extraneous leading whitespace from the commands added by the Expo config
plugin.

Changed the `PRISMA_MIGRATIONS` variable to use the Node binary set by Expo for looking up where
`@prisma/react-native` is installed. This allows using `@prisma/react-native` in a monorepo where
the `node_modules/` folder may be hoisted to the top level of the workspace.

The commit also cleans up extraneous leading whitespace from the commands added by the Expo config
plugin.
@hassankhan hassankhan force-pushed the @hassankhan/expo/improve-migration-script branch from 86269ab to b63be4b Compare June 8, 2024 12:39
@CLAassistant
Copy link

CLAassistant commented Jul 8, 2024

CLA assistant check
All committers have signed the CLA.

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