Alt description missing in image

add-dependencies

npm run add:dependencies

Interactive, or with args (positional or named; --args optional):

npm run add:dependencies -- --args <workspacePkg> <dependencies>
npm run add:dependencies -- @app/core zod date-fns
npm run add:dependencies -- --workspacePkg @app/core --dependencies zod date-fns

Less of a generator and more of a utility script, this installs Expo SDK compatible versions of the specified dependencies in the selected workspace’s package.json.

        • add-dependencies.ts

Prompt Arguments

ArgumentTypeQuestion / Description
workspacePkgautocompleteWhere would you like to install these dependencies?
=> e.g. @app/core or some-package
dependenciestextWhich dependencies should we install Expo SDK compatible versions for?
=> string (comma separated)

Resulting File Changes

# Installs dependencies in the selected workspace's package.json ❇️