{"name":"@lerna/init","version":"5.1.7","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.7","@lerna/command":"5.1.7","fs-extra":"^9.1.0","p-map":"^4.0.0","write-json-file":"^4.3.0"},"gitHead":"0e47379cb6e242ad12f5944c22c1d4d5f10c1f7e","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@5.1.7","_nodeVersion":"16.15.0","_npmVersion":"lerna/5.1.7/node@v16.15.0+arm64 (darwin)","dist":{"integrity":"sha512-Z1uvSSnkYF5w9mlYrze58G8/tCmsH+pJZk6vGglCFh9ekvIeLCknChqjH7PNa9f+As4dRm9jfyY6QDf/EoxdaA==","shasum":"0afe760b1fbed28076c296e283ef3fa48ac404fc","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-5.1.7.tgz","fileCount":6,"unpackedSize":21103,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1s9Ag75AqIk5imEwmB+nR6B6pwG+zcbx6AMyTFLx5yAiEAym6wS8+Um1qAfrFgrH86OdT4J6goZWm++bQBF9GZYQg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixZPNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2dw//d7a+VL8uZrsv5z0zFLn9/WJaIYCdCcCZTKpr5cRXHPTxhRNV\r\nYOTnqk/vM23tXpr2x7+ShhhiKV72AUabnbICXeGEPuOCHxgOpUP14Df0rcEP\r\n6u7KJ4lO0GoXUJPrUIdi/IcxLIsEnSpRWM4fC/3vbioM2gKBqvy4Y3M8X40s\r\nB63mEuV4VA9A+YQSEgV+UUlmOHrYt16TqazulIcsKA6vjfxv2sDeNtOSsfxa\r\nq611J1G9hyHaG0XEPokbWlkoOTQAkrgGLFOmzRkuqoAVls81UlmiD1QNeAzQ\r\nxLL53ulu2nxZmyIE0y/UpfhsAEPdq4AJoCyU5rAKV+aFYpU7EUxVJyRKypuI\r\nkM91M7p1+1cKyFI8q2/kvroLne4rm8TbvXZs5Ny9o7IMW60UvE3+1E3KU9oC\r\naJA4+pinKt6YfNt+bXh8OxoKJ9ZZDPGVm18LSGaIv+RQPDKuWsclg6xwDSG3\r\nTzANaUway8fQmxwMJa9QGybAiEqWaoviT12p8m8G6BuLBtlgB38HjXS2pGet\r\nYo70kJYK99JzgZUtUY9gYRmcAzFCuk8D6xzr+3DIFQXGwhip/peVIMlTSSdD\r\n5HmIdq6MOnsNYrk6aAQQqRdVgwat8Be+6qXM4EVkEmis4O3zH5nJ7xSWrFyI\r\nMbPT2Vu+uJqecUf9SEDpH2PzhGmh0qiVTTc=\r\n=IOcS\r\n-----END PGP SIGNATURE-----\r\n","size":6007,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-5.1.7.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.7_1657115597086_0.6253094852149397"},"_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":1657115597314,"_cnpm_publish_time":1657115597314,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}