The @pie-framework/pie-code-health tool is now successfully set up and working!
-
Git Dependency - Installs correctly from GitHub
"@pie-framework/pie-code-health": "git+ssh://git@github.com/pie-framework/pie-code-health.git#main"
-
All Commands Work:
npm run health:scan- Scans 32 packages, 223 filesnpm run health:report- Generates all report filesnpm run health:serve- Starts dashboard on http://localhost:8080npm run health:check- Runs all steps with nice progress feedback
-
Latest Results:
- ✅ Packages Scanned: 32
- ✅ Files Scanned: 223
- ✅ Total Issues: 399
- Critical: 31
- High: 23
- Medium: 161
- Low: 260
- ✅ Circular Dependencies: 0
- package.json - Just the dependency and 4 npm scripts
- README_HEALTH_CHECK.md - Simple usage guide
- .gitignore - Ignores
reports/directory
Anyone with access to the pie-framework GitHub org can use it by:
-
Adding to their package.json:
{ "devDependencies": { "@pie-framework/pie-code-health": "git+ssh://git@github.com/pie-framework/pie-code-health.git#main" }, "scripts": { "health:scan": "pie-health scan packages", "health:report": "pie-health report", "health:serve": "pie-health serve", "health:check": "pie-health check packages" } } -
Running:
yarn install npm run health:check
-
Viewing Dashboard:
npm run health:serve # Open http://localhost:8080
The Git URL format was the issue!
- ❌ Wrong:
git+ssh://git@github.com:pie-framework/pie-code-health.git - ✅ Correct:
git+ssh://git@github.com/pie-framework/pie-code-health.git#main
Note the / instead of : after github.com, and the #main to specify the branch.
When you run health checks, these files are created in reports/:
scan-results.json- Raw scan datasummary.json- Summary statisticsdashboard.html- Interactive dashboardfull-report.json- Complete analysispackage-reports/- Individual package reports
- pie-code-health repo: All logic, analyzers, config, documentation
- pie-elements repo: Just 4 simple npm scripts and a README
- Reusable: Can be added to any repository with the same 4 lines!
Status: ✅ WORKING Date: January 23, 2026