{"name":"@lerna/init","version":"3.7.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","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.7.1","fs-extra":"^7.0.0","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"284aa4747dad26977790d6730ab2f640eb099cb4","_nodeVersion":"10.14.1","_npmVersion":"lerna/3.7.0/node@v10.14.1+x64 (darwin)","_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"_id":"@lerna/init@3.7.1","dist":{"integrity":"sha512-1BRu3R+zt+lzRsEW4/pQeo9Z7ONWfqWzh8vxNDbu9NhpHP6+9UMbAUNVlWl1WjD9UKpPWPOaOms5gsFtz3brOA==","shasum":"2dd2a781933904a382ddc604921da8687ab409b1","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.7.1.tgz","fileCount":6,"unpackedSize":15242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGt/RCRA9TVsSAnZWagAAHqUQAI47vHo52wc6nVpwLDKH\nq7V1X/melk3xXp2ZMPGdYOXFQkw0z7qx5LNjcZ0oL069zWo+JEe6yArCGkSi\nY6EviA1EaKDb+cJpIx5AgFeiBrn1p5OXuwVTUvI1vRVFm1JSdptMQg9pE+Pi\n4q13KBOLC8G1fhWtvBGZ7goSGUvwlUKBB0Vyj9feKI/fh1ugHCzgRTk4P3Ar\nuAKRd6L832l3LNZFV+o3eklWZAHMsgzZsz+DBphg7ML/BJG8EcsLXsdxeYU1\nxfh8sIFwlWQaJ1cghjBiOWtvgAoEt4M3ixerKVTHBqZvIUX4f6W3JIqKxaXc\n3w7STTF6wz0GasUlBtgtWFttCDkSs8PeEZonUyrh+b+pIDtNeARekf1cN3E/\ni6AcQDxY38Mvhqib5MFXfYPbE31Z/YTXa4GxYkLyFrf0JihcDdI0pQBVxMSI\nU+/S6B+RmMIHX5aXiqXBQFOzDQS/od9n80GAXs8QG56vHdnhfivGhNr8yagh\nTTb6lfH12Q2ZFwXK/kXyiEIB0wvLM6o7N4bSSovER8K+7pW5vHtfm/ZkdY89\n8KN5AXhgkVd/4qiZpnB1HfVBHC5AblvPyL1AcwM7wPDAUyVdUzj3jNA2GnqD\ndv4rJ+BZO8TS5Me4L6FfshMgNxsD7ECEDYRjlffwpUEMM5kuK9OU6qlWW2Y1\nrDpE\r\n=j19g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGkB2sv/35D9GFZT7nLa2fZSy0jfBKz1uUJocnqjQe+bAiBT2JGuJtoTeDa7oYLknZNItEUE6bQDp3ZR2hRfaATNiw=="}],"size":4789,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.7.1.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.7.1_1545265105025_0.07353224954457516"},"_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":1545265105176,"_cnpm_publish_time":1545265105176,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}