Skip to content

Commit

Permalink
feat: remove kleur
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Jun 26, 2024
1 parent 1751328 commit 9d39e91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
19 changes: 1 addition & 18 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions packages/cli-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
"homepage": "https://juno.build",
"peerDependencies": {
"@junobuild/config": "*",
"@junobuild/utils": "*",
"kleur": "^3.0.3"
"@junobuild/utils": "*"
},
"dependencies": {
"file-type": "^19.0.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/cli-tools/src/utils/prompt.utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {isNullish, nonNullish} from '@junobuild/utils';
import {red} from 'kleur';

// In case an answer is replaced by control+c
export const assertAnswerCtrlC: (
Expand All @@ -11,7 +10,7 @@ export const assertAnswerCtrlC: (
): void => {
if (isNullish(answer) || answer === '') {
if (nonNullish(message)) {
console.log(`${red(message)}`);
console.error(message);
}

process.exit(1);
Expand Down

0 comments on commit 9d39e91

Please sign in to comment.