{"name":"@lerna/init","version":"6.1.0","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.1.0","@lerna/command":"6.1.0","@lerna/project":"6.1.0","fs-extra":"^9.1.0","p-map":"^4.0.0","write-json-file":"^4.3.0"},"gitHead":"05ad1860e2da7fc16c9c0a072c9389e94792ab64","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.1.0","_nodeVersion":"16.15.0","_npmVersion":"lerna/6.1.0/node@v16.15.0+arm64 (darwin)","dist":{"integrity":"sha512-z8oUeVjn+FQYAtepAw6G47cGodLyBAyNoEjO3IsJjQLWE1yH3r83L2sjyD/EckgR3o2VTEzrKo4ArhxLp2mNmg==","shasum":"b178775693b9c38c0f3fe3300eeb574cf76e0297","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-6.1.0.tgz","fileCount":5,"unpackedSize":9174,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGirxpfnywS8pntgrCZC7epjyGzoHiZf1mhrwZ03nvXbAiAxsxWjflGgES45L7NjNvzkqYQciRH3tfTLxYesoYizog=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhnrrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXfw/9FNJlP4O5oElI/6MDHvVW4iNpB9kv/kV/tzVAKOtGLUfIBWSW\r\n8w2s4iwxAumQMFbj94El4ou1oWeH/SYA8dgrSKAXoa7uufDvtEzJ23xdp0p8\r\noyFXX42M1fnamG00a4N6aYqvebfs/exlMnbKT8V2Tzcswb/+dxi/0y+nu6Eb\r\nuAOzI/SDsYuOaIMkZr+nzCgmxn5RjiZDFig/sh8nNajAFF/Y3Og2uQJ7UPhq\r\nzjLzp4PghLJd7eG/c+IYZxK4u6XB1QcGBeYeHl8q5iBQxJYoxk61AypLv68z\r\n+xvfhfXTjeO+vsY5WoooHg3bpNk+a9Rrz551oVTD49zlgP8DfDKW78ZFzbFG\r\n9d3etJuqmP6jsU5snQo8KSTqKzVwzAsSSB6UYYcmkPyLTRX9olpC730NEi7U\r\nG8VNFwwdQ0Y2GN/kZhZPmBfnqsvv8DwVFzGVxAaEeTcAFjnMN76as+nAHD2F\r\nKqZRHuJeJl2KC/OX1H90nTE6CwGjl2EubQw73Z1qBkcX6Z26L3Lph7+jjUiM\r\n6VHrxw1+H2EM8IaK50B3qK1LeH2iID8rBX1WXzGf9LU7vpx1TGFKgJyWQ03p\r\nCiMYceFHrDT13gzerbETFtpc5ri6QcfPW76vdiAjC9HV4qvvVFHyy4Sj4eES\r\n5+Dwskid7kxGwOWF8KFyRwAAzS5EQD+abdw=\r\n=5NmC\r\n-----END PGP SIGNATURE-----\r\n","size":3552,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-6.1.0.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.1.0_1669757675587_0.7966557162710035"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","publish_time":1669757675735,"_cnpm_publish_time":1669757675735,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}