Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Sep 30, 2025

This commit completely revamps the ng version command's output for a more modern and readable experience.

The key improvements include:

  • A single, unified table for all packages, removing the separate Angular section.
  • A polished table format using box-drawing characters and consistent padding.
  • An improved header section with aligned, bolded, and more formal labels.
  • The use of color to highlight version numbers and other key information, improving scannability.
  • Version lookup errors are now highlighted in red for better visibility.

The header generation logic is also refactored to be more maintainable by removing repeated label strings.

@clydin clydin added the target: major This PR is targeted for the next major release label Sep 30, 2025
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: @angular/cli labels Sep 30, 2025
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Sep 30, 2025
@clydin clydin requested a review from alan-agius4 September 30, 2025 15:10
This commit completely revamps the `ng version` command's output for a more modern and readable experience.

The key improvements include:
- A single, unified table for all packages, removing the separate Angular section.
- A polished table format using box-drawing characters and consistent padding.
- An improved header section with aligned, bolded, and more formal labels.
- The use of color to highlight version numbers and other key information, improving scannability.
- Version lookup errors are now highlighted in red for better visibility.

The header generation logic is also refactored to be more maintainable by removing repeated label strings.
Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, good job!

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 1, 2025
@clydin clydin merged commit 50453fd into angular:main Oct 1, 2025
32 checks passed
@clydin clydin deleted the cli/version-tables branch October 1, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/cli detected: feature PR contains a feature commit target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants