diff --git a/bun.lock b/bun.lock index 295879c..ab07408 100644 --- a/bun.lock +++ b/bun.lock @@ -38,7 +38,7 @@ "@emotion/unitless": "^0.10.0", "@lilith/build-core": "1.4.5", "@lilith/deployment-registry": "1.0.0-dev.1769058031", - "@lilith/loc-report": "^1.0.0-dev.1770348199", + "@lilith/loc-report": "^1.0.0-dev.1770349207", "@lilith/vite-plugin-dependency-startup": "1.1.2-dev.1769988588", "@nestjs/cli": "^11.0.0", "@rollup/rollup-linux-x64-gnu": "^4.55.1", @@ -4748,7 +4748,7 @@ "@lilith/lix-configs": ["@lilith/lix-configs@1.0.1", "http://localhost:4874/@lilith/lix-configs/-/lix-configs-1.0.1.tgz", { "peerDependencies": { "tsup": "^8.0.0", "vite": "^5.0.0 || ^6.0.0" }, "optionalPeers": ["tsup", "vite"] }, "sha512-8g0ORknkrz5ruPRnY2d+7p1O+gIGcrTqnrjmRb31KWoe5S1Sppb84FpE+jo8GF5OGA1OK4aFQRqrL6aFZY2Efw=="], - "@lilith/loc-report": ["@lilith/loc-report@1.0.0-dev.1770348199", "http://localhost:4874/@lilith/loc-report/-/loc-report-1.0.0-dev.1770348199.tgz", { "dependencies": { "glob": "^11.0.0" }, "bin": { "loc-report": "bin/loc-report.js" } }, "sha512-NOJtkuFDy9J7EfsS3MTjqtIdluxgDrAm9YOtVyZJdMzYOEm0zTkODe4GVEdYs5oEmnWCzwjLBLbHPJN9kguyoQ=="], + "@lilith/loc-report": ["@lilith/loc-report@1.0.0-dev.1770349207", "http://localhost:4874/@lilith/loc-report/-/loc-report-1.0.0-dev.1770349207.tgz", { "dependencies": { "glob": "^11.0.0" }, "bin": { "loc-report": "bin/loc-report.js" } }, "sha512-SvngU3F4ffb0wAZNDc/Oi8M1pVAnY1+ZUzZMJiPLKHr9svypf/mWoXl6sIQiBe5SpGx2VfMyu3bcy18LbxjreA=="], "@lilith/locale-pipeline-admin": ["@lilith/locale-pipeline-admin@workspace:codebase/@packages/@ui/locale-pipeline-admin"], diff --git a/scripts/SCRIPTS-README.md b/scripts/SCRIPTS-README.md index 9c4429a..dbcc6ff 100644 --- a/scripts/SCRIPTS-README.md +++ b/scripts/SCRIPTS-README.md @@ -133,6 +133,9 @@ Generate comprehensive Lines of Code (LOC) statistics for the codebase. npm run report:loc npx @lilith/loc-report +# Dependency-aware report (shows breakdown by package/application) +npx @lilith/loc-report --dependencies + # JSON output (for CI/CD) npm run report:loc:json npx @lilith/loc-report --json