build: 不在每个package中构建dts,解决package间相互依赖问题
This commit is contained in:
@@ -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:*",
|
||||
|
||||
Reference in New Issue
Block a user