You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(scripts): use logger instead of console throughout scripts/
Replace all console.log/console.error/console.warn calls with logger methods:
**Build Scripts** (6 files):
- build-externals/: Added logger, replaced console calls
- build/: Removed colors import, replaced console with logger methods
**Fix Scripts** (4 files):
- Removed colors imports where only used for console
- Replaced printCompletedHeader with logger.success()
- Consistent logger.log/logger.error usage
**Test Scripts** (2 files):
- Replaced all console.log with logger.log
- Updated error handlers to use logger.error
**Validate Scripts** (3 files):
- Added logger imports where missing
- Replaced console with logger.success/logger.error/logger.log
- Use logger.info() for informational messages (ℹ)
**Other** (2 files):
- lint.mjs: Full logger migration
- claude.mjs: Added logger, updated inline log.info to use logger.info()
This ensures consistent output formatting and color usage across all
scripts in the repository. Updated 17 files total.
0 commit comments