{"name":"@lerna/init","version":"3.0.0-beta.1","description":"TODO","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/command":"^3.0.0-beta.1","@lerna/fs-utils":"^3.0.0-beta.0","@lerna/git-utils":"^3.0.0-beta.0","write-json-file":"^2.3.0","write-pkg":"^3.1.0"},"gitHead":"5a527968bb9f7b7c3af0d5d86391d6d2650ddc7a","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@3.0.0-beta.1","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"dist":{"integrity":"sha512-PnRAyhVqYsgBMA6gSGlZ4RTYDAgOoQzU7Pm+i7PtrQ7UfO8GZ39GO5+8gBoGDIcBESC9YtCPUnQg/MF0cDpcpw==","shasum":"8d74570eb3f8201b8193a67a4faaa65da6b55d66","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.0.0-beta.1.tgz","fileCount":5,"unpackedSize":5025,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq9iI+7s77KTfJHwZSDJqBzV5tOFeDb5SLDFpx92/PjgIhAJn3mzy4/BQOQaiesggMperNdd6R2BHaHCBtzwB5IQro"}],"size":2060,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.0.0-beta.1.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.0.0-beta.1_1520563849395_0.9736212549763352"},"_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":1520563849438,"_cnpm_publish_time":1520563849438,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}