Skip to content

Commit

Permalink
no figures
Browse files Browse the repository at this point in the history
  • Loading branch information
TuvalSimha committed May 26, 2024
1 parent db66d76 commit b02ff6e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 17 deletions.
4 changes: 2 additions & 2 deletions packages/commands/similar/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
parseGlobalArgs,
} from '@graphql-inspector/commands';
import { similar as findSimilar, getTypePrefix, Rating, SimilarMap } from '@graphql-inspector/core';
import { chalk, fallbackSymbols, Logger } from '@graphql-inspector/logger';
import { chalk, figures, Logger } from '@graphql-inspector/logger';

export { CommandFactory };

Expand Down Expand Up @@ -194,7 +194,7 @@ function printScale(ratio: number): string {

return levels
.map(level => percentage >= level)
.map(enabled => (enabled ? fallbackSymbols.bullet : chalk.gray(fallbackSymbols.bullet)))
.map(enabled => (enabled ? figures.bullet : chalk.gray(figures.bullet)))
.join('');
}

Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"dependencies": {
"chalk": "4.1.2",
"figures": "6.1.0",
"figures": "3.2.0",
"log-symbols": "4.1.0",
"std-env": "3.3.3",
"tslib": "2.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Transform } from 'node:stream';
import chalk from 'chalk';
import * as env from 'std-env';

export { Options, fallbackSymbols, mainSymbols, replaceSymbols } from 'figures';
export { default as figures } from 'figures';
export { default as symbols } from 'log-symbols';
export { chalk };

Expand Down
20 changes: 7 additions & 13 deletions pnpm-lock.yaml

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

0 comments on commit b02ff6e

Please sign in to comment.