Skip to content

Replace chalk dependency with a lighter alternative #1414

@trivikr

Description

@trivikr

Affected Packages

  • pkg:cli
  • pkg:get-dependents-graph
  • pkg:logger
  • pkg:read

Problem

Recently, the Ecosystem Performance was formed to cleanup, speedup, levelup the JavaScript Ecosystem.
Socket Security team wrote a blog post about it https://socket.dev/blog/javascript-community-launches-e18e-initiative-to-improve-ecosystem-performance

On the e18e cleanup channel on Discord, multiple solutions are being discussed. One of them is to replace chalk with picocolors.

I see that changesets uses chalk:

Proposed solution

Replace chalk with a lighter alternative, like picocolors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions