{"name":"@lerna/init","version":"3.1.2","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"},"files":["command.js","index.js"],"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.0.0","@lerna/command":"^3.1.2","fs-extra":"^6.0.1","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"6abc0c95ae6fc6e613e74618d86a060ae218938c","_resolved":"","_integrity":"","_from":"file:lerna-init-3.1.2.tgz","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@3.1.2","_npmVersion":"6.3.0","_nodeVersion":"10.7.0","_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"dist":{"integrity":"sha512-k91NL1zvblTpXnleX+RpgWjrX0/W/gi9e3BlQHqc2IvZpgJer2NYLJxw+Urum0x82Ltd1phxR5jXiDnGOukm3g==","shasum":"1d0575daec6bb0467262c53fef261b096cd16117","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.1.2.tgz","fileCount":6,"unpackedSize":14331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbe0+rCRA9TVsSAnZWagAA7A0P/0Xy9SCffYOD90pFoepg\nr4ma9e1LrDhE1RsSnTS9wgW/e2eYuUunL+A8QwBt/5/1CZv0O2+G2ohePnMa\n6YcuyAXZvpObzb92pJnTYuHFFMPuLkp+UqVVXfmrkEWGjxFC68teQsB9JKG6\nIaFqb2qDBIIaQfURh7CWHiQDYpSIYaOaBhxezsf6EW25LhMhJXWpEcEwSn0Q\n9n++DGjtrQMydmQxRXtN23oQFXzD8pJfplR4YzdaxFTv7PW+KCntalhDd4MG\nAkREQGhNXbLBAe3QG3MGlG3WnzhIsEYnup3Vhlu3+obgmIHFhREoKVsdTEJN\nL8pqmcuCYYqDQENXT1x0iBhSIN3wXrTG76JSIYSENA3xT+TbnqToBvu9RwvE\nQIAlnVm5vxZRzWM9NrROnPQthMqNDVCCYcvkAo41hbcIosg9BhbBY0Ke3BcS\na+OZgxHP2l/mVVKS9qxM1c/wXPZIp3+UPCDSXDXd6aiHqbVR47/bI7pYgQCs\nJ+anmdPEq9z2bk+NGIJgM6mPg8gHcOD1qwsxQ2ibQHU0tQCjeT95t3lFahcU\nnoI+et3mP1B3gQ5LfKL7hc9Y72JeBRJpWskTNOpCqQ5J50WuBME0PegaEsrU\nB0h6Tnpc6oWZvKYGxAS8cL/9a1zJYGCkvYeMPDYl4CgXmQa6OrBP4qE4IPRb\n1EHJ\r\n=zYl6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfFfDpHQjG3LdTxgZoldUKCPBkfXIU4DWYGt9vG8BmkAiEA0AWr+N5dzNrq0NoH4aHD7UF15Ibz+Mn36sv2NzoL/+0="}],"size":4667,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.1.2.tgz"},"maintainers":[{"name":"evocateur","email":"daniel.stockman@gmail.com"},{"name":"gigabo","email":"gigabo@gmail.com"},{"name":"hzoo","email":"hi@henryzoo.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/init_3.1.2_1534807978784_0.05967332581228302"},"_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":1534807978894,"_cnpm_publish_time":1534807978894,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}