{"_id":"@alexilyaev/monorepo-utils","name":"@alexilyaev/monorepo-utils","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.2":{"name":"@alexilyaev/monorepo-utils","version":"0.1.2","type":"module","bin":{"monorepo-utils":"dist/cli.js"},"scripts":{"prepare":"husky","postpublish":"git push --follow-tags","clean":"rm -rf dist","start":"vite-node src/cli.ts","build":"vite build","watch":"vite build --watch","lint-eslint":"eslint --max-warnings 0 '**/*.{js,cjs,ts,mts,tsx}'","lint-eslint-debug":"DEBUG=eslint:cli-engine pnpm lint-eslint","lint-eslint-summary":"pnpm lint-eslint -f summary","lint-eslint-print-config":"eslint --print-config temp.ts","lint-prettier":"prettier --check '**/*.{js,cjs,ts,mts,tsx,html,css,json,md}'","lint":"pnpm lint-eslint && pnpm lint-prettier","format-eslint":"eslint --fix '**/*.{js,cjs,ts,mts,tsx}'","format-prettier":"prettier --write '**/*.{js,cjs,ts,mts,tsx,html,css,json,md}'","format":"pnpm format-eslint && pnpm format-prettier","coverage":"vitest --coverage.enabled --coverage.provider=istanbul --coverage.all","test":"vitest run","test-watch":"vitest watch","setup-e2e":"vite-node test/e2e/setup/prepare.ts","type-check":"tsc --noEmit"},"dependencies":{"@manypkg/find-root":"2.2.3","@manypkg/get-packages":"2.2.2","@pnpm/lockfile-file":"9.1.3","@yarnpkg/lockfile":"1.1.0","commander":"12.1.0","detect-package-manager":"3.0.2","diff":"7.0.0","lodash":"4.17.21","picocolors":"1.1.1","semver":"7.6.3","strip-indent":"4.0.0","ts-essentials":"10.0.3","ts-extras":"0.13.0","type-fest":"4.26.1"},"devDependencies":{"@alexilyaev/browserslist-config":"0.1.3","@alexilyaev/configs":"0.5.3","@stylistic/eslint-plugin":"2.9.0","@total-typescript/ts-reset":"0.6.1","@types/diff":"7.0.0","@types/eslint":"9.6.1","@types/lodash":"4.17.10","@types/node":"20","@types/semver":"7.5.8","@types/yarnpkg__lockfile":"1.1.9","@typescript-eslint/eslint-plugin":"7.17.0","@typescript-eslint/parser":"7.17.0","eslint":"8.57.0","eslint-config-ai":"3.6.7","eslint-config-prettier":"9.1.0","eslint-gitignore":"0.1.0","eslint-import-resolver-typescript":"3.6.3","eslint-plugin-eslint-comments":"3.2.0","eslint-plugin-import":"2.32.0","eslint-plugin-unicorn":"56.0.0","execa":"9.4.0","husky":"9.1.6","lint-staged":"15.2.10","prettier":"3.3.3","typescript":"5.6.2","vite":"7.0.2","vite-node":"3.2.4","vitest":"3.2.4"},"engines":{"node":">=18.12.0"},"packageManager":"pnpm@9.12.1","author":{"name":"Alex Ilyaev"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/alexilyaev/monorepo-utils.git"},"bugs":{"url":"https://github.com/alexilyaev/monorepo-utils/issues"},"homepage":"https://github.com/alexilyaev/monorepo-utils#readme","_id":"@alexilyaev/monorepo-utils@0.1.2","gitHead":"0ef5122d210f3386010503a01586b9c07f27d88b","description":"A CLI with a set of tools to halp manage dependencies in Monorepos.","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-RBZb4V4N6bQXzKUuhqcjlRgH/aYb4DMhy5QOPwyrgPW24Ptnrqi8zERSCR+c2wPpRr45Ow6ChGu140Ylc+sEbw==","shasum":"905930e6acff45bf18775317352f212555403301","tarball":"https://registry.npmjs.org/@alexilyaev/monorepo-utils/-/monorepo-utils-0.1.2.tgz","fileCount":19,"unpackedSize":65498,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD+CUK8KhMgOQdOO9ilMoHNXYAC/oTu7gfq/CpgwrtcPQIhAK6UO6pej3Gx4MAbq9J/8J3/+P+GzBXAJI+tHHVSZ7+Q"}]},"_npmUser":{"name":"alexilyaev_user","email":"alexilyaev@gmail.com"},"directories":{},"maintainers":[{"name":"alexilyaev_user","email":"alexilyaev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/monorepo-utils_0.1.2_1757414254722_0.27199451138588615"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-09T10:37:34.608Z","0.1.2":"2025-09-09T10:37:34.893Z","modified":"2025-09-09T10:37:35.508Z"},"maintainers":[{"name":"alexilyaev_user","email":"alexilyaev@gmail.com"}],"description":"A CLI with a set of tools to halp manage dependencies in Monorepos.","homepage":"https://github.com/alexilyaev/monorepo-utils#readme","repository":{"type":"git","url":"git+https://github.com/alexilyaev/monorepo-utils.git"},"author":{"name":"Alex Ilyaev"},"bugs":{"url":"https://github.com/alexilyaev/monorepo-utils/issues"},"license":"ISC","readme":"# monorepo-utils\n\nA CLI with a set of tools to halp manage dependencies in Monorepos.\n\n```txt\nUsage: monorepo-utils [options] [command]\n\nUtils for managing monorepos\n\nOptions:\n  -V, --version                   output the version number\n  -h, --help                      display help for command\n\nCommands:\n  delete-lockfile-deps [options]  Delete all dependencies from the repo lockfile matching a regex\n  Examples:\n    monorepo-utils delete-lockfile-deps -p \"package-name\" --dry-run\n    monorepo-utils delete-lockfile-deps -p \"^@scope/\" --dry-run\n    monorepo-utils delete-lockfile-deps -p \"^@scope/package-name$\" --dry-run\n  update-deps-to-exact [options]  Update dependencies in package.json files to exact versions from the lockfile\n  Examples:\n    monorepo-utils update-deps-to-exact -p \"package-name\" --dry-run\n    monorepo-utils update-deps-to-exact -p \"^@scope/\" --dry-run\n    monorepo-utils update-deps-to-exact -p \"^@scope/package-name$\" --dry-run\n  setup-configs [options]         Command template description\n  Examples:\n    monorepo-utils setup-configs\n  help [command]                  display help for command\n```\n\n## Development\n\n### Setup\n\n```sh\npnpm install\npnpm build\n# Install the package globally, needed for the e2e tests\npnpm i -g .\n```\n\n### Testing\n\n```sh\npnpm watch\npnpm test\n```\n\n- E2E tests run against the dist, so make sure it's up to date\n\n### When updating `test/e2e/templates`\n\n```sh\npnpm setup-e2e\n```\n\n### Updating Vitest Snapshots\n\n```sh\npnpm test -- -u\n```\n\n### Running the CLI in dev for a specific folder\n\n```sh\npnpm dlx vite-node src/cli.ts update-deps-to-exact --cwd test/e2e/generated/pnpm@9.6.0/04-pattern-scope-match --dry-run\n```\n\n```sh\npnpm dlx vite-node src/cli.ts update-deps-to-exact --cwd test/e2e/generated/pnpm@9.6.0/04-pattern-scope-match --dry-run -p \"^type-fest$\"\n```\n","readmeFilename":"README.md","_rev":"1-e1ebaf1157f89382fdb88c13a4829e0e"}