1
0
mirror of synced 2025-12-10 11:48:29 +08:00

build: 不在每个package中构建dts,解决package间相互依赖问题

This commit is contained in:
roymondchen
2024-08-08 16:05:10 +08:00
committed by roymondchen
parent de47514f69
commit 7aeca39521
61 changed files with 199 additions and 560 deletions

View File

@@ -20,10 +20,7 @@
],
"license": "Apache-2.0",
"scripts": {
"build": "npm run build:type && vite build",
"build:type": "npm run clear:type && tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
"clear:type": "rimraf ./types",
"check:type": "tsc --noEmit --project tsconfig.build.json"
"build": "vite build"
},
"engines": {
"node": ">=18"