{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"0f09495c5e1af4c4f316344af34b6d1a91b15b19","tarball":"https://registry.npmjs.org/@lerna/add/-/add-6.1.0.tgz","fileCount":5,"integrity":"sha512-f2cAeS1mE/p7QvSRn5TCgdUXw6QVbu8PeRxaTOxTThhTdJIWdXZfY00QjAsU6jw1PdYXK1qGUSwWOPkdR16mBg==","signatures":[{"sig":"MEYCIQDGTMfvp3kKMywh1zAZS5gMeEvRgr2Z+IIUsjLfK3sQ9gIhAJsGWwClQxqZsRi+25TUaoVwPuBvoFKQ+bC7JzAlPeTX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12894,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhnvwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqkzA/+IToOel4kBkOEWtKOZ4Akx6nvp8Vm7I1JjuDP8ErzBeotIjYO\r\nbOLpyM7HVOi08VjeLwiWhZYKfC1eqN1e3nXsR0/+N8fNyJ5jYMnDDpmM5fTI\r\nQCfx/845rBhXJEbHPI2b/bBz8PFPmhVp34vokil8aM3LCNeu8LLdwt3FPZpk\r\n7LiHNTZbgj+IjyP0Kn8OitvrzCA73G9+Ri11Fto8a6KYxSKr6xRMXb1GJyjT\r\nupSzpgZmDk53dOukA/Wc1g5+T4K9JiRcXlZFGICjwnlQqt4Fp47wxcSACJCF\r\nS7QgICfyfysEDuJCuu+X1iKg3AahtJkRS/BzOY692l28DhVkvWW+aGr/kq63\r\n3zGjy2Owv8alKbqT+T5eOMfCdId8g1jScDdlFVZivRWXLAn3T7mJDONuVxc4\r\nzHobiPe2iWrH6iLHZCaZBfa09byc/mkG/ciHuBGCx6+6ZMNQQRTe2pqyVcwG\r\nqkieFC44Xh+YjZXw+CvNUhAxHkkzYMiX4euzhJaJINUbs5cCICcsLYogkRd3\r\nc4M9wGRAmkR3GDM0baJDc6FCAnKS20agNiaXfY1q9rBMFM5t+lTvvIEt7M/Y\r\n7dLn8cmI69QYQuptC/nXIeRL+g9wUNo2Vzq6BbgSvjAH6/kkar+dsAk4ybEA\r\nsckOW3xkdcmNJ+nwD+HfBYXy2B2S3qlsepA=\r\n=T8y7\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.15.0 || >=16.0.0"},"gitHead":"05ad1860e2da7fc16c9c0a072c9389e94792ab64","license":"MIT","scripts":{"test":"echo \"Run tests from root\" && exit 1"},"_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/add"},"_npmVersion":"8.11.0","description":"Add a dependency to matched packages","directories":{},"maintainers":[{"name":"jameshenry","email":"npm@jameshenry.email"},{"name":"nrwlowner","email":"hello@nrwl.io"}],"_nodeVersion":"16.15.1","dependencies":{"p-map":"^4.0.0","dedent":"^0.7.0","pacote":"^13.6.1","semver":"^7.3.4","@lerna/command":"6.1.0","@lerna/npm-conf":"6.1.0","npm-package-arg":"8.1.1","@lerna/bootstrap":"6.1.0","@lerna/filter-options":"6.1.0","@lerna/validation-error":"6.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/add_6.1.0_1669757936074_0.05669288147979845","host":"s3://npm-registry-packages"},"_id":"@lerna/add@6.1.0","version":"6.1.0"}