@monorepo-utilities/install-dependencies v1.3.0
@monorepo-utilities/install-dependencies 🧱 📦
Install Dependencies is CLI which helps you install monorepo package dependencies with control!
Why tho?
When working in monorepo workspaces, installing exact node modules within a package can be difficult! With install-dependencies, developers can enjoy local package referencing and exact node module installs!
Install
pnpm install @monorepo-utilities/install-dependenciesUsage
To use install-dependencies, simply run install-deps.
Or, if you need more control, use the options below!
Usage: install-deps [options]
Options:
-V, --version output the version number
-c, --config <config> config path
--debug enables debug mode
-d, --dest <string> dest path
-f, --file <file> path to package.json file
--has-lockfile use lock file
--isTesting enables testing, no scripts are run
-p, --path <path> path to package.json file
-r, --runner <runner> npm, pnpm, or yarn
-h, --help display help for commandOptional Specificity
If you want even more control, you can add installDependencies or ideps object to your package's package.json.
Now, you can optionally add packages to ignore using an ignore array or you can include more using include object!
"installDependencies": {
"include": {
"react": "17.0.1",
"@babel/core": "7.12.10",
"typescript": "4.1.2"
},
"ignore": [
"ramda"
]
}If you'd prefer this functionality without adding an object to your package.json, you can add it to an .idepsrc config
{
"include": {
"react": "17.0.1",
"@babel/core": "7.12.10",
"typescript": "4.1.2"
},
"ignore": [
"ramda"
]
}Monorepo Utilities 🧱
Utilities for monorepo development.
Javascript utilities for better monorepo results.
View other monorepo utilities. Made by @yowainwright for fun with passion! MIT, 2022