{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"73e9e890756e7549aba4e0ba70fb53ecf49bd494","tarball":"https://registry.npmjs.org/@lerna/add/-/add-5.1.0-alpha.0.tgz","fileCount":7,"integrity":"sha512-WTVZv7K9ffQ7WQ/K7w9wBjCunDv+awjdnO1+WFAKpbf+nQAfyJtE9+B1/2Nq15PsYzYVnCO6qwi2N5eHIwnEIA==","signatures":[{"sig":"MEUCIGQqoHMscE7wTEkljAs4Fi5bnXTL7Q1/+eUTSehW8957AiEA0gbO5UNS0ZXhnKaQDc1nie3ZQu5cIeKOpBegUoExdG8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijha9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmraoQ/5ABsY8/IRRE0H685x8zN1LjAzhLJjN8CRx8agCL/CJ9COPzmU\r\nYFyhlzWwSPqx8ZFXyMlVBGnouZ05CUgw2jNi30c/8gBAX2rZM9hfYdktihZ0\r\nNQlmaGr2Y7i3E4PvGKZccgLkYYeKeSHR4tL1jy4uQ8M5L4X/rb5HpNCwoqen\r\nsbUDyIP+KNI/jfP+xiR4AJUOJujsG5FqQYg1lM9s1GfKeQQBoLkjL/iLo8I/\r\n1qOalpJagu5ZTFTk1unJXLnJHOYKPvPArD3eArdb+MQaQmxsIDEHT1PM7/cp\r\ngN3xh5N9tF/gJGsDt40T85G7h4Iy/KShedRFhe5tEhzqVv/xb7mmejcnjE8E\r\nFjo3YCgd7Uw4helb4q3aCBWT0vteQ5Kv/sjrSrqcvLbzyji6jsX+6F4ejupq\r\n640y3NzEls8IPD6Sz6Jz8ez5V8ZDg+rg3tDFQ0JYRM9ieoZ4sEKcwRGbV8Sd\r\nWTy98iGPKMQ2YlED/V/ACHiUeXRzrYEonwDFSQRdo+PLXmkjoy4PCDH5lrmS\r\nHtq7LbljclnrBo5fbvmTjzq58pvg04UsUOIAUzCLarBMIcjoMU7yCyGZR+G0\r\n+dDR9il+Bqn9KqEOGlZb/vJIGU1BqAhqmB1wCQzjvWGiiqNi0bTIE3Lib1c2\r\nTypjeQnyKnY1qjjCbq/NSLAQoTltL8OyMqE=\r\n=z2Z8\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":"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/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.1.0-alpha.0/node@v16.13.2+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.13.2","dependencies":{"p-map":"^4.0.0","dedent":"^0.7.0","pacote":"^13.4.1","semver":"^7.3.4","@lerna/command":"5.1.0-alpha.0","@lerna/npm-conf":"5.1.0-alpha.0","npm-package-arg":"^8.1.0","@lerna/bootstrap":"5.1.0-alpha.0","@lerna/filter-options":"5.1.0-alpha.0","@lerna/validation-error":"5.1.0-alpha.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/add_5.1.0-alpha.0_1653479101080_0.6340849315090626","host":"s3://npm-registry-packages"},"_id":"@lerna/add@5.1.0-alpha.0","version":"5.1.0-alpha.0"}