{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"9ec4032f95cb6f0b7959e60bcf3a90f8eb5381d2","tarball":"https://registry.npmjs.org/@lerna/add/-/add-6.4.2-beta.0.tgz","fileCount":6,"integrity":"sha512-nQah8X6Hpe5H0BAmvjlsqaAUm3k8n9McCdPV1BNMMV/uSHhGFMfVahk05oRcMQFL+G6TN17Dd5HgHHH+P3VajQ==","signatures":[{"sig":"MEYCIQCnFFXVwK8ezV1Bp6a4IjKNkTTJydjQ9v4ufPHw2rKO7QIhAMr1aWaZVNcfmzt9LirF9Hb5xfHVuT5qJFp2JxFFkDLO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyX0EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqfA/+LKMokMLaaeXOMzYmd1Yudpb7fL/D+V2sC+RioJFSKzlD/hyR\r\nWbC1+aQBz8XhdwbWwUDZO9u89ZOxVRiGZUyU8sR2hRwiB5woar25U9NNErGf\r\n3MgkWUhYw8Htm9w4Gfa+qvQghfCVPcbLyrLexFiwNBB0GBv6RjdNSjg7er82\r\nZWj4GXeutysKbZ6IPgV3B1cdVnxPVCYa/uPJbEvkqOy2flO6Kq4Ob9vQesXA\r\nzrKoGsz6q4LqDaSNrxBbAxL45ntAIK0CUltRUG9lYOkvDdhGj4JDVYa6N2Cv\r\nHEeDOaoM/Q+bNZRp0HZ2m1EElKcZ1mtVhcuPWB2hsSw96Nf9KhlAxwiQ97eZ\r\nV6MfsrUzWsUAva8ggKdnjvBRNbpKN7Kl/BXWR7FTQD3ntvCuRu1fQ/d4QzwY\r\ndeyVCq239KE+Ky+JO5qUZMS1Qkm3ERvMKpxdm1ETpgTPU8+8LS75bcOIk7s0\r\npb4zW6lGb0gGHt4tDS9Spl910H5cKUOAYNA322hpRnHACERpo5b7RFpthRX2\r\nhisLxe9XXWcVDbtmmjBWfnBEUK7Oi5XzVitoh71k22Y8sfVeI2NJ2PY3PL/2\r\nUEPistBzRTgsTi/97ZqRkN9wUVuiOh2nAmCy1SaXz6w4d2Yi3Wbir1JI6lN8\r\nExJF83mpNKUDgSHnqrGxZFNqGqFxcBzSdvs=\r\n=j3H5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/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"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./command":{"import":"./dist/command.js","require":"./dist/command.js"},"./lib/get-range-to-reference":{"import":"./dist/lib/get-range-to-reference.js","require":"./dist/lib/get-range-to-reference.js"}},"gitHead":"d8ff988205dfc596d55cab91477b5719460e9fa4","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/add"},"_npmVersion":"lerna/undefined/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.6.1","semver":"^7.3.4","npm-package-arg":"8.1.1","@lerna/bootstrap":"6.4.2-beta.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/add_6.4.2-beta.0_1674149124531_0.6100203637954043","host":"s3://npm-registry-packages"},"_id":"@lerna/add@6.4.2-beta.0","version":"6.4.2-beta.0"}