{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"3047b04418060d109724ab4468abea22e8ffa992","tarball":"https://registry.npmjs.org/@lerna/exec/-/exec-3.10.1.tgz","fileCount":6,"integrity":"sha512-MM5/OMP4FrVH4PIlG+3xk3jpKq+trgu/eAPttaYZBHAumCOjrDVYdyk5O68+YLz+uLkM31ixTmsiAP9f77HTsg==","signatures":[{"sig":"MEQCICkQujjrBk2/lXe0yKF79jqnBswmwiEVMyMJWFe37Cc4AiB7X+Du4/Yj/CnEadr/yg/EGKT/IS56DZJXfLkaxvhc0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18754,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNUB7CRA9TVsSAnZWagAAsmgP/jIUjc8L1iMKrCWtNWQ8\nFqB7/tgqIKwXBDq+PrcIFh2VPfAUSsEBTepw3VzCLUDdgFcc2LjIMgAUvLBu\nVMz9H9psQTqYA9HThQ6m+CzOFo4JMDTYnuGNSf8OLXFOfo6Mt4u2RV5x/DLP\ntac3r/Y64YoMAxLdRpNqwblAn0UuVUb04rQ3Ut8PUvZ0/kD7kh4G8+gZRwr4\nFb1qZP2y+yq3vwY2nSmXZkFbggVmgt4tS2AsGmxMiofrqkCtN1kQI8EiPkVg\nsn36x6w1aqp5Md8FPNVrGPGD8ggYoHrAd6GNrDB8smRYX3fOje6wrHqLP78M\nKnpg8rU9kF4z2kuBETIDBHrJPw41J0wY2u7houOXBZadtYltB69emXrSWfSK\nRCHobBbd34wkSnVD0THLDQYOf3yCSYBzE/Qgl7772uECUYkPcE/0ZPT0BxeL\nXryQiNE8LUHCcCIxiYtsCiJ9gYfc147FdFL2mFC6C0H2b0+iAFEc+LDNs8ML\nxqT8xcwtQ/YoUQCVohFdbGX9fRF3n4sVLIVdMFp51BZrdyRW5bwTpJV1LOKf\nreQJfzZ1Ft5JbuKtKuGgEccnnLVkRlHY3RvLWZsdZAFCXL23+R01MwPXC/3D\nUZdtgz/+UaD1TVcLEMYJRfZMY5AMhhID2OEMLzlPFdZxTv7BPdyNSTrn4LXV\n/Soy\r\n=n8dj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"@lerna/exec","yargs":{"populate--":true},"author":{"url":"https://github.com/evocateur","name":"Daniel Stockman"},"readme":"# `@lerna/exec`\n\n> Run an arbitrary command in each package\n\n## Usage\n\n```sh\n$ lerna exec -- <command> [..args] # runs the command in all packages\n$ lerna exec -- rm -rf ./node_modules\n$ lerna exec -- protractor conf.js\n```\n\nRun an arbitrary command in each package.\nA double-dash (`--`) is necessary to pass dashed flags to the spawned command, but is not necessary when all the arguments are positional.\n\nThe name of the current package is available through the environment variable `LERNA_PACKAGE_NAME`:\n\n```sh\n$ lerna exec -- npm view \\$LERNA_PACKAGE_NAME\n```\n\nYou may also run a script located in the root dir, in a complicated dir structure through the environment variable `LERNA_ROOT_PATH`:\n\n```sh\n$ lerna exec -- node \\$LERNA_ROOT_PATH/scripts/some-script.js\n```\n\n## Options\n\n`lerna exec` respects the `--concurrency`, `--scope`, and `--ignore` flags (see [Filter Flags](https://www.npmjs.com/package/@lerna/filter-options)).\n\n```sh\n$ lerna exec --scope my-component -- ls -la\n```\n\n> The commands are spawned in parallel, using the concurrency given (except with `--parallel`).\n> The output is piped through, so not deterministic.\n> If you want to run the command in one package after another, use it like this:\n\n```sh\n$ lerna exec --concurrency 1 -- ls -la\n```\n\n### `--stream`\n\nStream output from child processes immediately, prefixed with the originating\npackage name. This allows output from different packages to be interleaved.\n\n```sh\n$ lerna exec --stream -- babel src -d lib\n```\n\n### `--parallel`\n\nSimilar to `--stream`, but completely disregards concurrency and topological sorting, running a given command or script immediately in all matching packages with prefixed streaming output. This is the preferred flag for long-running processes such as `babel src -d lib -w` run over many packages.\n\n```sh\n$ lerna exec --parallel -- babel src -d lib -w\n```\n\n> **Note:** It is advised to constrain the scope of this command when using\n> the `--parallel` flag, as spawning dozens of subprocesses may be\n> harmful to your shell's equanimity (or maximum file descriptor limit,\n> for example). YMMV\n\n### `--no-bail`\n\n```sh\n# Run a command, ignoring non-zero (error) exit codes\n$ lerna exec --no-bail <command>\n```\n\nBy default, `lerna exec` will exit with an error if _any_ execution returns a non-zero exit code.\nPass `--no-bail` to disable this behavior, executing in _all_ packages regardless of exit code.\n","engines":{"node":">= 6.9.0"},"gitHead":"d13e9016c79f4244f84100993aecae3edba957d6","license":"MIT","scripts":{"test":"echo \"Run tests from root\" && exit 1"},"_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"homepage":"https://github.com/lerna/lerna","keywords":["lerna","command"],"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/lerna/lerna.git","type":"git"},"_npmVersion":"lerna/3.10.0/node@v10.15.0+x64 (darwin)","description":"Run an arbitrary command in each package","directories":{},"maintainers":[{"name":"evocateur","email":"daniel.stockman@gmail.com"},{"name":"hzoo","email":"hi@henryzoo.com"}],"_nodeVersion":"10.15.0","dependencies":{"@lerna/command":"3.10.0","@lerna/child-process":"3.3.0","@lerna/batch-packages":"3.10.0","@lerna/filter-options":"3.10.1","@lerna/validation-error":"3.6.0","@lerna/run-parallel-batches":"3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/exec_3.10.1_1546993786983_0.07323620781785811","host":"s3://npm-registry-packages"},"_id":"@lerna/exec@3.10.1","version":"3.10.1"}