Fix chalk

This commit is contained in:
Nathan Bierema 2022-05-08 09:27:15 -04:00
parent 6b9d9d833c
commit 944eecaadb
3 changed files with 21 additions and 3 deletions

View File

@ -24,7 +24,7 @@
"test:app": "cross-env BABEL_ENV=test jest test/app",
"test:chrome": "jest test/chrome",
"test:electron": "pnpm run build:test:electron:fixture && jest test/electron",
"test": "pnpm run test:app && pnpm run build:extension && pnpm run test:electron",
"test": "pnpm run test:app && pnpm run build:extension && pnpm run test:chrome && pnpm run test:electron",
"build:test:electron:fixture": "webpack --config test/electron/fixture/webpack.config.js",
"type-check": "tsc --noEmit"
},

View File

@ -24,5 +24,10 @@
"format:check": "prettier --check .",
"release": "pnpm build:all && changeset publish"
},
"packageManager": "pnpm@7.0.1"
"packageManager": "pnpm@7.0.1",
"pnpm": {
"overrides": {
"@babel/highlight>chalk": "Methuselah96/chalk#v2-without-process"
}
}
}

View File

@ -1,5 +1,8 @@
lockfileVersion: 5.4
overrides:
'@babel/highlight>chalk': Methuselah96/chalk#v2-without-process
importers:
.:
@ -2881,7 +2884,7 @@ packages:
engines: {node: '>=6.9.0'}
dependencies:
'@babel/helper-validator-identifier': 7.16.7
chalk: 2.4.2
chalk: github.com/Methuselah96/chalk/7e66d0ff681fc10462ce327f1c4f82bfa13193e2
js-tokens: 4.0.0
/@babel/parser/7.17.10:
@ -24109,3 +24112,13 @@ packages:
/zwitch/1.0.5:
resolution: {integrity: sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==}
dev: true
github.com/Methuselah96/chalk/7e66d0ff681fc10462ce327f1c4f82bfa13193e2:
resolution: {tarball: https://codeload.github.com/Methuselah96/chalk/tar.gz/7e66d0ff681fc10462ce327f1c4f82bfa13193e2}
name: chalk
version: 2.4.2
engines: {node: '>=4'}
dependencies:
ansi-styles: 3.2.1
escape-string-regexp: 1.0.5
supports-color: 5.5.0