{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"a8bd64160ab56d3db7aaf06b897e005a2ac6cc37","tarball":"https://registry.npmjs.org/@lerna/run/-/run-6.0.0-alpha.1.tgz","fileCount":4,"integrity":"sha512-6+ed/lFWaIhxsucyXvlEoMTqA8V0SZxJifzwNqiBtndHdj4G3EkaQGYMKrIDcWEZTcyofC+F1Rsp4sq+Xc/3Yw==","signatures":[{"sig":"MEQCIATtAr7eg0+5XNBbwuI0PUHPsbuAj4OuTiJMbkKWlDEAAiBc+omZvcOPiVRuDjHVpbfFXwGN7fKlUmW4VU5bdlMYaA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQ0BgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpoaA/+MOLs75q1iby75XzYoyqBEtSJ5z4Sm8ivoV4I1Kp3lViIKtpQ\r\nZDyCQJAOfjKEyaXFUVD5hBm4xj+/NnGqki/rxCAuCtmHpG0G/EAmJ3cdgjGo\r\nfvajGza+UC8AyLbS/eTAVqAT20QA1G3OVZdcB/taOsgo85KyjdJN3m/9/uJ2\r\nPmcZlhLo29J0JtE3hHQ9TFhkumGppRmmeBDnJuLEwmgUAtujlei6kJXfC6NW\r\nMApGWiyz1PiOlyIBjkHuR+kvsjBIAYrecC0eZYg59s1FBri7SUkiLRov++Jg\r\nwfmrKh5/5o8w1w1tmGB3NPaH2/rnRp7AK05SY2J3o8mSli8WXlAHOvoKpg4W\r\naARB8nXhA1cCMLluRaGwYJNt7AUytdowhZLxxSpPKo41fo2OPwjZ8N4fT1JW\r\n4dNYVF8mZgXD4fYF8V82xNmphgLxPTKh9XToW9VfSZ3EWE2akQ2M7cwt0NFJ\r\nllrLPlZ4uhemMaZ6es26JAv1jxsIFdhPr9j0qLVPynXjWSMUWelNyGr7Z7ax\r\nIpmL1XOeQTl4HVreoYIcUupPbqcQsb50avMnXngHBso+4AVic1GbMGOhNCXA\r\ns1WBeNIKA6Ru+eLvy+n+bhPSPA3KKbeN9ejWbTKf8YXFFdBmIwUXkgKnAZzv\r\n3CBfzI+u/nW1RMTuaY+bS9ZNZaNHa3IWtGI=\r\n=jt4H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"@lerna/run","author":{"url":"https://github.com/evocateur","name":"Daniel Stockman"},"readme":"# `@lerna/run`\n\n> Run an npm script in each package that contains that script\n\nInstall [lerna](https://www.npmjs.com/package/lerna) for access to the `lerna` CLI.\n\n## Usage\n\n```sh\n$ lerna run <script> -- [..args] # runs npm run my-script in all packages that have it\n$ lerna run test\n$ lerna run build\n\n# watch all packages and transpile on change, streaming prefixed output\n$ lerna run --parallel watch\n```\n\nRun an [npm script](https://docs.npmjs.com/misc/scripts) in each package that contains that script. A double-dash (`--`)\nis necessary to pass dashed arguments to the script execution.\n\n## Options\n\n`lerna run` accepts all [filter flags](https://www.npmjs.com/package/@lerna/filter-options).\n\n```sh\n$ lerna run --scope my-component test\n```\n\n### `--npm-client <client>`\n\nMust be an executable that knows how to run npm lifecycle scripts.\nThe default `--npm-client` is `npm`.\n\n```sh\n$ lerna run build --npm-client=yarn\n```\n\nMay also be configured in `lerna.json`:\n\n```json\n{\n  \"command\": {\n    \"run\": {\n      \"npmClient\": \"yarn\"\n    }\n  }\n}\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 run watch --stream\n```\n\n### `--parallel`\n\nSimilar to `--stream`, but completely disregards concurrency and topological sorting, running a given command or script\nimmediately in all matching packages with prefixed streaming output. This is the preferred flag for long-running\nprocesses such as `npm run watch` run over many packages.\n\n```sh\n$ lerna run watch --parallel\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 an npm script in all packages that contain it, ignoring non-zero (error) exit codes\n$ lerna run --no-bail test\n```\n\nBy default, `lerna run` will exit with an error if _any_ script run returns a non-zero exit code.\nPass `--no-bail` to disable this behavior, running the script in _all_ packages that contain it 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\n### `--profile`\n\nProfiles the script executions and produces a performance profile which can be analyzed using DevTools in a\nChromium-based browser (direct url: `devtools://devtools/bundled/devtools_app.html`). The profile shows a timeline of\nthe script executions where each execution is assigned to an open slot. The number of slots is determined by the\n`--concurrency` option and the number of open slots is determined by `--concurrency` minus the number of ongoing\noperations. The end result is a visualization of the parallel execution of your scripts.\n\nThe default location of the performance profile output is at the root of your project.\n\n```sh\n$ lerna run build --profile\n```\n\n> **Note:** Lerna will only profile when topological sorting is enabled (i.e. without `--parallel` and `--no-sort`).\n\n### `--profile-location <location>`\n\nYou can provide a custom location for the performance profile output. The path provided will be resolved relative to the\ncurrent working directory.\n\n```sh\n$ lerna run build --profile --profile-location=logs/profile/\n```\n\n### `useNx=false`\n\nBy setting `useNx` to `false` you can use the legacy task running implementations in `lerna` (`p-map` and `p-queue`) instead of using the default modern task runner implementation powered by [Nx](https://nx.dev).\n","engines":{"node":"^14.15.0 || >=16.0.0"},"gitHead":"8a1660e1e78c39db2f7a080862d93bbde6dd9339","license":"MIT","scripts":{"test":"echo \"Run tests from root\" && exit 1","work":"sleep 1 && echo run"},"_npmUser":{"name":"jameshenry","email":"npm@jameshenry.email"},"homepage":"https://lerna.js.org","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/run"},"_npmVersion":"8.11.0","description":"Run an npm script in each package that contains that script","directories":{},"maintainers":[{"name":"jameshenry","email":"npm@jameshenry.email"},{"name":"nrwlowner","email":"hello@nrwl.io"}],"_nodeVersion":"16.15.1","dependencies":{"p-map":"^4.0.0","fs-extra":"^9.1.0","@lerna/timer":"6.0.0-alpha.1","@lerna/output":"6.0.0-alpha.1","@lerna/command":"6.0.0-alpha.1","@lerna/profiler":"6.0.0-alpha.1","@lerna/filter-options":"6.0.0-alpha.1","@lerna/npm-run-script":"6.0.0-alpha.1","@lerna/validation-error":"6.0.0-alpha.1","@lerna/run-topologically":"6.0.0-alpha.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/run_6.0.0-alpha.1_1665351776486_0.12444335154455755","host":"s3://npm-registry-packages"},"_id":"@lerna/run@6.0.0-alpha.1","version":"6.0.0-alpha.1"}