{"name":"@lerna/init","version":"5.5.1","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":"5.5.1","@lerna/command":"5.5.1","@lerna/project":"5.5.1","fs-extra":"^9.1.0","p-map":"^4.0.0","write-json-file":"^4.3.0"},"gitHead":"9f119b009ef92f0a938c38e15d4a90007502c684","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@5.5.1","_nodeVersion":"16.15.0","_npmVersion":"lerna/5.5.1/node@v16.15.0+arm64 (darwin)","dist":{"integrity":"sha512-jyi8DZK2hylI8wjX5NgI/CBZEx2UJmmt12PiQuIvnfEvyTbd90MK0zj4AtyVMKpEal5oZCyprGFBb8MY8lS5Dg==","shasum":"3db34be12abeb1e61b19c9ed97d1893b0b07e429","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-5.5.1.tgz","fileCount":5,"unpackedSize":9092,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEGbzEpR9TtKUsvbAXl02x2mWKpK3ti2S+YVR0NgkAx/AiEA939XWjmh8MfmwCmxc0/ltbtxznTAvMX1wGPonXU4FYg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG1AzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAQQ/5AfcGPeLxTyfmFfc4dZIWKJ/jy9Up9+zGg9rQ6tJlQSdVczG1\r\nLHnq+3XhG9Hy0ZDGRrlLz0sTJfd3Cmgod1mG7RmAfQaXQ0mHm5iJugTY9y44\r\noZdeih651GdU6VDDgupJkuq1C1zmJaFllRuhPCdrEDMa51aXEgybb2jq7oQH\r\nEc5wkPTKsPX0AIsM+I8a87wSgGynIr+/BPRMIET186sKA3vTRZSynGb9ADpS\r\ngFjSPe+WSips/slPRipEvn1FpGvzTJ1fCZIVqnH2ITfH5GhJhFSvG11tsaQu\r\nlL20qmZdrsjpgtLitNSvVXM31BRwh90NBXbsDYY9NJ+LSGG58UkK0+cLvPNS\r\nCocxeCNKvmEx/ZBovdbGhT+rBPCUJLAoxe0MpxykhNU4RcV1CWN2GPMamYOA\r\nHHwssC7vUg83zEQOltZENu04oGcE+P+z9JWUM+VUq00KD+yddUOHmondXHUo\r\ntaBNpDFDt3Hrr457iD2ZxKOrfJcadP7DB8gR4K77s61/SIj7H+aZOmKdYoTB\r\nTVPtN4fCBJe9OITOgYKgf7rWB5co1nrMbcdK2ILwRT9qJUmGtNwwxMTRGRWJ\r\nCWTG/QsS472qn0I6jjID8eFinFhURS4MlknMsQHPMQFVJM55KzCEoAxiy08T\r\nMMAP9ZzvRXc9J2BEgPo+0MSRHutS1Z4ODRQ=\r\n=FbAl\r\n-----END PGP SIGNATURE-----\r\n","size":3511,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-5.5.1.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.5.1_1662734387187_0.09838556536342424"},"_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":1662734387348,"_cnpm_publish_time":1662734387348,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}