Skip to content

Conversation

devversion
Copy link
Member

Updates to a chalk version that works in CircleCI (due to a more recent
dependency on supports-color).

Since the latest chalk version brings official typings that do not declare
individual colors as ESM exports, we need to go through the default export.
This is the official expected behavior with chalk according to: chalk/chalk#215.

@devversion devversion requested review from jelbourn and a team as code owners September 24, 2019 18:33
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Sep 24, 2019
Updates to a chalk version that works in CircleCI (due to a more recent
dependency on `supports-color`).

Since the latest chalk version brings official typings that do not declare
individual colors as ESM exports, we need to go through the default export.
This is the official expected behavior with `chalk` according to: chalk/chalk#215.
@devversion devversion force-pushed the build/update-chalk-version-works-circleci branch from 1c2704c to 047d39c Compare September 24, 2019 18:40
@devversion devversion added pr: merge safe target: patch This PR is targeted for the next patch release labels Sep 24, 2019
@devversion
Copy link
Member Author

@josephperrott This fixes that our colors are not displayed in the CI. Also it's generally good updating the chalk version. I wanted to do that for a long time ago (didn't realize that the CI colors were broken due to an old version though) but as you can see, it involved a few changes.

Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

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

Nice!

@josephperrott josephperrott added pr: lgtm action: merge The PR is ready for merge by the caretaker labels Sep 24, 2019
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn merged commit 7cd78ff into angular:master Sep 24, 2019
andrewseguin pushed a commit that referenced this pull request Sep 30, 2019
Updates to a chalk version that works in CircleCI (due to a more recent
dependency on `supports-color`).

Since the latest chalk version brings official typings that do not declare
individual colors as ESM exports, we need to go through the default export.
This is the official expected behavior with `chalk` according to: chalk/chalk#215.

(cherry picked from commit 7cd78ff)
@angular-automatic-lock-bot
Copy link

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 Oct 25, 2019
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 cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants