
add-dependencies
npm run add:dependencies -- --args <workspacePkg> <dependencies>
npx turbo gen dependencies --args <workspacePkg> <dependencies>
Less of a generator and more of a utility script, this generator installs Expo SDK compatible versions of the specified dependencies in the selected workspace’s package.json
.
- add-dependencies.ts
Prompt Arguments
Argument | Type | Question / Description |
---|---|---|
workspacePath | autocomplete | Where would you like to install these dependencies? => e.g. @app/core or some-package |
dependencies | text | Which dependencies should we install Expo SDK compatible versions for? => string (comma separated) |
Resulting File Changes
# Installs dependencies in the selected workspace's package.json ❇️