Skip to content

Commit 36c7fc1

Browse files
committed
chore: replace chalk with colorette
1 parent 1a0d9b2 commit 36c7fc1

File tree

11 files changed

+15
-10
lines changed

11 files changed

+15
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
"dependencies": {
8282
"@nolyfill/json-stable-stringify": "^1.0.30",
8383
"@yarnpkg/lockfile": "^1.1.0",
84-
"chalk": "^4.1.2",
8584
"ci-info": "^3.7.0",
85+
"colorette": "^2.0.20",
8686
"cross-spawn": "^7.0.3",
8787
"find-yarn-workspace-root": "^2.0.0",
8888
"fs-extra": "^10.0.0",

src/applyPatches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import colors from "chalk"
1+
import colors from "colorette"
22
import { existsSync, writeFileSync } from "fs-extra"
33
import { posix } from "path"
44
import semver from "semver"

src/createIssue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import colors from "chalk"
1+
import colors from "colorette"
22
import open from "open"
33
import { stringify } from "querystring"
44
import { PackageManager } from "./detectPackageManager"

src/detectPackageManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import colors from "chalk"
1+
import colors from "colorette"
22
import findWorkspaceRoot from "find-yarn-workspace-root"
33
import fs from "fs-extra"
44
import { join } from "./path"

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import colors from "chalk"
1+
import colors from "colorette"
22
import { isCI } from "ci-info"
33
import minimist from "minimist"
44
import { normalize, sep } from "path"

src/makePatch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import colors from "chalk"
1+
import colors from "colorette"
22
import {
33
copySync,
44
existsSync,

src/makeRegExp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import colors from "chalk"
1+
import colors from "colorette"
22

33
export const makeRegExp = (
44
reString: string,

src/patch/read.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import colors from "chalk"
1+
import colors from "colorette"
22
import { readFileSync } from "fs-extra"
33
import { normalize } from "path"
44
import { PackageDetails } from "../PackageDetails"

src/rebase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import colors from "chalk"
1+
import colors from "colorette"
22
import { join, resolve } from "path"
33
import { applyPatch } from "./applyPatches"
44
import { hashFile } from "./hash"

src/stateFile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import stringify from "@nolyfill/json-stable-stringify"
2-
import colors from "chalk"
2+
import colors from "colorette"
33
import { existsSync, readFileSync, unlinkSync, writeFileSync } from "fs"
44
import { join } from "path"
55
import { hashFile } from "./hash"

0 commit comments

Comments
 (0)