yarn-plugin: remove dependency on chalk

Chalk costs us about 20kb in the bundle size, and
we only use it to format one logged message. To
avoid this dependency, this commit hard-codes the
escape codes for that single message.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2024-11-21 15:44:58 +00:00
parent d3bfac4de8
commit 9296a33c4d
3 changed files with 8 additions and 6 deletions
-1
View File
@@ -34,7 +34,6 @@
"@backstage/release-manifests": "workspace:^",
"@yarnpkg/core": "^4.0.3",
"@yarnpkg/fslib": "^3.0.2",
"chalk": "^4.0.0",
"lodash": "^4.17.21",
"semver": "^7.6.0"
},