{"name":"@lerna/init","version":"3.5.0","description":"Create a new Lerna repo or upgrade an existing repo to the current version of Lerna","keywords":["lerna","command"],"homepage":"https://github.com/lerna/lerna","license":"MIT","author":{"name":"Daniel Stockman","url":"https://github.com/evocateur"},"main":"index.js","engines":{"node":">= 6.9.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/lerna/lerna.git"},"scripts":{"test":"echo \"Run tests from root\" && exit 1"},"dependencies":{"@lerna/child-process":"^3.3.0","@lerna/command":"^3.5.0","fs-extra":"^7.0.0","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"1c142db1ecb50120f0ddce8ff8a7d9cde1bee278","_resolved":"","_integrity":"","_from":"file:lerna-init-3.5.0.tgz","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@3.5.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"dist":{"integrity":"sha512-V21/UWj34Mph+9NxIGH1kYcuJAp+uFjfG8Ku2nMy62OGL3553+YQ+Izr+R6egY8y/99UMCDpi5gkQni5eGv3MA==","shasum":"40796d70dc261907e4149df62db8acbda8dc56fc","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.5.0.tgz","fileCount":6,"unpackedSize":14830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/aMvCRA9TVsSAnZWagAAVfoQAIvzak0u/nNe1ZdQNicM\nsxwGflkhuuTJhA6pM9TsTAgz/dDc9TFW/ykPq8QYDSlzbbKgTSOnr5s8+4Ad\nbQ4tmeVLglf6hrnxgvMX/AiqLTj9CqnqzYBWlj/QmCWuDl9gMXpUZwGQSMI1\nOE6NkNcEL+aTMm/W2BUgyhN2mc2Kz+Bvt5orN1n0m+5HOoqDKazPZYS/Hrxo\ni6JiZ4F9F/NZGhKI6IxWjG/kk4SsHNitZ8WK6yQnCLCBrSEpNYilWgrFjfnr\nHmhHFYY74nyPf0mQoqsE/02CTfmfYP738Q74aZ3gvRWLXzLpM1zg1ey9poUl\nkDwoCoEHkVG64fmLOfDSv9+yAurJ7UtiDOPqeMOKBSBP2TRuTC8z7HRuze6m\nNKy5CFSa2zZaNBowdTJmP9Mg4laleYMGKqOGUElUb3u6lUw2WYxsLbSw//1J\nMcJ9SSiwt4DKRGTt+npZDm1Z4mdn8ZXrO0uCyFzrFVLTnFgDEYDNdO9CK5nf\n+C6Yoba0CzptbAI4kHVGiU6TErM2brilPaPISeZO27gBBz0jRNK6P0BeHH2X\nHuP6SqehJrsdH2rhx3C8gOYx4UNI06BexN9SDI7Hm1uVAWXC6ZTbd33TKnS9\nR7RDjQLjaoRGtO8vO1IEwl5hXctZjfkpIy+LGz9meKVW3yCvqWCQGY38zuBh\nE0W3\r\n=Lc2I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWnlvutcmGOfWJS4eBRnLetR54mQ+fB/ueExSWGOpsSAiBuUWJ5P0s7P+6tfAfvv6gHKy6/QbBSm9VNG+Lr6Hthrg=="}],"size":4735,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.5.0.tgz"},"maintainers":[{"email":"daniel.stockman@gmail.com","name":"evocateur"},{"email":"hi@henryzoo.com","name":"hzoo"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/init_3.5.0_1543349038773_0.8101825108966851"},"_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":1543349038917,"_cnpm_publish_time":1543349038917,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}