{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"4439e90fb0877ec38a6ef933c86580d43eeaf81b","tarball":"https://registry.npmjs.org/@lerna/exec/-/exec-3.13.1.tgz","fileCount":6,"integrity":"sha512-I34wEP9lrAqqM7tTXLDxv/6454WFzrnXDWpNDbiKQiZs6SIrOOjmm6I4FiQsx+rU3o9d+HkC6tcUJRN5mlJUgA==","signatures":[{"sig":"MEQCICik3QAOSWRpxe9XhZHScX2MpJyoIt0vJyFYf/Pk+C2iAiAny+guwlQLlqLkcqxCcnd7dZmpsAd8yq13iNPvCoqXaw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdbnvCRA9TVsSAnZWagAApZAP/2HyFm75caWUw0oURJDs\nPishgSA0c8mCkjHjA14hr2SgdKAphSVMQFrOltbcWW4naFXO0PyhKEOE/2Te\nAd6rdldvuXhoOMQDSI0s9XSpy5YV8VIH4aDs28oaYIVnJYoeGJbwmkLmnZSI\ncBwUdHPwEq2jPJLOhb8RF/D3NyuVDNan5W7f3Hr8WTcCAHj8NTHY4UlrFo3Z\nvloM5XJuDWi2/0dOtmeTwjYVPxYQWbQCIp4BD+YjAWd7KwXSzU9c4gbAUhgj\nns8hlhbu4FxkZVtW6XW8HSSMms+80gb9pYabPioq1ssXRaXzSrwXSDeIMHvS\nGjNQmBw+Ll5lmb+FeIL4Gi6Ckq1rqwFQkU1mnDpeQK55dQwCZIo2WJoxrkyC\npWZIvEsonA2rMchtQMkf0JQLKqA5QwlSrWKNjTtkTtEqlXyVbOe7eBXToLMV\nkGaV5l1DUeVGtJBTSxjBdRjH2D0VllOloJl7F9aUDOdaGDodNNLONg2dAI5T\neG/D/XRMyDIuLw0TZjI+LOekrYj8s/3mhW11gavRDkjtx8wUCntpYmiZp11e\nxsVpufxQoiSBwH+7J+b+LD0jJMfqbvGvrNIpC3F3KqPE4ESoQ7Jn0j+2gmJ5\n7ynH5BFNeqnIjqejIO3cBkMZ8GpjImvTL46lHEgRy/jvqRl4U9wG5n1HWtyI\nbtWV\r\n=WEyE\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> Execute an arbitrary command in each package\n\nInstall [lerna](https://www.npmjs.com/package/lerna) for access to the `lerna` CLI.\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\n### `--no-prefix`\n\nDisable package name prefixing when output is streaming (`--stream` _or_ `--parallel`).\nThis option can be useful when piping results to other processes, such as editor plugins.\n","engines":{"node":">= 6.9.0"},"gitHead":"514bc57a53232adb90a2bb4b03e1c08d709997ea","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/tree/master/commands/exec#readme","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","directory":"commands/exec"},"_npmVersion":"lerna/3.13.0/node@v10.15.1+x64 (darwin)","description":"Execute an arbitrary command in each package","directories":{},"maintainers":[{"name":"evocateur","email":"daniel.stockman@gmail.com"},{"name":"hzoo","email":"hi@henryzoo.com"}],"_nodeVersion":"10.15.1","dependencies":{"@lerna/command":"3.13.1","@lerna/child-process":"3.13.0","@lerna/batch-packages":"3.13.0","@lerna/filter-options":"3.13.0","@lerna/validation-error":"3.13.0","@lerna/run-parallel-batches":"3.13.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/exec_3.13.1_1551219182568_0.9356776839296568","host":"s3://npm-registry-packages"},"_id":"@lerna/exec@3.13.1","version":"3.13.1"}