{"name":"@lerna/init","version":"5.5.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":"5.5.4","@lerna/command":"5.5.4","@lerna/project":"5.5.4","fs-extra":"^9.1.0","p-map":"^4.0.0","write-json-file":"^4.3.0"},"gitHead":"f65ef552cb6c8299b3c55aaded78a037fea10294","bugs":{"url":"https://github.com/lerna/lerna/issues"},"_id":"@lerna/init@5.5.4","_nodeVersion":"16.15.0","_npmVersion":"lerna/5.5.4/node@v16.15.0+arm64 (darwin)","dist":{"integrity":"sha512-BteH3O8ywUN8eBhwzOey3gTXxxKRxGz1JJ6tP1mA0KZoJgiBsSFoZbx7SJeGrR8gY7kmEyvXTY1geaxmb7V+vQ==","shasum":"78142ec262e5d54c0ced716239c39acd2c2cf821","tarball":"http://registry-npm.ywwl.com/@lerna/init/download/@lerna/init-5.5.4.tgz","fileCount":5,"unpackedSize":9092,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAd4c/2cvWZ+82qymkB5Wo4bWHUBjDgENuxQ668KV46oAiBonspn+jyrZrToMjLjNzp1UkqXyBurEhsI5zaV0iiXLQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNFCUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmolBw/8D82bn+0jOdWvbbVPNRKHj1DNXZIgUIOrGR0f9ly84E4xqYSM\r\n3oNrVgAi8MPDTJ4FBo7SRmeSYJkl7isv/VyF3GLJirQnn724urUj+nfV5btd\r\nlAMzhXCvdiedoJVqGTYCtCN8eW2X2VDwO9bfnZvkW4LlLhjnRqiSSA8Gnvwp\r\n5y3zepZZNcbJ8dNJZd94KSSgBr8rkg4B/eMq/l67+T3YRkFEGrItT7yIjvq1\r\nfO7aIpRa8A0w1NW8PGnYVmR+DTA3FEV+D6zNEmQM9wA29mWkPwgS+BUzuY9C\r\n8dttvT/oqRa9gRcQczBzG5/k+72ZOd2TWtziPodjJnzLoYe2KGF++WJY3nhB\r\nqyKdEuZMtotnFfDcc3D6ndplT7oJicJ5IY/Y4uOJr1MlSWkSao7paKYmTD99\r\ni9N1wv17auAoqCT0nppdjm8rSqZ0IN5Nj12WLFD3t2JlEI6s92D7qJwSGvBc\r\nPbIbL90zpj1NsJtEUXy06cJ31FeOtpNOXo03vz4x3FvxqKSLdWQaM8ApImL6\r\nZ9AICXYhDoihYZKZb7laviFMueV6HGrNTgAvACZPYH9CszBfJMQqPRtlhBo8\r\nAS/Nbr6iGS4WdcsoMSKjfIyN7f8ifwc1lyUV+BASGmQaoIj617UTYTxARfWI\r\nlFVPn2ONoTAqSxvK8tybaHHNoKic2lkzEO8=\r\n=y25g\r\n-----END PGP SIGNATURE-----\r\n","size":3510,"noattachment":false,"key":"/@lerna/init/-/@lerna/init-5.5.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_5.5.4_1664372884271_0.34100006510113556"},"_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":1664372884425,"_cnpm_publish_time":1664372884425,"dist-tags":{"latest":"6.6.2","next":"6.5.0"}}