{"name":"@lerna/init","version":"6.0.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":"6.0.1","@lerna/command":"6.0.1","@lerna/project":"6.0.1","fs-extra":"^9.1.0","p-map":"^4.0.0","write-json-file":"^4.3.0"},"gitHead":"4fcefff1b7d982c83b6d68d0a84d7e878ea87449","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@6.0.1","_nodeVersion":"16.15.0","_npmVersion":"lerna/6.0.1/node@v16.15.0+arm64 (darwin)","dist":{"integrity":"sha512-zOMrSij09LSAVUUujpD3y32wkHp8dQ+/dVCp4USlfcGfI+kIPc5prkYCGDO8dEcqkze0pMfDMF23pVNvAf9g7w==","shasum":"babee56707bd19b3c1b82967e3360d1083c04cf9","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-6.0.1.tgz","fileCount":5,"unpackedSize":9174,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAVMyuU2Mn271TDhgaQkYv7HDiLUFJPWUV0QRlmGGaFAIhAIBXJmSrq9afXA6r2HrxKJpr2ewa3x+Mlm1AWhxJOS0v"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSZLUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr64A//VhhnEai0UW9aCUPecau1N+DccDJ3oS8wcax+b6TbxHulntTx\r\n7NqYfaPDAw13aA2pr4GKznY/vmIBlArhEih+pVSkQmyJxpItgNU+ieonA5Kp\r\nXoDk11Y1QQxyDDcEqIhCbrBnV/PjwU8ryMiEAVHCeXcNXLxWkFBuwmJjtyJk\r\nIMMJps5BiGerR6+kWwKKA1fx3gXD3gIWQwVUu8KUKwAoCOJcG3sqgc7Maw7L\r\nMwdk49SCqhUxMRK9letJ15WGNeDPLrQlJEBcAK3MfUDiptvf/5n0n+h4aavH\r\nIDu52qwW++uvytA79wPiQokVv3Ggm2HN5H4JGXnnwpmmTNBkQxsqSv9foxry\r\nCR1mq6rAfnBmlKrVkEhsbNyqikVP6WpEpRcTFhf/JvmSNomw4H0YCBfdgDy8\r\ni33HyD/f6ZXQWfIcvHsyw6/YtynmYKp3CQieYFIayxLEe6DVDrYvLKoSckAB\r\neX80X/efpCoBe/QR2fIK1xJETq3j/lqDEdA2Myj2YfV/lc+3/58uPewCtfY1\r\n0DCK6sgf9HDa+HNUFTlyhwT/aFTzCE6EC0Mrhx2OQnsAjXMokDJklDk8958b\r\nJ3Jj2EjJIUU8Y94TQzpUU2YLza0Tihr8fHbyLKVak15KwVcLRWXQkr8fQ+WI\r\ncCADhBwTSTZmhDVLUotgsZtWK98mCGE2fuw=\r\n=qAUD\r\n-----END PGP SIGNATURE-----\r\n","size":3555,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-6.0.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_6.0.1_1665766100145_0.44095436000598265"},"_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":1665766100338,"_cnpm_publish_time":1665766100338,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}