{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"2bcb526166cd0d4c07ce97da76043fadcd663eef","tarball":"https://registry.npmjs.org/@lerna/run/-/run-5.1.0-alpha.0.tgz","fileCount":6,"integrity":"sha512-g35vXQmVSSnQ7dJ9LIj6a7KUqV9DShfrQlXzAL8GfL/rxTj0QiHtKvE8uXi7Ls2iub3E6bdnMehIYTMplERSbQ==","signatures":[{"sig":"MEYCIQC/BEX7sMxXqf3F6WRKSoowTQ6LAG3C3j5MEugKIiuOegIhAKZCu+BPkJhnI/37lG/nUknPyZ5ql0tSCNPI3RSCw9hX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijha8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppPhAAiY3PNBniJ4UjYGixqNFbYqo1CMJgiI55F9d80+ay80pbdK3F\r\nRMHZuB2NLgc4mdT9USrWWGpPSGwQRwqs6F37ViKvQta8P7aYekt0cVmqhiAP\r\n/VRobPVfmMz1xunKDcxr61fKQTsVOuodZsRVnG/ANR3umvOcFrIT2Qyxluno\r\n/AFUtCsWVDfgklTGhDaEROqaHNLHA+2NRC3Z+dUN5A0hlTliN7GGvFfyYZV7\r\n3q9vAjDFQ2FnDQn4s0ad5uqvmVd3SQLWZTbmBBdj5y1o8Qzkb4cTsXCle2z/\r\n2/VfqNeeaa4+s5Hr5QUEYoLySV/VmTYTHU+vWaajz004PjH08TMYK4GC9arL\r\nIImmHgFSqICbMVxRyWnCV+wETnmg30l5EQLiHF8Mn89W/AwhOX/9sYt24YeR\r\n7P5lQ77Gt/ADORxOczaMp7i7Ua4xds36ZT21N4qQB+30jYemmwGSg5fQAv4F\r\n6CRrOSTzNf0IYoUfhJU9SLPPmFqaB7p5DEfrygvNo09+LESl7rTM1zAq0LzY\r\nvRyli7CXczWzdkGwEtOmC8iPNV5FcfffbgiSrjSO0fDD+OSFyrlLBTvrelVt\r\nIlPmuU8j5xViOwriWvghnaYcZEjs0p8R1l4adG+nVrN/8HPc4Ep9PFwNO+S0\r\nsYSRf9mnbVqpj6gnFbmfXSZb25oC9Ir0nKc=\r\n=nX0E\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` (experimental)\n\nEnables integration with [Nx](https://nx.dev). Setting `\"useNx\": true` in `lerna.json` will tell Lerna to delegate\nrunning tasks to Nx instead of using `p-map` and `p-queue`. This only works if Nx is installed and `nx.json` is present.\n\nExample of `nx.json`:\n\n```json\n{\n  \"extends\": \"nx/presets/npm.json\",\n  \"tasksRunnerOptions\": {\n    \"default\": {\n      \"runner\": \"nx/tasks-runners/default\",\n      \"options\": {\n        \"cacheableOperations\": [\"build\"]\n      }\n    }\n  }\n}\n```\n","engines":{"node":"^14.19.3 || >=16.0.0"},"gitHead":"789149edb02eba21bb028144e9d8f4e226337b6f","license":"MIT","scripts":{"test":"echo \"Run tests from root\" && exit 1"},"_npmUser":{"name":"nrwlowner","email":"hello@nrwl.io"},"homepage":"https://github.com/lerna/lerna/tree/master/commands/run#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/run"},"_npmVersion":"lerna/5.1.0-alpha.0/node@v16.13.2+arm64 (darwin)","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.13.2","dependencies":{"p-map":"^4.0.0","@lerna/timer":"5.1.0-alpha.0","@lerna/output":"5.1.0-alpha.0","@lerna/command":"5.1.0-alpha.0","@lerna/profiler":"5.1.0-alpha.0","@lerna/filter-options":"5.1.0-alpha.0","@lerna/npm-run-script":"5.1.0-alpha.0","@lerna/validation-error":"5.1.0-alpha.0","@lerna/run-topologically":"5.1.0-alpha.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/run_5.1.0-alpha.0_1653479100043_0.7343030946663407","host":"s3://npm-registry-packages"},"_id":"@lerna/run@5.1.0-alpha.0","version":"5.1.0-alpha.0"}