{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"9f1f48e615785ddbdcaf864ba293de741cb05007","tarball":"https://registry.npmjs.org/@lerna/add/-/add-6.0.0-alpha.1.tgz","fileCount":5,"integrity":"sha512-yvNjsOonLeT8SynZcN9wVs6EZpULo9fmHbk8jKL/XSO8UEHr5G5PTW6bIDjec0Df9lbUsC54M1fU2xqvUeyP8A==","signatures":[{"sig":"MEUCIQDl0Mp6KBz2lGyWIwkUCyunNe89oklkiVkocbonLeujdAIgDs3neGt/5fTPc0mZfRkuw2vlO9mZ2hBoKmftwIGqBpA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQ0BlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1tQ/9FmgTG8odXFVxANTQ/gjgj/SLCZqbM9G5dD6WwR2p6VNtduxg\r\nc/uxOH4tbutd/fKguDRMz5JiGcF2nKhhDn1sglTzZbHxrq7fF0m0067AGoMr\r\n+mOJI+jwnGd01AsdsQrkhMDnguZi3FFtvF4WaAZJGs6yBvcPIBgbdvGnnxQN\r\nSj2wqsn8uOpQlsNlFG2zLZeaoOVnDJRvcjd8DZwnNypoGMMpRsZsXDaLI6M9\r\nb7KQ/tRw/4FB7A2JpzGvAjM7rkWEuki7mIU6TKjhtFyV3z2z+dQEE9ePmZim\r\nXkujEHdbsQP99vkx9eeb4cA1S+yPb3L8HaBENuGJnwJk9XYxtaOkXVq8waGv\r\nRvs1luFX8Ag1VoFlM1d58+4gRMhnVMQGORsQ6kYTdKOL/1pzGDuygx7AfTFB\r\nUmwTt6VSC+sXksoecNthQ5WFrbcVpen7Re2n5u+wQJgHAvrVf88ZegQohfCf\r\n7qPGzN2il881CoFGeJ7uHOEckLuSbhZT+l2qUR24zr+v+e6R8xlhJi5sI4QI\r\n4f+B6ZzAuunLvUZIaabt/h83T7ekgCge1XDTSrd+eQSRxk0UMhxtWTIUNvew\r\nt/Oa6enigqQvRYlNolrEDNGtYKEgWpkzAzBggw/skcn7/bq2x2bcJhnYJBfo\r\nkVubvi4S0bqzcptUJpyzvAeZJ9FGtfuEyyw=\r\n=4Hp6\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":"8a1660e1e78c39db2f7a080862d93bbde6dd9339","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.0.0-alpha.1","@lerna/npm-conf":"6.0.0-alpha.1","npm-package-arg":"8.1.1","@lerna/bootstrap":"6.0.0-alpha.1","@lerna/filter-options":"6.0.0-alpha.1","@lerna/validation-error":"6.0.0-alpha.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/add_6.0.0-alpha.1_1665351781080_0.6316055187842029","host":"s3://npm-registry-packages"},"_id":"@lerna/add@6.0.0-alpha.1","version":"6.0.0-alpha.1"}