yisd

1.2.0 • Public • Published

Yarn Install in SubDirectories

Yarn Install in SubDirectories. Yes, it's that simple. Use it like: yisd [options] <directories...> (Example: yisd --async client server scripts)

Click here for the general version!

Click here for the npm install version!

Usage

  Usage: yisd [options] <directories...>

  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:

{
  "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. :-)

Package Sidebar

Install

npm i yisd

Weekly Downloads

2

Version

1.2.0

License

Apache-2.0

Unpacked Size

14.6 kB

Total Files

9

Last publish

Collaborators

  • guidojo