{"name":"@lerna/init","version":"3.11.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.11.0","fs-extra":"^7.0.0","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"45a05acf2d52a46f553fc1efadf9a32312aca82b","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@3.11.0","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.11.0/node@v10.15.0+x64 (darwin)","dist":{"integrity":"sha512-JZC5jpCVJgK34grye52kGWjrYCyh4LB8c0WBLaS8MOUt6rxTtPqubwvCDKPOF2H0Se6awsgEfX4wWNuqiQVpRQ==","shasum":"c56d9324984d926e98723c78c64453f46426f608","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.11.0.tgz","fileCount":6,"unpackedSize":16076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXN2bCRA9TVsSAnZWagAAIvEP/36ObtRmIjAA9RyDa/DN\nLpY4Lyelbgg8NHglYf7UMDCtLXJlqBH7cVp/LKrW0Uead2uKY+mog7TfcY7X\nY93I5SqB/wzlPf7nMszSWG/USKFfkKXi6mEJhgFA5R5nThZ0/q5G8agq4ekF\n/u1wEyc1qxUSHlZaT/wpDKMe0sxJ6fKVXCV0fgi3LaVGttU5s9kub8/uJKh0\ntsS8RIZzi1TUggsR+DYIqnuTejGlp9/6Gan2NZZeLYnjsoYQhLuhK1FEMKzD\n2JtkMdEtbAIz+N9GvyDwm+oOWRJ9iyvsVlwIEBu/eiy3VsPTQgre0H6aaY76\nFUF+gPowxBd+poqc+gJ8UBEwdfs1RHTREVEzNJKRj3Ie5b/U5CHI5nQ7fnzN\nDsj9+6yv4wecFwFDhag2MRxhcXqqPVOeHyRJ9+VJZRdLXY6aP/RlMF7YzoFZ\nhgylOzM1ZOl7dCDQgZSvHDWpuzQCb3r1W04vevFmb1louk2lX39qcI0Yz29g\nt4KilswUiuQk9UhqVd19KnG1w0uCROZGewSBpJ27XWgothnWniqjH4SDPSDV\nyFRwt9bChdLzhbmMaV61m4HiYvuW9sVxcsIIpIHPCA5tVgFMyymHeo2AU8Q4\nrpEDw1h/iB+G+4ejs0MnalRPSQP83K0PZnCHWRuG6aLnFFoKbl55ffmTNONc\n//I7\r\n=z+An\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3fKwWjST2c7SGQ0FbmKI0/qV3HH+/BBkARVs5kEd6YwIhAK3ja34Nm0UdsrgmUxQCLyROXvg1Z+dFazoY1ij3xABc"}],"size":4886,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.11.0.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.11.0_1549589915174_0.6977946573893148"},"_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":1549589915293,"_cnpm_publish_time":1549589915293,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}