1
0
mirror of synced 2025-12-07 17:32:33 +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

@@ -29,10 +29,7 @@
],
"license": "Apache-2.0",
"scripts": {
"build": "npm run build:type && vite build",
"build:type": "npm run clear:type && vue-tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
"clear:type": "rimraf ./types",
"check:type": "vue-tsc --noEmit --project tsconfig.build.json"
"build": "vite build"
},
"engines": {
"node": ">=18"
@@ -56,8 +53,7 @@
"@vue/test-utils": "^2.4.6",
"rimraf": "^3.0.2",
"sass": "^1.77.0",
"vite": "^5.3.5",
"vue-tsc": "^2.0.19"
"vite": "^5.3.5"
},
"peerDependencies": {
"@tmagic/design": "workspace:*",