Skip to content

Conversation

@eduardoRoth
Copy link
Member

@eduardoRoth eduardoRoth commented Nov 26, 2025

Added tracker run command from v0.3.1, while updating and improving the code.

Screen.Recording.2025-11-26.at.5.23.23.p.m.mov

Next video includes node_modules folder in search, so it takes longer

Screen.Recording.2025-11-26.at.5.24.21.p.m.mov

Demo generated results

[
  {
    "timestamp": "Wed Nov 26 17:19:05 2025 -0600",
    "hash": "85cee572abdfb8ca4a37ff5d2e0192b1e840a419",
    "author": "Eduardo Roth",
    "categories": [
      {
        "name": "legacy",
        "totals": {
          "total": 1741,
          "block": 79,
          "blockEmpty": 0,
          "comment": 103,
          "empty": 17,
          "mixed": 11,
          "single": 24,
          "source": 1632,
          "todo": 1
        },
        "errors": [],
        "fileTypes": [
          "js"
        ]
      },
      {
        "name": "modern",
        "totals": {
          "total": 5110,
          "block": 156,
          "blockEmpty": 0,
          "comment": 202,
          "empty": 616,
          "mixed": 26,
          "single": 46,
          "source": 4318,
          "todo": 1
        },
        "errors": [],
        "fileTypes": [
          "ts"
        ]
      }
    ]
  }
]

@eduardoRoth eduardoRoth requested a review from a team as a code owner November 26, 2025 23:25
@KLongmuirHD
Copy link
Contributor

Screenshot 2025-12-01 at 2 16 51 PM

I'm not seeing any of the progress bars when I run. I ran tracker init on my project, and then I ran tracker run. It's also running for a really long time with no results.

@eduardoRoth
Copy link
Member Author

Screenshot 2025-12-01 at 2 16 51 PM I'm not seeing any of the progress bars when I run. I ran `tracker init` on my project, and then I ran `tracker run`. It's also running for a really long time with no results.

There's a bug I found that I'm fixing right now, where it "finishes" but continues showing progress.

As for why it's not showing progress bars, it's due to the current config.json file settings, which expect a root legacy and modern folders where the files should be.

"includes": [
  "./legacy"
]
"includes": [
  "./modern"
]

I can include some sort of notes in the output to let the user know where to update the folders to search

@eduardoRoth
Copy link
Member Author

@marco-ippolito @KLongmuirHD went with glob for now, as it was easier to drag and drop into the project. And, as soon as we drop v20 support, we will use node:fs globSync

# Conflicts:
#	package-lock.json
#	package.json
#	test/service/tracker.svc.test.ts
@KLongmuirHD KLongmuirHD merged commit da41e51 into main Dec 4, 2025
12 checks passed
@KLongmuirHD KLongmuirHD deleted the feat/eroth/tracker-run branch December 4, 2025 20:52
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.

5 participants