{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"948c550bdc29f46ab5cb233c62edebc315319f26","tarball":"https://registry.npmjs.org/@lerna/add/-/add-5.0.0-alpha.1.tgz","fileCount":7,"integrity":"sha512-Qcs97q8khJlP5bEttzTdsMiCsoVHRuFGoUeJEqD50uoN54KxEcPybwRO7ctRWNx57RChwG6x1NrUXB9HQ7H+VQ==","signatures":[{"sig":"MEUCIQDslh0MfvVggXnbDsomTM0v7mvaka1XHiIhJ3D+q41nqAIgHzd/pXUbaqXXG5/VyIkFJik15J4buvYBz/a2w4M3sqk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijHv6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosIw/+KaPqqEvbcHuXog270pA63gfQRe+V33PjyBiG74VgOpoP6iPH\r\nUWLYDDOfmXfRutmkGe1RVddoEX9fMtyl3zYt47cry9hit0/2uGjTiwB2G2MY\r\nWrke+q8Tltwflh0ikJ8cNG2ih0F1ctOoq7FNPKMj/mPnMhqu9yH1DANW4Jf8\r\nIhgn6QMNdryweMpa6jw1ny3Ee/CypRXNP4VwUlSnnipnfMnoJSct1qCehVZw\r\nEzqaHKhHaCp5Ig2x9uZxCxmzhI9eYEOqJJgRoM87lTAHQELcrJCQgY5hSShw\r\noepI2DSiSYob5H0qCJ7JdwQQWmoS24SZwyQWrw9fBvioYACvibpOG1AB2t6w\r\nxwRQkIK/HSx0z1kfaYt4o6MjKaycob3/l3c4p2pZxYnptlEI5qCz6JV0+B7e\r\nqvPtHcQbjb0IQ4zuOPjooI3AIwzfuJM5XFo/+kUm+uLM4pgYVD9DHC5RY77N\r\n/DY9dMVpqSE3CobTVi+T7i3QeBIHlcbQEhpdeV1ammLvZgD+2ophtygOVvRa\r\nG9cz6aC3sDSAnWmcLgdTH3LjIdRwMXXj0ECFoLQMSXLWtsznLmudL+bPhenT\r\n7CRBSea8lyA9BwABqrJ4xmZQYzlyYd8rcEBs8V0fKAJSSYPvxa5nLM4SerBY\r\n7Vk5JGcGPhK6yhOfOtO3mWlIw3EKeY8m4Xg=\r\n=TR67\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":"66c961d55050634bb011e98c43aad5b2ec8505f9","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.1/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.1","@lerna/npm-conf":"5.0.0-alpha.1","npm-package-arg":"^8.1.0","@lerna/bootstrap":"5.0.0-alpha.1","@lerna/filter-options":"5.0.0-alpha.1","@lerna/validation-error":"5.0.0-alpha.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/add_5.0.0-alpha.1_1653373945868_0.4104248248512383","host":"s3://npm-registry-packages"},"_id":"@lerna/add@5.0.0-alpha.1","version":"5.0.0-alpha.1"}