prisma / react-native-prisma

Apache License 2.0
200 stars 9 forks source link

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

Open hassankhan opened 5 months ago

hassankhan commented 5 months ago

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.

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.