{"name":"@lerna/init","version":"3.13.1","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.13.0","@lerna/command":"3.13.1","fs-extra":"^7.0.0","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"514bc57a53232adb90a2bb4b03e1c08d709997ea","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.\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","readmeFilename":"README.md","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@3.13.1","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.13.0/node@v10.15.1+x64 (darwin)","dist":{"integrity":"sha512-M59WACqim8WkH5FQEGOCEZ89NDxCKBfFTx4ZD5ig3LkGyJ8RdcJq5KEfpW/aESuRE9JrZLzVr0IjKbZSxzwEMA==","shasum":"0392c822abb3d63a75be4916c5e761cfa7b34dda","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.13.1.tgz","fileCount":6,"unpackedSize":16844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdbnvCRA9TVsSAnZWagAA0JYP/iodgin7MuvETLRzD96+\nI4LoDwWEQnBp0pih5shxEzYXBA0l20IoiSR/oKtjiksp3Qh5EhrKQi5WL/d7\ny8TcIwLdGWx0p9jRteYhhgDG4/hfA6Nba8V4v78vEdqDyHReY7iWsZsn6O8l\nG2BFTDJ8YMipY77wM0VmmwTnRbz5zV+uju2eempBBwXhQI8zDotZRSL09dVF\nMbvhvq2DfmKbXgfZ1UJ0Hnb83xztYFlEqdhPNjfoAp65gobfp1uryLUJPy4i\n99Tx1rjLSQ0bWIaFs9+qtcZbWZ5ksfU0lfbL/9gHcJI1xYXNylWRhxeeUPp1\nQfeijgOhbBK0cx28f5HM8X72Xq8RnpHQbJw19rFYMc/WkchLlsEYocVZtxF2\nYy+r0cg4/5OvVmwx1zS5lHfS7Vy+oSMT5b5Bc0hY/UubXRbXsz13Zehji2Hl\n1ZRlClv21Kd5JGtrJl7zXWthI+/u9NqY8r2Gcu7AMb4p5U6CglHNL6XlFKGF\ng0LHMdBcHlq7RxEEVEh10rI1+ch3NRfstLumOA18dWDEE0tQHsOeSJBU2Td1\nLaa+6BnIIyJ8tSKGDhe3kzsxIyu2VA3hmPQ7e3XH24L52MROUzX4v0h4A9zS\nISncZ3PgX4X5uJgz2ufwq+bdNbZmGObb9h6DdZd+L0KfR4TSy1q4qvJ7PYZl\nBnUl\r\n=iXE+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoatBIJYRtI307GgubpoR4FjqcSDs0V3DwUHHONhcQ1gIhAN2D/L8+oXPNW5tEMVjFpi+u7zoTN4uY3l8M3CnSdYrB"}],"size":5031,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.13.1.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.13.1_1551219182625_0.9872909096272617"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","publish_time":1551219182753,"_cnpm_publish_time":1551219182753,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}