{"name":"@lerna/init","version":"3.6.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.6.0","fs-extra":"^7.0.0","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"8cc3196014f6fe8c9b41477b975c527d017a3daf","_resolved":"","_integrity":"","_from":"file:lerna-init-3.6.0.tgz","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@3.6.0","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"dist":{"integrity":"sha512-MTLy3rmMdvpXRmDdoYiVPx7I8sXH4dquq/0MxntL5VxSVh/ZS1HsbrjyRqpdkUKWD9QguxR/w0pzOjVvCeM8CQ==","shasum":"6e23c3db632b713e23250d33519ed844a79a145e","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.6.0.tgz","fileCount":6,"unpackedSize":14967,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCwkiCRA9TVsSAnZWagAAfuYP/RPnL1Nw8848LtarXXiR\n09cFS/pVJiRyix0jk/sU/6EHmJIVyFUcNTPUnG2jIAeuXFvjTTq+qvyCGtzh\nZNR76+D0Ap01shm6d0puWikBBdfCZpQV95A14b9lFUkZH0JKAAiWJ0w9OYZd\nkbQHB8WoXD2XwYQsbKGYY8wa4+hjoFlzu7t1y9Iz8jrc3L/bdVHYF+UkIHtt\n2nzydr/aeJK1dpzRw1sVZU04/4hh6yaM7uvhDgSVFYsEWRuNJzw1Vt9R5X6h\n8L6LHsgRY8lYWABD6if3prxGTBNigiihUZOdZQCh+v1FffwWdLVP6uHcMWai\njUuTcK23Gi5LYD/vcQKA2i1I6Wv2bkdQPjJ/WHAMLbEVTzvXGHRkLR2nadnL\nJbe0IJl5ffvjm0Uey7a4nYFIRvhTb2TnlGUgJic6vrvyhxgf0/FFjAnHz+gB\nClWOVTAsGh4H6ze0FK8Ac/qipe6ultWLINs1LVOrfcA+fYaQlgUpXZjCoceQ\n0IhTj2pJJac2XaGXDi3NjX++GcxLb2bEuax8NHliaktab7l3QjrjvShfzhFQ\nPFCRJMgwCjknsv+YmYlpoKVj2g6objIg4yHD6VICtjJVaJsI321rS9pe+4hG\n4A8xQWNnQiBfI/QHO83hBZBNsWj1avxn/07deIqC5rUIXygkhWM5vRdUiJ3f\nm5PS\r\n=qjPf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwDruqA2GMC0c1+CkOve1ZpOBSAQVUcJCj8d7DhzLcOwIhANdZVih8USJfcOfab2GVX6HLd0Lr/4xuvgQTbhEjazHI"}],"size":4752,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.6.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.6.0_1544227105731_0.4595092831014824"},"_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":1544227105882,"_cnpm_publish_time":1544227105882,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}