{"name":"@lerna/init","version":"3.13.3","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.3","@lerna/command":"3.13.3","fs-extra":"^7.0.0","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"1496beb6278b001074d970bdd5869bb1f958d998","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@3.13.3","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.3/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-bK/mp0sF6jT0N+c+xrbMCqN4xRoiZCXQzlYsyACxPK99KH/mpHv7hViZlTYUGlYcymtew6ZC770miv5A9wF9hA==","shasum":"ebd522fee9b9d7d3b2dacb0261eaddb4826851ff","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.13.3.tgz","fileCount":6,"unpackedSize":16985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctnnWCRA9TVsSAnZWagAAcFcQAJDW1/a6Kc8aSMX7Mx/D\nC5SJFmLc3KxyIGL8ZLheqhqOAe2zIVJOOB/j22Qro8v1TAkv5yFnEozZt3lx\nBAogiSFDm0edMAfbuLKTIb8BnV/SmFIdq85HNsXgpRdE+1EPlv1b/SmAGwHl\nqfQhSY1/XsR0ilzNs9YKcJpfzBjBLPHUmBKGhCESG+c9CeEiRoWr5/UQua+o\n9hhM7MeOnaWudXDUCXYxYB8imyIM1KqOeEEnOOAjsTdujEBI8ZW3Jl5IteMJ\nZbFHio0Nwbbk9KoN8D3O1A7x9DK9rzJe7I3hy7S9PybfnzwprSYUJ9VzcMMu\nSgxsx3wCzZMHbLm4jbU66VQyScPzwDLOMC3FFHxc8rMh2QItX5S+Kzj0aado\nk/13snrMosLmwpxl2rL/Xy3bJKcovAnzArpcw01pnd3O23POkkYKCpRHezbF\ntpRj7Uu6/6QJsuz1z6dz/Jgag/2iy8Nm9CCBwrs4ynTV4aJgQLX/C+m2YUWd\nVI1voNAQtIx8TBaxzhQ2i+3f+M00wOyic0qrDVrhxa2o9WQjkhgrbr3t1aX4\n/tlb1WqUOereJX0BjNstCIv2jAf5IwI6b9kak/3xx9cUndDDUpSaw7q5HCYb\nly0+2ydF8jGOIJHiG5R1d6OycgeHASFoyUX0w1jwWl4rBbKCxZDOmj1WQSFv\nt8S4\r\n=1YOA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3aRCIV0F8tcEHesmOqHDAYcjXKkKkMHQapSksssflgwIgJF9cl/Ol1ysV2yA4HsgTMkajSO8lVb+SeTPLzwUfGtI="}],"size":5057,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.13.3.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.3_1555462613417_0.5663724474893077"},"_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":1555462613559,"_cnpm_publish_time":1555462613559,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}