Skip to content

feat: add line-of-code counting script - #40292

Closed
galaxyeye wants to merge 2 commits into
anomalyco:devfrom
galaxyeye:worktree-jolly-imagining-mountain
Closed

feat: add line-of-code counting script#40292
galaxyeye wants to merge 2 commits into
anomalyco:devfrom
galaxyeye:worktree-jolly-imagining-mountain

Conversation

@galaxyeye

Copy link
Copy Markdown

Adds script/count-loc.ts — a TypeScript script to count lines of code in the codebase.

Features:

  • Scans packages/ and sdks/ by default, configurable via directory argument
  • Counts code lines (blank lines excluded) by default; --all for total lines including blanks
  • --detailed flag for per-file breakdown sorted by line count
  • --include-ext to filter to specific file extensions
  • --help / -h for usage info
  • Auto-excludes node_modules, dist, .git, lockfiles, test/spec files, .d.ts files

🤖 Generated with Claude Code

- Scans packages/ and sdks/ by default, configurable via directory arg
- Counts code lines (blank lines excluded) by default, --all for total lines
- --detailed flag for per-file breakdown sorted by line count
- --include-ext to filter to specific file extensions
- --help for usage info
- Auto-excludes node_modules, dist, .git, lockfiles, test/spec files, and .d.ts

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Aug 3, 2026
@github-actions github-actions Bot closed this Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants