{"name":"@lerna/init","version":"3.0.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","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.0.5","fs-extra":"^6.0.1","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"882b52eb4eec60f161c77feb0bb175efea0f2909","_resolved":"","_integrity":"","_from":"file:lerna-init-3.0.5.tgz","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@3.0.5","_npmVersion":"5.10.0","_nodeVersion":"8.11.2","_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"dist":{"integrity":"sha512-ziAcrnFDAvRp1w1X4buuFDbdGtJv6q8oM9BTmrFLWcPWgFq5ktB0musRtQ5Ww+CxcXRm8wepFN0XvIZ1nA7S3A==","shasum":"603cf9248d5d7a0c1df3fe3d7017b3266ad80d23","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.0.5.tgz","fileCount":6,"unpackedSize":13712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbc3QcCRA9TVsSAnZWagAAvdIP/R7zhL3ToEDTnQBuxDx4\nsdp8JQkLc1x2pci33ITM9RmbNwqWQnlRzR0amKrRn3SOsu55BwzXd9+SdU8/\nZXJm8k9bODU7Q9k1959nzg9xXUxiesHAvYBj13G6HMWoT7oNz2QZsPsTQghH\nTJExv7DCDCmTAWzGDpl+9xekbyie5Ew0FYh1orljeapWF1NIwH92RALW99YV\naInUrlerNEeYPp0dOc2G94/+3u1CqXVaYPvWsOzGaNkcLFP4o0j57olOPhkd\nAyxaZwc4UgaEn5oaNk9TbE5+Mu5ihLg+OX/pnRbzMaMogUIIzliem2dW94VF\nbMiUEFZAHL3Gejg6DhVq/CMQCSSUgaR1js4UqPLFLpDZ+CKRDdRVFhuCjKDv\nm48dXrULFt/uUYxXT4P9AipR800gO2RhzfHY+MGtJkiQ5EMuPg3bh1Ob4n+O\nPUFdnXHQfrOa5JwWdxafiinonuWpZkfF6Dcz95zveNKGvy9pTfVfOPseVtur\nIaTfjYNzlZT1p+S2Jnyas3jl9fMQNOAq79wvGu6mi7HdvFH8Cf7RUhm8TyYY\n4MctVVrpSvE3EN9YTnlxXTzgsXe7wgH2vTfdTj//mu/624hEhIL8zZEPKmUf\n/tzqFK/dLGC1MX9l1vq49H2kEyo+EWyUypK5HMcu2GhuPyBCUYVqtPd98g2c\n4nEW\r\n=U87D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqWz92gXpCg/18Zq+LlTbuna7oCYf/+KKx5FbeFE/l+gIhAIXBi2PQOnB1IuQEzg4IaluSVSnAGXLxxh2vwmU23tE+"}],"size":4565,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.0.5.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.0.5_1534293020531_0.7060784791458623"},"_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":1534293020587,"_cnpm_publish_time":1534293020587,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}