{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"38fa9f8dff98a053deec0bcf51b47c1210341cb8","tarball":"https://registry.npmjs.org/@lerna/run/-/run-6.5.0-alpha.0.tgz","fileCount":6,"integrity":"sha512-6QPwdt9eZ5xJ3xOu1Bm2T4/91UfKZvQJ93HVGn5rsBzgjOoUf1ueHkXcRVqQdGAivXq9z6Xzse6FjpKrHBByJQ==","signatures":[{"sig":"MEYCIQDhzf0vRPO+BgxJ7EMIzMJPi0n+vpdkoiIjRmJtKBSyjAIhAPDZGaWejjVikPdMNjYtLc/yINPYF7EwPEYk9lWEqe6h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj13o9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9iQ//dsc1pIBk3QC0WvHez2PxpFU/vrUuIePD8p04Yn1nc5aWlA2J\r\ncZWwihp4msAq5WorFWe7a4ptNJ78pdscxnySZGJq7BxZQr+R99nS4ZV2qfRb\r\nSLzbf4jS5Kz5kbbeUrG8naNdeLpUYQm5afjwB5+RVdW0gR+vy0jbv7im2Vcl\r\nTwCCgB0hirRmyv0p6c/HEwzp6ICwOC4npgEScSGqo5Ov1QiX+AuZQSR62Ch3\r\nWeYv1u6N0H6AbC2tUpjWSC3PaGdTUcbxRHuWXoyriy1rKwWRrozhZQleK68Q\r\nee5hCmsGIO2NbTEkSD9tGUWJE1RFNxQIIuIx62T7d4933HMpAg8POjRk+pvp\r\ngaMJwiD3MF9biuhp9L0bYW0yydpaI1ccKqteDrtXZDBKOj3PgaxNrT4PNL4G\r\njI+aQW/QdIUpoLJOz9xER53MUMbcoOaoSVVqHhyJE2PI0kqIck2XkgakyX4y\r\nKsF8IG9Kztd8qJ++wbJWyiaTKDmDpaS0l3O4dbVNtzgfrG3jk34e5DeyAcZ5\r\nurNPTUbxiUrphW5ty0afIgkbokFYeSQnNbUrG/Vy1ZdeW4Uvjd2frJ38BKch\r\nwD7xxEWoZTM1LkMMngeYeXsH422wAXv0CXyVDGHCrqMtglQSA1mG9qyge5SE\r\n8CjQBATSOtPW7+eMjiJPnuUGBvpL2HYBy3w=\r\n=bzkL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/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### `--load-env-files`\n\nBy default the modern task runner powered by Nx will automatically load .env files for you. You can set `--load-env-files` to false if you want to disable this behavior for any reason.\n\nFor more details about what `.env` files will be loaded by default please see: https://nx.dev/recipes/environment-variables/define-environment-variables\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"},"exports":{".":"./dist/index.js","./lib/*":"./dist/lib/*.js","./command":"./dist/command.js"},"gitHead":"624a5459a1d6dbb00628467c42d41c8b432b2408","license":"MIT","_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":"packages/legacy-structure/commands/run"},"_npmVersion":"lerna/undefined/node@v16.19.0+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.19.0","dependencies":{"lerna":"6.5.0-alpha.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/run_6.5.0-alpha.0_1675065917648_0.5763374209961667","host":"s3://npm-registry-packages"},"_id":"@lerna/run@6.5.0-alpha.0","version":"6.5.0-alpha.0"}