{"name":"@lerna/init","version":"3.16.5","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/tree/master/commands/init#readme","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","directory":"commands/init"},"scripts":{"test":"echo \"Run tests from root\" && exit 1"},"dependencies":{"@lerna/child-process":"3.16.5","@lerna/command":"3.16.5","fs-extra":"^8.1.0","p-map":"^2.1.0","write-json-file":"^3.2.0"},"gitHead":"f0574092a2db90142b3a27ec1a4941cddbdcdf62","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@3.16.5","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","dist":{"integrity":"sha512-K8JtSHbPxR5pZHJ0GUXGhMdx+E/pDnbp8JbTUkEkLCyRHp3C0VFAtINJ+ysSpObleTFivA1xrgwqG8JbgI213Q==","shasum":"ca45889d6d15c46e26d1b45b59ef455006df7f68","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.16.5.tgz","fileCount":6,"unpackedSize":17921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdm8INCRA9TVsSAnZWagAAjwEP/3WkiijR2PJUcSWhQK8X\n8hHpbwkMK+3NZN94sAaSc6CR1huqiM0nL89MhOOXU0MAQ4d4sPCkbQEyHRjF\ngmENYJsJV0V7zRLfkLGTp3N9Bb1+nzhqnoZpVx6wIWuNU9onKNn2wbmvmXmB\nN2e1MB7bmIFR9RInbg13S9MTcrzdK8umwbPRc95zthDS8wwbmk5CzsRooSub\nvx7scf0FQhTnBmLoewbWCdj4sv05eG45QDuc8PNGl9k4AQTVLdiyp0UtrsR9\nc2vchQ7dJH5lSfcD1Sdxo2j6bRCyA5Fzs0Uf1InPWJBYUX0oCbD+WZJvbl7q\nYLjGvPXXmq1LA7R+ldrr6/T4EhzvQsrIewBFBy7iqVpwmAR1Mhz+3A9EDLiz\nS/OGrsAC+7pVzGf97bUyMOiLWrmQxgAbBz7Tv7gSm/KZEUFQq7fozO+OicoD\n7PZ+jKkbqP/FxWQ43xQTX5MxgVEBlufBEDLdqq6rGKsjPKi8S8+VngzZlhl+\nn1M52eySJWvAuGE+gIx1QjTkn/+4Ty8qPYjJbLpIayfhgVmw2FNqHGgHsUv3\ngR4IWDeg97LQAPAvR315Ilq8eZX1NQT87Yb/c80AVGEL9nLr4eQ16jZ1CISa\nCMn+TwMJ8/jntDN0Me8GX7of1lAnv8g0CvZRyelbZOwR3Wx2d7cQZlV7Sa/N\nuwoO\r\n=yxgG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/sYD5vYI4G3lkRad8MkUOlbJaRdn4GhOP9NhFCqx2+gIhANBFWWvyEuW/L+dlCNoMjYwK1xDFWtKvz3sa8FwgLo6x"}],"size":5198,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.16.5.tgz"},"maintainers":[{"email":"daniel.stockman@gmail.com","name":"evocateur"},{"email":"hi@henryzoo.com","name":"hzoo"}],"_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/init_3.16.5_1570488844983_0.09496095824360307"},"_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":1570488845092,"_cnpm_publish_time":1570488845092,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}