Skip to content

refactor(@angular/build): use listr2 for spinner and color support#28029

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
clydin:application/spinner-color
Jul 11, 2024
Merged

refactor(@angular/build): use listr2 for spinner and color support#28029
alan-agius4 merged 1 commit intoangular:mainfrom
clydin:application/spinner-color

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Jul 10, 2024

The ansi-color and ora dependencies have been replaced with listr2. This package provides both color and spinner capabilities and further reduces the dependency count. This also aligns the dependencies with the @angular/cli package with already uses listr2. The spinner also now will not overwrite console output that happens to be written while the spinner is active. Instead, the output will be written after the spinner task is complete.

@clydin clydin added the target: minor This PR is targeted for the next minor release label Jul 10, 2024
@clydin clydin changed the title refactor(@angular/build): use listr2` for spinner and color support refactor(@angular/build): use listr2 for spinner and color support Jul 10, 2024
@clydin clydin force-pushed the application/spinner-color branch from 7848b9e to fb31923 Compare July 10, 2024 23:22
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jul 10, 2024
The `ansi-color` and `ora` dependencies have been replaced with `listr2`.
This package provides both color and spinner capabilities and further
reduces the dependency count. This also aligns the dependencies with
the `@angular/cli` package with already uses `listr2`. The spinner also
now will not overwrite console output that happens to be written while
the spinner is active. Instead, the output will be written after the
spinner task is complete.
@clydin clydin force-pushed the application/spinner-color branch from fb31923 to 1c1d65c Compare July 10, 2024 23:39
@clydin clydin requested a review from alan-agius4 July 11, 2024 00:55
Copy link
Copy Markdown
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.

LGTM, do you also plan to make this change in build-angular?

@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 Jul 11, 2024
@alan-agius4 alan-agius4 merged commit 1271e4a into angular:main Jul 11, 2024
@clydin clydin deleted the application/spinner-color branch July 11, 2024 11:15
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants