Skip to content

Conversation

@alumni
Copy link
Collaborator

@alumni alumni commented Jan 27, 2025

Description of change

Replaces chalk with ansis. This is smaller, faster and has no dependencies. It's also recently updated and allows us to use ANSI codes directly (for the syntax highlighter).

The syntax highlighter now uses colors similar to the ones we had before PR #11221 was merged.

Also updated uuid. The only breaking change is the minimum supported node version, which is within TypeORM's range as well.

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run format to apply prettier formatting
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

@alumni
Copy link
Collaborator Author

alumni commented Jan 27, 2025

Syntax highlighting example (see #11221 (comment) for comparison):

image

@coveralls
Copy link

coveralls commented Jan 27, 2025

Coverage Status

coverage: 72.365% (-0.004%) from 72.369%
when pulling 043eccf on alumni:chore/ansis
into 17a3c52 on typeorm:master.

@michaelbromley michaelbromley merged commit 988673c into typeorm:master Feb 27, 2025
52 of 62 checks passed
aberonni pushed a commit to global-121/typeorm that referenced this pull request Mar 5, 2025
@alumni alumni deleted the chore/ansis branch May 2, 2025 10:07
ThbltLmr pushed a commit to ThbltLmr/typeorm that referenced this pull request Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants