{"name":"@lerna/init","version":"6.3.1-beta.4","description":"Create a new Lerna repo or upgrade an existing repo to the current version of Lerna","keywords":["lerna","command"],"homepage":"https://lerna.js.org","license":"MIT","author":{"name":"Daniel Stockman","url":"https://github.com/evocateur"},"main":"index.js","engines":{"node":"^14.15.0 || >=16.0.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":"6.3.1-beta.4","@lerna/command":"6.3.1-beta.4","@lerna/project":"6.3.1-beta.4","fs-extra":"^9.1.0","p-map":"^4.0.0","write-json-file":"^4.3.0"},"gitHead":"329eb99e3080cc4d5de53960a7d0421091b08782","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","readmeFilename":"README.md","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@6.3.1-beta.4","_nodeVersion":"16.15.0","_npmVersion":"lerna/undefined/node@v16.15.0+arm64 (darwin)","dist":{"integrity":"sha512-+IFx1UK9/Fs4I4Di7Z7wbJ4H1kuHnwbhsajS165TrgxCsdlE0LGMTyhVmyjBzBIiVsd9fK32xnC00RYKLe9KRw==","shasum":"721a7974f92bd699b1f5b2c724217ebf621ce32f","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-6.3.1-beta.4.tgz","fileCount":5,"unpackedSize":9202,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHACzCp9wxF/Iz61zmRktoDAIY0R22UxzFb2s0MgVbdhAiAsaGQnJpFTXI3YLt4xQAB2JkxwYViztCfNwcsJq2OeYg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqueSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrI3Q//T9AuooZLOFg7LXAlW6pCbcowYOqqPkyhAL/OKFxr41c06XWq\r\n/hqUlicWpVdVjXQHArsAN+Vlbhzej5aobaMKBB0qvzKGIOn9w+9j9wqjz9+Q\r\nP2ZJtm13TwkN4OVJNdqtH7IM+NXt8qDdUATCvDLcuRmn+pzmF0oCddf64+n+\r\n8kKrKzKsGaFLJjeLZwjA1XvfS6kUfIJQxsTreomeVtFYVetBMGngEMMyEFcj\r\nNQw9c9EickXQychEb9WrVrrBgvtqkjRQI4e+1GN903B9OC2C26f+oQDmdwbB\r\n/eBaz8hyU5DrjFUdm9ZxeVsMrvuzDBXx1eysPsxeUkhbBCDMz9oBL/JjZ/49\r\nUK76KmQjNRQbnO/wh7ROnkTmg1zJTjH8ooFUWRsCf3/AMtO4yyE7HtElPuOJ\r\n23rCj6hASogonmFCqf9JGL+2C/daM8N1WbFpoA6RThFxrVG5AvL2I77PKKxH\r\n5/JJRYaLVQYGp2J2QXcfrc8Guo3EigbH5VLvXjL+pBsWKSmykhL2AFUh8MbE\r\nyh5AGEE6UzbCSvZp+Jd5pFwgz2NcGHr8e2rS4NSnGmntiZRCXZXShfSK0ckj\r\nOeoaQh/yt1gGatm3/EsRuhb798NGKhT1JNgY6xNQKKAoXtBnP0dXl5lUkIyE\r\nHQIKMVoWGo/KwiqXULdiVZ8Pnlqm0u3VIxw=\r\n=qmry\r\n-----END PGP SIGNATURE-----\r\n","size":3560,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-6.3.1-beta.4.tgz"},"_npmUser":{"name":"jameshenry","email":"npm@jameshenry.email"},"directories":{},"maintainers":[{"name":"jameshenry","email":"npm@jameshenry.email"},{"name":"nrwlowner","email":"hello@nrwl.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/init_6.3.1-beta.4_1672144785891_0.07896343714241216"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","publish_time":1672144786072,"_cnpm_publish_time":1672144786072,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}