-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): replace chalk with kleur (#285)
* fix(cli): replace chalk with kleur * include kleur in the bundle output
- Loading branch information
1 parent
75eb310
commit 0468022
Showing
5 changed files
with
23 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,6 @@ | |
"vite-plugin-dts": "3.5.0" | ||
}, | ||
"dependencies": { | ||
"chalk": "5.3.0" | ||
"kleur": "4.1.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
import { Chalk } from 'chalk' | ||
|
||
const chalk = new Chalk({ level: 1 }) | ||
|
||
export const green = (text: string) => chalk.green(text) | ||
export const gray = (text: string) => chalk.gray(text) | ||
export const red = (text: string) => chalk.red(text) | ||
export const bold = (text: string) => chalk.bold(text) | ||
export { green, gray, red, bold } from 'kleur/colors' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0468022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
plugin-sandbox – ./
plugin-sandbox-git-main-storyblok-com.vercel.app
storyblok-field-plugin-sandbox.vercel.app
plugin-sandbox-storyblok-com.vercel.app
plugin-sandbox.storyblok.com