Skip to content

Commit 9f4fdb0

Browse files
committed
fix: remove log-symbols
1 parent 1a6aa90 commit 9f4fdb0

File tree

5 files changed

+8
-27
lines changed

5 files changed

+8
-27
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
"args-tokenizer": "^0.3.0",
8484
"eslint": "^9.19.0",
8585
"esno": "^4.8.0",
86-
"log-symbols": "^7.0.0",
8786
"picocolors": "^1.1.1",
8887
"rimraf": "^6.0.1",
8988
"tiny-conventional-commits-parser": "^0.0.1",

pnpm-lock.yaml

-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cli/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import type { VersionBumpProgress } from '../types/version-bump-progress'
22
import process from 'node:process'
3-
import symbols from 'log-symbols'
43
import { x } from 'tinyexec'
54
import { ProgressEvent } from '../types/version-bump-progress'
65
import { versionBump } from '../version-bump'
76
import { ExitCode } from './exit-code'
87
import { parseArgs } from './parse-args'
8+
import { symbols } from './symbols'
99

1010
/**
1111
* The main entry point of the CLI

src/cli/symbols.ts

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import c from 'picocolors'
2+
3+
export const symbols = {
4+
success: c.green('✔'),
5+
info: c.blue('ℹ'),
6+
}

src/version-bump.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import type { VersionBumpOptions } from './types/version-bump-options'
22
import type { VersionBumpResults } from './types/version-bump-results'
33
import process from 'node:process'
44
import { tokenizeArgs } from 'args-tokenizer'
5-
import symbols from 'log-symbols'
65
import c from 'picocolors'
76
import prompts from 'prompts'
87
import { getRecentCommits } from 'tiny-conventional-commits-parser'
98
import { x } from 'tinyexec'
9+
import { symbols } from './cli/symbols'
1010
import { getCurrentVersion } from './get-current-version'
1111
import { getNewVersion } from './get-new-version'
1212
import { formatVersionString, gitCommit, gitPush, gitTag } from './git'

0 commit comments

Comments
 (0)