mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 14:41:24 +08:00
chore: update typecheck command to use concurrently and add dependency
- Modified the typecheck script in package.json to run node and web type checks concurrently for improved efficiency. - Added 'concurrently' as a new dependency in package.json and updated yarn.lock accordingly.
This commit is contained in:
parent
367c4fe6b6
commit
c52a2dbc48
@ -50,7 +50,7 @@
|
|||||||
"generate:icons": "electron-icon-builder --input=./build/logo.png --output=build",
|
"generate:icons": "electron-icon-builder --input=./build/logo.png --output=build",
|
||||||
"analyze:renderer": "VISUALIZER_RENDERER=true yarn build",
|
"analyze:renderer": "VISUALIZER_RENDERER=true yarn build",
|
||||||
"analyze:main": "VISUALIZER_MAIN=true yarn build",
|
"analyze:main": "VISUALIZER_MAIN=true yarn build",
|
||||||
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
"typecheck": "concurrently -n \"node,web\" -c \"cyan,magenta\" \"npm run typecheck:node\" \"npm run typecheck:web\"",
|
||||||
"typecheck:node": "tsgo --noEmit -p tsconfig.node.json --composite false",
|
"typecheck:node": "tsgo --noEmit -p tsconfig.node.json --composite false",
|
||||||
"typecheck:web": "tsgo --noEmit -p tsconfig.web.json --composite false",
|
"typecheck:web": "tsgo --noEmit -p tsconfig.web.json --composite false",
|
||||||
"check:i18n": "dotenv -e .env -- tsx scripts/check-i18n.ts",
|
"check:i18n": "dotenv -e .env -- tsx scripts/check-i18n.ts",
|
||||||
@ -257,6 +257,7 @@
|
|||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"code-inspector-plugin": "^0.20.14",
|
"code-inspector-plugin": "^0.20.14",
|
||||||
"color": "^5.0.0",
|
"color": "^5.0.0",
|
||||||
|
"concurrently": "^9.2.1",
|
||||||
"country-flag-emoji-polyfill": "0.1.8",
|
"country-flag-emoji-polyfill": "0.1.8",
|
||||||
"dayjs": "^1.11.11",
|
"dayjs": "^1.11.11",
|
||||||
"dexie": "^4.0.8",
|
"dexie": "^4.0.8",
|
||||||
|
|||||||
67
yarn.lock
67
yarn.lock
@ -10187,6 +10187,7 @@ __metadata:
|
|||||||
clsx: "npm:^2.1.1"
|
clsx: "npm:^2.1.1"
|
||||||
code-inspector-plugin: "npm:^0.20.14"
|
code-inspector-plugin: "npm:^0.20.14"
|
||||||
color: "npm:^5.0.0"
|
color: "npm:^5.0.0"
|
||||||
|
concurrently: "npm:^9.2.1"
|
||||||
country-flag-emoji-polyfill: "npm:0.1.8"
|
country-flag-emoji-polyfill: "npm:0.1.8"
|
||||||
dayjs: "npm:^1.11.11"
|
dayjs: "npm:^1.11.11"
|
||||||
dexie: "npm:^4.0.8"
|
dexie: "npm:^4.0.8"
|
||||||
@ -11503,6 +11504,16 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"chalk@npm:4.1.2, chalk@npm:^4.0.0, chalk@npm:^4.0.2, chalk@npm:^4.1.0, chalk@npm:^4.1.1, chalk@npm:^4.1.2":
|
||||||
|
version: 4.1.2
|
||||||
|
resolution: "chalk@npm:4.1.2"
|
||||||
|
dependencies:
|
||||||
|
ansi-styles: "npm:^4.1.0"
|
||||||
|
supports-color: "npm:^7.1.0"
|
||||||
|
checksum: 10c0/4a3fef5cc34975c898ffe77141450f679721df9dde00f6c304353fa9c8b571929123b26a0e4617bde5018977eb655b31970c297b91b63ee83bb82aeb04666880
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"chalk@npm:^3.0.0":
|
"chalk@npm:^3.0.0":
|
||||||
version: 3.0.0
|
version: 3.0.0
|
||||||
resolution: "chalk@npm:3.0.0"
|
resolution: "chalk@npm:3.0.0"
|
||||||
@ -11513,16 +11524,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"chalk@npm:^4.0.0, chalk@npm:^4.0.2, chalk@npm:^4.1.0, chalk@npm:^4.1.1, chalk@npm:^4.1.2":
|
|
||||||
version: 4.1.2
|
|
||||||
resolution: "chalk@npm:4.1.2"
|
|
||||||
dependencies:
|
|
||||||
ansi-styles: "npm:^4.1.0"
|
|
||||||
supports-color: "npm:^7.1.0"
|
|
||||||
checksum: 10c0/4a3fef5cc34975c898ffe77141450f679721df9dde00f6c304353fa9c8b571929123b26a0e4617bde5018977eb655b31970c297b91b63ee83bb82aeb04666880
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"chalk@npm:^5.4.1":
|
"chalk@npm:^5.4.1":
|
||||||
version: 5.4.1
|
version: 5.4.1
|
||||||
resolution: "chalk@npm:5.4.1"
|
resolution: "chalk@npm:5.4.1"
|
||||||
@ -12145,6 +12146,23 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"concurrently@npm:^9.2.1":
|
||||||
|
version: 9.2.1
|
||||||
|
resolution: "concurrently@npm:9.2.1"
|
||||||
|
dependencies:
|
||||||
|
chalk: "npm:4.1.2"
|
||||||
|
rxjs: "npm:7.8.2"
|
||||||
|
shell-quote: "npm:1.8.3"
|
||||||
|
supports-color: "npm:8.1.1"
|
||||||
|
tree-kill: "npm:1.2.2"
|
||||||
|
yargs: "npm:17.7.2"
|
||||||
|
bin:
|
||||||
|
conc: dist/bin/concurrently.js
|
||||||
|
concurrently: dist/bin/concurrently.js
|
||||||
|
checksum: 10c0/da37f239f82eb7ac24f5ddb56259861e5f1d6da2ade7602b6ea7ad3101b13b5ccec02a77b7001402d1028ff2fdc38eed55644b32853ad5abf30e057002a963aa
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"conf@npm:^10.2.0":
|
"conf@npm:^10.2.0":
|
||||||
version: 10.2.0
|
version: 10.2.0
|
||||||
resolution: "conf@npm:10.2.0"
|
resolution: "conf@npm:10.2.0"
|
||||||
@ -23008,6 +23026,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"rxjs@npm:7.8.2":
|
||||||
|
version: 7.8.2
|
||||||
|
resolution: "rxjs@npm:7.8.2"
|
||||||
|
dependencies:
|
||||||
|
tslib: "npm:^2.1.0"
|
||||||
|
checksum: 10c0/1fcd33d2066ada98ba8f21fcbbcaee9f0b271de1d38dc7f4e256bfbc6ffcdde68c8bfb69093de7eeb46f24b1fb820620bf0223706cff26b4ab99a7ff7b2e2c45
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.1, safe-buffer@npm:~5.2.0":
|
"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.1, safe-buffer@npm:~5.2.0":
|
||||||
version: 5.2.1
|
version: 5.2.1
|
||||||
resolution: "safe-buffer@npm:5.2.1"
|
resolution: "safe-buffer@npm:5.2.1"
|
||||||
@ -23340,6 +23367,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"shell-quote@npm:1.8.3":
|
||||||
|
version: 1.8.3
|
||||||
|
resolution: "shell-quote@npm:1.8.3"
|
||||||
|
checksum: 10c0/bee87c34e1e986cfb4c30846b8e6327d18874f10b535699866f368ade11ea4ee45433d97bf5eada22c4320c27df79c3a6a7eb1bf3ecfc47f2c997d9e5e2672fd
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"shiki@npm:3.12.0, shiki@npm:^3.12.0":
|
"shiki@npm:3.12.0, shiki@npm:^3.12.0":
|
||||||
version: 3.12.0
|
version: 3.12.0
|
||||||
resolution: "shiki@npm:3.12.0"
|
resolution: "shiki@npm:3.12.0"
|
||||||
@ -24065,6 +24099,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"supports-color@npm:8.1.1":
|
||||||
|
version: 8.1.1
|
||||||
|
resolution: "supports-color@npm:8.1.1"
|
||||||
|
dependencies:
|
||||||
|
has-flag: "npm:^4.0.0"
|
||||||
|
checksum: 10c0/ea1d3c275dd604c974670f63943ed9bd83623edc102430c05adb8efc56ba492746b6e95386e7831b872ec3807fd89dd8eb43f735195f37b5ec343e4234cc7e89
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"supports-color@npm:^7.1.0":
|
"supports-color@npm:^7.1.0":
|
||||||
version: 7.2.0
|
version: 7.2.0
|
||||||
resolution: "supports-color@npm:7.2.0"
|
resolution: "supports-color@npm:7.2.0"
|
||||||
@ -24602,7 +24645,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"tree-kill@npm:^1.2.2":
|
"tree-kill@npm:1.2.2, tree-kill@npm:^1.2.2":
|
||||||
version: 1.2.2
|
version: 1.2.2
|
||||||
resolution: "tree-kill@npm:1.2.2"
|
resolution: "tree-kill@npm:1.2.2"
|
||||||
bin:
|
bin:
|
||||||
@ -26271,7 +26314,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"yargs@npm:^17.0.1, yargs@npm:^17.5.1, yargs@npm:^17.6.2, yargs@npm:^17.7.2":
|
"yargs@npm:17.7.2, yargs@npm:^17.0.1, yargs@npm:^17.5.1, yargs@npm:^17.6.2, yargs@npm:^17.7.2":
|
||||||
version: 17.7.2
|
version: 17.7.2
|
||||||
resolution: "yargs@npm:17.7.2"
|
resolution: "yargs@npm:17.7.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user