Skip to content

Commit

Permalink
feat(tools): enable typecheck on all TypeScript files (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
huyenltnguyen authored Apr 25, 2024
1 parent 379560e commit d6d6ad5
Show file tree
Hide file tree
Showing 7 changed files with 141 additions and 308 deletions.
File renamed without changes.
4 changes: 0 additions & 4 deletions jest.config.js

This file was deleted.

8 changes: 8 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import type { Config } from "jest";

const config: Config = {
testEnvironment: "jsdom",
setupFilesAfterEnv: ["<rootDir>/jest-setup.ts"],
};

export default config;
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"storybook": "storybook dev -p 6006 --no-open",
"storybook:theming": "pnpm run storybook --no-manager-cache",
"clean": "rm -rf dist/*",
"gen-component": "tsx ./utils/gen-component-script",
"gen-component": "ts-node ./utils/gen-component-script",
"test": "jest",
"prepare": "husky",
"typecheck": "tsc"
Expand Down Expand Up @@ -108,8 +108,8 @@
"storybook": "^8.0.6",
"style-loader": "3.3.4",
"tailwindcss": "3.4.3",
"ts-node": "^10.9.2",
"tslib": "2.6.2",
"tsx": "^4.7.2",
"typescript": "^5.4.3"
},
"keywords": [
Expand Down
Loading

0 comments on commit d6d6ad5

Please sign in to comment.