Skip to content

Commit

Permalink
chore: action check typescript demo type as well
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Jun 24, 2024
1 parent ef9885d commit b6f90f3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"postsite:preview": "cp _site/index.html _site/404.html",
"lint": "npm run lint:tsc && eslint --ext .ts,.tsx ./ --max-warnings 0",
"lint:fix": "eslint --ext .ts,.tsx ./src --ignore-pattern src/__tests__ --max-warnings 0 --fix",
"lint:tsc": "tsc --emitDeclarationOnly -p ./tsconfig.build.json",
"lint:tsc": "tsc --emitDeclarationOnly -p ./tsconfig.dev.json",
"generate:usage": "node script/generate-usage/index.js",
"generate:coverage-badge": "npm run test:coverage && node script/generate-coverage.js",
"test": "vitest run && npm run test:snap",
Expand Down
19 changes: 19 additions & 0 deletions tsconfig.dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": "./tsconfig",
"include": [
"./src",
"./globals.d.ts"
],
"exclude": [
"**/**/__tests__/*",
"**/**/_example-js/*",
"**/**/_usage/*",
"node_modules",
"src/_common",
"dist",
"lib",
"esm",
"cjs",
"es"
]
}

0 comments on commit b6f90f3

Please sign in to comment.