build: 不在每个package中构建dts,解决package间相互依赖问题
This commit is contained in:
@@ -24,10 +24,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",
|
||||
"check:type": "tsc --noEmit --project tsconfig.build.json",
|
||||
"clear:type": "rimraf ./types"
|
||||
"build": "vite build"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"declarationDir": "types",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"paths": {},
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
],
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "../..",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user