{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"ac5afce3576be235e723249e236e4370d2dce603","tarball":"https://registry.npmjs.org/@lerna/add/-/add-5.0.0-alpha.2.tgz","fileCount":7,"integrity":"sha512-Y9UW5oWKQReLTyU2XwO6qmlHytp8VEV1mBTHr7q59AKjK4aU5EWil47AYmylA7FZ1oYB2oWVu4HsBU9wcxyZcQ==","signatures":[{"sig":"MEUCIQCN8AEIRb11FkssXJ1v2V81xb1s1WIIQ8tKgQkhZJCUtAIgHZnE64IPzplGCPiHpKT/Kgb90A+nzR/FNVjeEDAznqg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijJFUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqTWA//ej91V1UZzb+ukjDtVZlfj9m5lOKv8/jTqlAPH1nCg7BkNb3Y\r\nClTdr0x/XeVm7Xud4Pf1E1+Q+VMYthB/7Ejmt7sPN/fDoNZejONBJwap7m1X\r\nsiLe6WRh8tcQsqBGT8Ss8hMNoCZNcb/PAvxfEkpVbVXSSfPZPe+38KmVqBk/\r\nJiR/C3Eutor+Pq7y6tt1M19DwT8aqsxIyr3wucKlSNHNNJp9/NgGGpBHI+Bt\r\nvzR597dEdrNhjGNnFrbnOhQ32GIDH3LupAuMne4xYELk6RbeYT39uYgDWPSF\r\nm4bsVsxQEbnnAMwNJzQBTlMIM8tRFwUnPug9yK58Yvze8UzM500R3Sm/bNJZ\r\n3aDfnFw5RX9/zm2q+Y8bI32fWg56CTEysELjgGIxcnZFhGJCNkUuePVM3VLE\r\na2RN2UGTjUcSNequhp1FNSlwiJvJtnyTNJsI+hrgpOSBXC9Ql0PDJh4NlbN1\r\nGcH//aYY16EqyFYu12oZ+GztugcdPMb0ESAAhLwp5oM9FX3XA9dbYDxIl+al\r\nIt/bz/dU884EaDzPAhRmH/l3XenHUnYV++9YlwFduT+JKe+P1y8PmOwKZYHd\r\nZb6/ljx43r8UdhWrw0u7+zVD3eowhd9zwVg/3T2hPl9L10Jqdm+epX/dA4tx\r\nXdWxxHRQTQudxn1TjdjWg0JQeuy48boLtX0=\r\n=SKxv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"@lerna/add","author":{"url":"https://github.com/evocateur","name":"Daniel Stockman"},"readme":"# `@lerna/add`\n\n> Add a dependency to matched packages\n\nInstall [lerna](https://www.npmjs.com/package/lerna) for access to the `lerna` CLI.\n\n## Usage\n\n```sh\n$ lerna add <package>[@version] [--dev] [--exact] [--peer]\n```\n\nAdd local or remote `package` as dependency to packages in the current Lerna repo. Note that only a single package can be added at a time compared to `yarn add` or `npm install`.\n\nWhen run, this command will:\n\n1. Add `package` to each applicable package. Applicable are packages that are not `package` and are in scope\n2. Bootstrap packages with changes to their manifest file (`package.json`)\n\nIf no `version` specifier is provided, it defaults to the `latest` dist-tag, just like `npm install`.\n\n## Options\n\n`lerna add` accepts all [filter flags](https://www.npmjs.com/package/@lerna/filter-options).\n\n### `--dev`\n\nAdd the new package to `devDependencies` instead of `dependencies`.\n\n### --exact\n\n```sh\n$ lerna add --exact\n```\n\nAdd the new package with an exact version (e.g., `1.0.1`) rather than the default `^` semver range (e.g., `^1.0.1`).\n\n### `--peer`\n\nAdd the new package to `peerDependencies` instead of `dependencies`.\n\n### `--registry <url>`\n\nUse a custom registry to install the targeted package.\n\n### `--no-bootstrap`\n\nSkip the chained `lerna bootstrap`.\n\n## Examples\n\n```sh\n# Adds the module-1 package to the packages in the 'prefix-' prefixed folders\nlerna add module-1 packages/prefix-*\n\n# Install module-1 to module-2\nlerna add module-1 --scope=module-2\n\n# Install module-1 to module-2 in devDependencies\nlerna add module-1 --scope=module-2 --dev\n\n# Install module-1 to module-2 in peerDependencies\nlerna add module-1 --scope=module-2 --peer\n\n# Install module-1 in all modules except module-1\nlerna add module-1\n\n# Install babel-core in all modules\nlerna add babel-core\n```\n","engines":{"node":"^14.19.3 || >=16.0.0"},"gitHead":"c8b87007e82a5eed8f49b161312879739cafcbc5","license":"MIT","scripts":{"test":"echo \"Run tests from root\" && exit 1"},"_npmUser":{"name":"jameshenry","email":"npm@jameshenry.email"},"homepage":"https://github.com/lerna/lerna/tree/master/commands/add#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/add"},"_npmVersion":"lerna/5.0.0-alpha.2/node@v16.15.0+arm64 (darwin)","description":"Add a dependency to matched packages","directories":{},"maintainers":[{"name":"jameshenry","email":"npm@jameshenry.email"},{"name":"nrwlowner","email":"hello@nrwl.io"}],"_nodeVersion":"16.15.0","dependencies":{"p-map":"^4.0.0","dedent":"^0.7.0","pacote":"^13.4.1","semver":"^7.3.4","@lerna/command":"5.0.0-alpha.2","@lerna/npm-conf":"5.0.0-alpha.2","npm-package-arg":"^8.1.0","@lerna/bootstrap":"5.0.0-alpha.2","@lerna/filter-options":"5.0.0-alpha.2","@lerna/validation-error":"5.0.0-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/add_5.0.0-alpha.2_1653379411977_0.9099936725761986","host":"s3://npm-registry-packages"},"_id":"@lerna/add@5.0.0-alpha.2","version":"5.0.0-alpha.2"}