{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"da632dac4a86d59f7fe8c566af8648f8272241ff","tarball":"https://registry.npmjs.org/@lerna/exec/-/exec-3.14.0.tgz","fileCount":6,"integrity":"sha512-cNFO8hWsBVLeqVQ7LsQ4rYKbbQ2eN+Ne+hWKTlUQoyRbYzgJ22TXhjKR6IMr68q0xtclcDlasfcNO+XEWESh0g==","signatures":[{"sig":"MEYCIQCAbTy2G1GGUO6wgeCXlYSWdfts9QBH6ABECS8DAMOPoQIhALvqJgaZ1ivqTGm4CkRIF0MHq0yDjNhf4UnW1xfKxBoP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc209hCRA9TVsSAnZWagAAMNAP/jayt5w8Yp/kIRx/oh2U\nK8GhOnWiXN6hFMh1xTLUkBUoNP5tQcTdauIuTHNd7IpnyK9y1VWonGDZD8wz\nXLREuQrbK7uL/7VZdhg6VpKcsdNol/KHRcfqbobP+jyPqvoeJ/qbrhCC5BTH\nPlMWFU3uZWThFod0RWTYue9MtKjffilpe1H6KdGmA37iLiZF4XNH6B+1Ekl3\nPV1+ZyJMSMVd1WwEVXPZ0VjHa6Ozm3eJ5pRt2VA3H/w3OzrYNCxJUzH/L2OQ\nmH6F/HjGQf7XtRxZisFf9XPNbR0v471XdAuJ52ftTk7GOiuGJKKxXYKFBAZb\n3xfu/j0EtfEn9dZHYoiXXfXLdpNK60wcJ2+UjR1ZtwEtQyC+gGnAEZ6CeXIa\nr5iTWzQvAu/L7tYDK02QB2USFyf5LXwxIEVAMVNuVtfd3jR3nv43o5KkMQp4\nYF4i9MHgjmv1AOQrAyHwD0TnTswrloPfDeoLPr2koztCRn/VfyDlDwgw9DkO\nEd+0l6944mPafMlJA/FTnrAm7Y6u7oMRnJKRJ6fPsSxT5ueS199f1XrKCqZU\n2DJ11J0oOBkojPrlBdPuc1tbnTyuM1B+ozUwq7s4hvp/0gym/H+iq7sNvQhF\n/c3cm6/FN4pvRArfWnFoifPFJOLkpRk2kqAH08vL08ujRMP6dsLZ4ldfWsqM\nL5lj\r\n=0wg7\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":"39da145c67ea587457694f318f32f967b9d66ea9","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.14.0/node@v10.15.3+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.3","dependencies":{"p-map":"^1.2.0","@lerna/command":"3.14.0","@lerna/child-process":"3.13.3","@lerna/filter-options":"3.14.0","@lerna/validation-error":"3.13.0","@lerna/run-topologically":"3.14.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/exec_3.14.0_1557876576446_0.4654277770130475","host":"s3://npm-registry-packages"},"_id":"@lerna/exec@3.14.0","version":"3.14.0"}