{"name":"@lerna/init","version":"3.7.2","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.2","fs-extra":"^7.0.0","p-map":"^1.2.0","write-json-file":"^2.3.0"},"gitHead":"52796f674ad3f2642270e942e96443437c54ff72","_nodeVersion":"10.14.1","_npmVersion":"lerna/3.7.1/node@v10.14.1+x64 (darwin)","_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"_id":"@lerna/init@3.7.2","dist":{"integrity":"sha512-840Az0GtyepX7/WH3QvOQDZJCEGFf4IykjjFuCLF+23+Od8Wxn3QCsp4Yn/+HKi/w7bSpsCHJ6xQG208dygfdw==","shasum":"eab6c0bb92351b02f9acf18658ad37803f2f8af0","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-3.7.2.tgz","fileCount":6,"unpackedSize":15380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcHDy3CRA9TVsSAnZWagAA3SsP/jp69HCIAKMKRXc9mwhC\neP4ci0x8JDY14KPm5OO19miLvQN+NU+4n+pDTV3xGjp9DyVTfU2OsW6c1uNP\ndVWT9f4RzI4kAiAEdwVR6HHAcftR3oc5iacnYIa7CHi4tf4Rn5KPy6zl2PRu\n59ERMVQf0NjndxlIf7OsWoP+V+2HK9SPlcW8fSVfFmYi90Ju3K0zb3fEkgHX\nuarIEt7GSiMUC0HTgmEXEpFN5hvqdd/8GufoYrSfHzrj3eVwD6ykMFf8IVeZ\nmaqcu4o9dQl9N6ApZa1DofeUiTBMd2FIklW5I2gYF5qhk8JjuKIonJDMOElu\nwzewVB98ixriDotz+IXqKFuQQovn/O8yM2QhupJKj88XCtRBHEbxq7VbewfW\nikUqHei0saKG4QqynvZcSR7APBgSRKwYm03cUHOJhpaOUFGBvgkqUOHnoNVY\nO9qmnzYE/mn9f0o7CxBEUhoVEMZsaJ+I3ebbzV/IwAee83LqWuISiS2gr+Z5\nv04nlWXlT+V9CeuV/8T/HHWz+BgMycawvRdDQP1lfidC9QX1oQ8m7G0GyZKo\ndAmafy1WN2LLZTsPscrANHMlma4cEfnBGdzPMRYZDzhCPrW7nyUdUSsrTEUR\nNMOvo+WA0bnKzLFFUqQGTcvUX8szbQS6PGJUpwlFQB2irb2ICMiHbXMUc5QF\nz9fp\r\n=sOL3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArEUrmIgeFzGefnE+jNRSK7gDKumRpm8YTclTJFtykqAiEAp3F2mZ63USBIxtoBeGX4Clp81aA85g5ONDPnjcy35NQ="}],"size":4801,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-3.7.2.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.2_1545354423363_0.6968028491635796"},"_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":1545354423481,"_cnpm_publish_time":1545354423481,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}