{"name":"@lerna/init","version":"5.1.6","description":"Create a new Lerna repo or upgrade an existing repo to the current version of Lerna","keywords":["lerna","command"],"homepage":"https://lerna.js.org","license":"MIT","author":{"name":"Daniel Stockman","url":"https://github.com/evocateur"},"main":"index.js","engines":{"node":"^14.15.0 || >=16.0.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/lerna/lerna.git","directory":"commands/init"},"scripts":{"test":"echo \"Run tests from root\" && exit 1"},"dependencies":{"@lerna/child-process":"5.1.6","@lerna/command":"5.1.6","fs-extra":"^9.1.0","p-map":"^4.0.0","write-json-file":"^4.3.0"},"gitHead":"edf59da6f9c8753530ef0d811bdf75f4dad16128","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@5.1.6","_nodeVersion":"16.15.0","_npmVersion":"lerna/5.1.6/node@v16.15.0+arm64 (darwin)","dist":{"integrity":"sha512-S8N2vjWcHrqaowYLrX2KEbhXrs31q5wU5sfsjaJ4UxQd/cBUXvp4OWI98lRTQmXOOcw9XwJNDHhZXIR30Pn0aA==","shasum":"2a00a242f69a30f710fa55f39501c2aeb4cd9618","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-5.1.6.tgz","fileCount":6,"unpackedSize":20965,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9DH9MvhZjNAxrowX7i1sZFEnE21lThOxa6jtRuBU16QIhANIQqlbPAOIigyLN6D5cH6iZPr8iZeZAKLOmbcEYE5M2"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJite9sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTOA//YF1PBMKXUtY9AqRXeyrS48sNaDH0e9W5712bgrQu9k5jm2+W\r\nveflrx6fH363J38H/mUyu3ASmjf7PvyZRCGLYbJijlvyJCKdgmMVg0EuN7vP\r\njoR5BfAxnBuPzsQHTtlBLrKTU4W/P/QiK5pVFdfkHmIVOD+N/CybrCoO6EWt\r\n94hzDhoUqTiDDF2PuXoC+Ub6xJS1fb5xUp5RO6iDnARfGoquLcLfrH2aOlmf\r\nOObEqXal3H5ykWyMX7uanJqsG8vuLQc+33b0M9CWYEqJpw1IoPEiNy7r+Lph\r\n/MG5af68B+756BHonMo5QJsrBpWxaeepwM0wVoU74XdlEcF2MGhPAgEJDrnV\r\nnwF7EK++O6Y4rUVYN7tWg3sQkTXmf13c+Ni9Gztsh3V3wEXH3beInvvdC+Y4\r\naysB8WM2O+CJKQNr4fB1ngFgQToofqAnK6l5/3+mrq+AXvUp7i/EWndD+NQW\r\nUrQNxCqxltezAYXbxCA2Mxh9hFj4pQ4Ej+KLmPYpj0WJwUafwYllHVqxeyZF\r\nX4vnAhZ4bj3kRq+TNtQ9RZlZLHEvi3Z1jMIyjsRcioeENw65HLdR1nqwQxpe\r\n1OC69J+XVAIBGPxZf8LSjY6/wIdwcoNvCiKec8QMMVXDJMoawIPZYHcxHd4j\r\ns2LfynwbL5VpI17QHt7vbeprPAPvCb63o7M=\r\n=yepk\r\n-----END PGP SIGNATURE-----\r\n","size":5988,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-5.1.6.tgz"},"_npmUser":{"name":"jameshenry","email":"npm@jameshenry.email"},"directories":{},"maintainers":[{"name":"jameshenry","email":"npm@jameshenry.email"},{"name":"nrwlowner","email":"hello@nrwl.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/init_5.1.6_1656090475927_0.21944537429888955"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","readme":"# `lerna init`\n\n> Create a new Lerna repo or upgrade an existing repo to the current version of Lerna\n\nInstall [lerna](https://www.npmjs.com/package/lerna) for access to the `lerna` CLI.\n\n## Usage\n\n```sh\n$ lerna init\n```\n\nCreate a new Lerna repo or upgrade an existing repo to the current version of Lerna.\n\n> Lerna assumes the repo has already been initialized with `git init`.\n\nWhen run, this command will:\n\n1. Add `lerna` as a [`devDependency`](https://docs.npmjs.com/files/package.json#devdependencies) in `package.json` if it doesn't already exist.\n2. Create a `lerna.json` config file to store the `version` number.\n3. Generate a `.gitignore` file if one doesn't already exist.\n\nExample output on a new git repo:\n\n```sh\n$ lerna init\nlerna info version v2.0.0\nlerna info Updating package.json\nlerna info Creating lerna.json\nlerna success Initialized Lerna files\n```\n\n## Options\n\n### `--independent`\n\n```sh\n$ lerna init --independent\n```\n\nThis flag tells Lerna to use independent versioning mode.\n\n### `--exact`\n\n```sh\n$ lerna init --exact\n```\n\nBy default, `lerna init` will use a caret range when adding or updating\nthe local version of `lerna`, just like `npm install --save-dev lerna`.\n\nTo retain the `lerna` 1.x behavior of \"exact\" comparison, pass this flag.\nIt will configure `lerna.json` to enforce exact match for all subsequent executions.\n\n```json\n{\n  \"command\": {\n    \"init\": {\n      \"exact\": true\n    }\n  },\n  \"version\": \"0.0.0\"\n}\n```\n","publish_time":1656090476118,"_cnpm_publish_time":1656090476118,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}