Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Dec 3, 2025

This commit removes the external 'ansi-colors' dependency from the e2e test runner and its utilities by migrating to the native Node.js 'styleText' API.

Changes include:

  • Removing 'ansi-colors' imports in tests/legacy-cli/e2e/utils/process.ts and tests/legacy-cli/e2e_runner.ts.
  • Updating Bazel BUILD.bazel files to remove the 'ansi-colors' dependency.
  • Replacing all colors.STYLE(...) calls with styleText(...) equivalents.
  • Adjusting output formatting in printHeader and printFooter functions in e2e_runner.ts for consistency with the new styling.

This commit removes the external 'ansi-colors' dependency from the e2e test runner and its utilities by migrating to the native Node.js 'styleText' API.

Changes include:
- Removing 'ansi-colors' imports in `tests/legacy-cli/e2e/utils/process.ts` and `tests/legacy-cli/e2e_runner.ts`.
- Updating Bazel `BUILD.bazel` files to remove the 'ansi-colors' dependency.
- Replacing all `colors.STYLE(...)` calls with `styleText(...)` equivalents.
- Adjusting output formatting in `printHeader` and `printFooter` functions in `e2e_runner.ts` for consistency with the new styling.
@clydin clydin added target: minor This PR is targeted for the next minor release action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 3, 2025
@clydin clydin 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 Dec 3, 2025
@clydin clydin merged commit 281c69e into angular:main Dec 3, 2025
37 checks passed
@clydin
Copy link
Member Author

clydin commented Dec 3, 2025

This PR was merged into the repository. The changes were merged into the following branches:

@clydin clydin deleted the test/e2e-color branch December 3, 2025 02:17
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 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