Skip to content

Instantly share code, notes, and snippets.

@cgarrovillo
Created April 26, 2024 00:37
Show Gist options
  • Save cgarrovillo/c0a05751b62184f1e8f5e3ec4692775f to your computer and use it in GitHub Desktop.
Save cgarrovillo/c0a05751b62184f1e8f5e3ec4692775f to your computer and use it in GitHub Desktop.
Installing dependencies by 'expo install' in a monorepo

apps/mobile/package.json

    "expo install": "npx expo install"

bash; from root

npm run "expo install" --workspace=mobile -- zustand

where the workspace parameter is automatically determined by npm workspaces, as configured in the root package.json under "workspaces":

  "workspaces": [
    "apps/mobile",
    "apps/web",
    "packages/engine"
  ],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment