https://github.com/guidsdo/yisd
Yarn Install in SubDirectories. Yes, it's that simple. Use it like: `yisd [subdirs...]` (Example: `yisd client server scripts`)
https://github.com/guidsdo/yisd
Last synced: about 1 year ago
JSON representation
Yarn Install in SubDirectories. Yes, it's that simple. Use it like: `yisd [subdirs...]` (Example: `yisd client server scripts`)
- Host: GitHub
- URL: https://github.com/guidsdo/yisd
- Owner: guidsdo
- License: apache-2.0
- Created: 2018-02-25T17:02:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-29T10:30:18.000Z (over 7 years ago)
- Last Synced: 2024-04-25T23:03:20.888Z (about 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 16.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yarn Install in SubDirectories
Yarn Install in SubDirectories. Yes, it's that simple. Use it like: `yisd [options] ` (Example: `yisd --async client server scripts`)
[Click here for the general version!](https://www.npmjs.com/package/eisd)
[Click here for the npm install version!](https://www.npmjs.com/package/nisd)
## Usage
```
Usage: yisd [options]
Options:
-a, --async Execute yarn async across all folders, output will be a mess
-e, --allowErrors Allow errors (at default we stop when there is one). NOTE: always true when in async mode!
-d, --envDirectories [environment_key] Environment variable that contains the directories, for example a package.json config var would be: npm_config_myVar
-v, --verbose More verbose output
-h, --help output usage information
```
## Examples
Cli:
`yisd --async client server testSetup/mockServer`
Package.json:
```json
{
"name": "Root",
"version": "0.0.1",
"description": "mainFolder",
"scripts": {
"postinstall": "yisd client server"
}
}
```
## Compatibility
Works on Linux, Mac and Windows. If not, create an issue and I will fix it. :-)