Skip to content

Commit c113142

Browse files
committed
chore: 修复 ts 检查
1 parent 9ac8ca2 commit c113142

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

internal/playground/tsconfig.json

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"compilerOptions": {
44
"declaration": false,
55
"sourceMap": true,
6+
"baseUrl": "./",
67
"target": "esnext",
78
"module": "ESNext",
89
"types": ["vite/client"],
@@ -13,5 +14,6 @@
1314
// "@pkg/components": ["./.yalc/@tool-pack/react-ui"]
1415
}
1516
},
17+
"include": ["src"],
1618
"exclude": ["dist"]
1719
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"eject": "react-scripts eject",
1717
"check:lint": "eslint \"**/*.{ts,tsx}\"",
1818
"check:ts": "tsc -p tsconfig.noEmit.json --noEmit",
19+
"check:ts-all": "pnpm check:ts & pnpm -r check:ts",
1920
"check:ts:lint": "npm run check:ts && npm run check:lint",
2021
"check:deps": "ncu",
2122
"check:css": "stylelint \"**/*.{css,scss}\"",

packages/components/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"@tool-pack/react-ui": ["../../packages/react-ui/src"]
1212
}
1313
},
14+
"include": ["src"],
1415
"exclude": ["dist"]
1516
}

packages/icons/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"@pkg/*": ["../../packages/*/src"]
1212
}
1313
},
14+
"include": ["src"],
1415
"exclude": ["dist"]
1516
}

packages/shared/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"@pkg/*": ["../../packages/*/src"]
1212
}
1313
},
14+
"include": ["src"],
1415
"exclude": ["dist"]
1516
}

0 commit comments

Comments
 (0)