{"name":"@lerna/init","version":"3.1.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"},"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.1.0","fs-extra":"^6.0.1","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"7f97c7bca038c690e2dd5d897e222fb5bca0a5e8","_resolved":"","_integrity":"","_from":"file:lerna-init-3.1.0.tgz","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@3.1.0","_npmVersion":"6.3.0","_nodeVersion":"10.7.0","_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"dist":{"integrity":"sha512-x+8na2vdTsg0Z1IYHrUn5mlUpgvgPPyq/elK7s47zkCSEQJ6hN/eTs8a5rVUBFlXOFXDoEA1ceXY3gju1rdCww==","shasum":"065fbc2f11546ce0b0a70265ccd4d3ae3dcf6e08","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.1.0.tgz","fileCount":6,"unpackedSize":14172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbd0HKCRA9TVsSAnZWagAAOd0P/0RssWS3jCn46jfj5+w7\nySEoQLoUwEO9o5t++sQGnj/BIKzE2blclAVE8bDQvBM4Dq77VJFw9hdD654P\n4PSYzSnMrU6YZZqUlYBLeuz4m1gmCODLMsWqiQ/y48cU5MuumisDtaTuhyPW\nI9YTBCzjHBpyAnkksNiS0noZAyou6EPTjEUexkbL/Tr55A81iJoa6uei7R82\nYqRv6b5TSYQka8ulpD4hyf6K2859/vAdmLOEEAdLJUpySSowU/PvZDwaE/Jw\n3owOSiRQGhDlH09YdI3tHZT9NU256b9bjL72aGLwf50eOWfUG5MxCnTHSQkO\nG7YcTWbpO8dOoYNysq7BDY2RlnexQA/9NJLm51XyU2n66HBYx5v0hzEp9K48\nvY95JozDuc8jgGljBICq80PXVGMcCJ3M3Ly15QwHms63iEEanDilQMtvFets\nbZ1yEuCP1B/Xy8yJ+aZ8031U0b3qYarvKT1oSSWzkVOBqboGCQlR7nS5yOpw\nMgngOb2RyZr14aKI5tTAej8a6COiuLrn50e0nqbb8ZzuquZ10eMJHVlPuuFR\nyCRzrCM4RwM+cmzknuiX1qSsFZdGmexhIZjR7jYxsNtV+L/SJpToHspF9DBl\npMnhYSKwU/TL8kqlh2ifkM9/8igGDJ3b/M3HAKmwqdG/V8Vn6sOdinMuUuYO\nWhff\r\n=RrtD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcLow5CtYCSlPmdXvphT00DohsxtGVFbFjuFvh6zl9UQIgEpulEv99ZcNNSA3+wbd67te38BG7wrbWCW9NVUoVPqE="}],"size":4640,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.1.0.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.1.0_1534542281594_0.4834981439422137"},"_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":1534542281721,"_cnpm_publish_time":1534542281721,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}