Skip to content

refactor: move and to a single, centralized file for better organization#87

Merged
IT-WIBRC merged 1 commit intodevelopfrom
refactor/add-central-logger
Sep 30, 2025
Merged

refactor: move and to a single, centralized file for better organization#87
IT-WIBRC merged 1 commit intodevelopfrom
refactor/add-central-logger

Conversation

@IT-WIBRC
Copy link
Owner

Description

Create a centralized logger utilities and reuse it where needed. Better if need to change the libs we are currently using in the future

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • New and existing feature support current supported languages
  • Any dependent changes have been merged and published in downstream modules

@IT-WIBRC IT-WIBRC added enhancement New feature or request refactor No change in external behavior labels Sep 30, 2025
@IT-WIBRC IT-WIBRC force-pushed the refactor/add-central-logger branch from 26c9d00 to 6018642 Compare September 30, 2025 15:14
@github-actions
Copy link
Contributor

Coverage Report for ./packages/devkit

Status Category Percentage Covered / Total
🟢 Lines 95.76% (🎯 85%) 2533 / 2645
🟢 Statements 95.76% (🎯 85%) 2533 / 2645
🟢 Functions 96.15% (🎯 90%) 125 / 130
🟢 Branches 91.04% (🎯 85%) 539 / 592
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/devkit/src/commands/index.ts 98.46% 84.61% 100% 98.46% 40
packages/devkit/src/commands/info.ts 100% 100% 100% 100%
packages/devkit/src/commands/init.ts 97.36% 90.47% 100% 97.36% 43, 101-102
packages/devkit/src/commands/list.ts 86.45% 81.48% 100% 86.45% 25-32, 36-37, 91-93
packages/devkit/src/commands/new.ts 95.89% 86.66% 100% 95.89% 13-14, 74
packages/devkit/src/commands/config/add.ts 100% 80% 100% 100%
packages/devkit/src/commands/config/index.ts 100% 100% 100% 100%
packages/devkit/src/commands/config/list.ts 85.22% 79.16% 100% 85.22% 22-29, 42-47
packages/devkit/src/commands/config/prompts.ts 89.18% 61.53% 100% 89.18% 42-43, 45-46, 51-56, 89-90
packages/devkit/src/commands/config/remove.ts 96.03% 91.3% 100% 96.03% 51-54
packages/devkit/src/commands/config/update.ts 100% 87.5% 100% 100%
packages/devkit/src/commands/config/validate-and-save.ts 96.72% 91.66% 100% 96.72% 38-39
packages/devkit/src/core/cache/index.ts 96.49% 85.71% 100% 96.49% 75-76
packages/devkit/src/core/info/project.ts 100% 100% 100% 100%
packages/devkit/src/core/prompts/prompts.ts 100% 100% 100% 100%
packages/devkit/src/core/template/printer.ts 100% 100% 100% 100%
packages/devkit/src/core/template/update-project-name.ts 93.33% 80% 100% 93.33% 29-30
packages/devkit/src/scaffolding/javascript.ts 97.72% 91.66% 100% 97.72% 102-103
packages/devkit/src/utils/logger.ts 96.29% 100% 96% 96.29% 48-49
packages/devkit/src/utils/errors/handler.ts 100% 100% 100% 100%
Generated in workflow #256 for commit 6018642 by the Vitest Coverage Report Action

@IT-WIBRC IT-WIBRC merged commit b05f20a into develop Sep 30, 2025
2 checks passed
@github-actions github-actions bot deleted the refactor/add-central-logger branch September 30, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactor No change in external behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant