Skip to content

Commit

Permalink
refactor: remove chalk
Browse files Browse the repository at this point in the history
skip-release
  • Loading branch information
egoist committed Nov 24, 2021
1 parent 3aba009 commit 6072da3
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 28 deletions.
92 changes: 67 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -27,7 +27,6 @@
"dependencies": {
"bundle-require": "^2.1.2",
"cac": "^6.7.2",
"chalk": "^4.1.0",
"chokidar": "^3.5.1",
"debug": "^4.3.1",
"esbuild": "^0.13.4",
Expand All @@ -51,6 +50,7 @@
"@types/node": "^14.14.41",
"@types/resolve": "^1.20.0",
"buble": "^0.20.0",
"colorette": "^2.0.16",
"consola": "^2.15.3",
"flat": "^5.0.2",
"fs-extra": "^9.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/errors.ts
@@ -1,5 +1,5 @@
import { isMainThread, parentPort } from 'worker_threads'
import colors from 'chalk'
import * as colors from 'colorette'

export class PrettyError extends Error {
constructor(message: string) {
Expand Down
2 changes: 1 addition & 1 deletion src/log.ts
@@ -1,4 +1,4 @@
import colors from 'chalk'
import * as colors from 'colorette'

export const makeLabel = (
name: string | undefined,
Expand Down

1 comment on commit 6072da3

@vercel
Copy link

@vercel vercel bot commented on 6072da3 Nov 24, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.