{"name":"@lerna/init","version":"3.7.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.7.0","fs-extra":"^7.0.0","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"89b53ff2b561e69fad3a3e8671d7dcd0f1c09c3e","_nodeVersion":"10.14.1","_npmVersion":"lerna/3.6.0/node@v10.14.1+x64 (darwin)","_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"_id":"@lerna/init@3.7.0","dist":{"integrity":"sha512-HDAUG4zdEZYaaYQewEaOcJf5pWKlqgUIY2s0MQStSrdyyvZ23TZ7XT2Fc2uybo91M7ooBGW3P/yXJXDMl6QQYQ==","shasum":"7bf3656fd827ccd57de233a787c2cee6b9998e51","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.7.0.tgz","fileCount":6,"unpackedSize":15104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGqfYCRA9TVsSAnZWagAAzmkP/Amtz4aEkUG2pyl3yFyA\nJy7jXXRMx5uf88x6P42vb9bTuaAN2ls7v271TgtULXl2VlQP3viZumTcSHAz\ndVdL015maz3EcFUI0Kz3yhicZjUSG5G7GpxUzuLSmWnDwAQ4Ixs8X6f5PMmI\nk3G0QpIsyvIDXxLsjr1aSJHL94U/xhRNSbIYxfsf82D+AdDE8gxAvMlkASjr\npfEykfpk5tdpyzpVMfoGLapXkVRais8vgblf3EU9e+hZSj+y5GQnH1ZUBI4g\nFUeRJExaFtg1vnuHMgl6iAI+taAoVuUZYDWpOoflsvKNLhhclmwB8szLWaaU\n9G4a4i0FUWBjxjSk8cSdQBzRuQj1008iLU46mYA1jjqp8JCwIKbR85tJfkUK\nJqp42VUlRcCymHSWGdpaPBn7gILqcRCUqKYTlzmWVUBEQLgpmcUjrVkFfvbg\n+40ltS+QRTrBbpspVXLV5PGnFk6irAwxz+n0udVd0HciCRCfXbyqa5Ms7b+F\nZ/XZAK83fSiEm4WgpId3+LiH3hpLVfl9DCZZkmUnM+YwW/ILs3A6GO6HkOxD\njQ/aDacN/YxH3pbWt1PDA4MvR58gGqZFEaGzFw3qvK9CYmuXGBJkLe06N80W\nQ7CTLwI7NQdEg6Csw+zUqdu9EYd6kl48q4mUGDe2+8iuudv6PvTG7QMdFyxY\nJxqW\r\n=E/P/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyU7FbOXOQTM9CejVjLaofpJZCQLCTPUvrlu7W+SK4PwIhAMjNBIWcJDwxGl7y3WRvRO2cDA5EpJxASePCyAkf56rt"}],"size":4764,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.7.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.7.0_1545250775790_0.24193638208977708"},"_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":1545250776011,"_cnpm_publish_time":1545250776011,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}