{"name":"@lerna/init","version":"5.0.0-alpha.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/tree/master/commands/init#readme","license":"MIT","author":{"name":"Daniel Stockman","url":"https://github.com/evocateur"},"main":"index.js","engines":{"node":"^14.19.3 || >=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":"5.0.0-alpha.2","@lerna/command":"5.0.0-alpha.2","fs-extra":"^9.1.0","p-map":"^4.0.0","write-json-file":"^4.3.0"},"gitHead":"c8b87007e82a5eed8f49b161312879739cafcbc5","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.\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@5.0.0-alpha.2","_nodeVersion":"16.15.0","_npmVersion":"lerna/5.0.0-alpha.2/node@v16.15.0+arm64 (darwin)","dist":{"integrity":"sha512-wcf3uH5bi0iEGNdSKJFMathj5/R47tlf+DxKMptm8F1meL2aAzZrMtDNuyOuMfF3SCMlSNgYoYIMAIAxW2wXuw==","shasum":"eb4a746ef6c158368dc33a23330b7c5300bd0696","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-5.0.0-alpha.2.tgz","fileCount":6,"unpackedSize":20062,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7tDQsZNqGhmkulH4o0etNUBC/ggsAog9Zk2OLYQ92CAiAZF624n4VvAyA92vpqVAmxY3YQielm3xCuq6PN0PPYyQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijJFRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7xQ//TOyITb5n/hwgbf+41+I4YfSuIM50E0je2EpTg/EOIVlsYxhT\r\nZFdYbp54cJaRxVATQQuXXKzEHAQ/SoxkqcLg+lmcbVasqs4M3z8dbOXN6tTQ\r\nGf9bwnSdIAffKIRsmIKc3E6u7v+kUpxFXB3uUaeIdjhQntRA2EAqo080cPGi\r\nmfd8BdIc7Y/NQqlLBE/dihtrvV3Pl4HevKF04QCqq+79+Rt8ma1nOiFTXwI3\r\nxv5Kau/UjCPCuY98AU0Hb7XTWr0ggzeNwM5M6QfHSrnf/S6E+dDgCtaMHAH7\r\nhC068bEFlsJZ6/euB7o8BeOmp3EXtd0gF/lPN9ixx20wdB0tX/a2D1av6xzc\r\nKChpVRDm3Es/fBJ7ySxtpqdH1MCFFT+QAT+rZswD06UeXbGQCipCmU2S7LsN\r\nclWF7HyZMlj511GPY5z35NLG5l+XZesGvi4dkS4g+XqsAko/lATUXb/XDCQs\r\nFRB60zgWo4nvlG60VMAvJdUA/6EzPvOWh8V9NMXKLfPB0TV5aeAF1FJx/2+2\r\neA+8x4pNd+lUwOeB8AAVzdIRL9xqxT+maY0JHfLmaUfpuaENFaeRfJB4K67w\r\nvX1fqEpk84i+aYU6VWFcgmlV9puVqGATy8iYJpu5j/VoT0KUFWwJ7Tyy+oU3\r\nBzDDc51UUfybstpF7Ed9ldbcBGe04qGQi/Q=\r\n=yIGK\r\n-----END PGP SIGNATURE-----\r\n","size":5822,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-5.0.0-alpha.2.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_5.0.0-alpha.2_1653379409679_0.31713616035912606"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","publish_time":1653379409810,"_cnpm_publish_time":1653379409810,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}