Skip to content

Commit e462a50

Browse files
committed
chore: add tsc check and update gitignore
1 parent 61ac05c commit e462a50

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ dist-ssr
2222
*.njsproj
2323
*.sln
2424
*.sw?
25+
26+
tsconfig.tsbuildinfo

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ if git diff --cached --name-only | grep -E "\.md$"; then
88
fi
99

1010
pnpm lint-staged
11+
12+
pnpm check

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"dev": "vite",
88
"build": "tsc -b && vite build",
99
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
10+
"check": "tsc -b",
1011
"preview": "pnpm run build && vite preview",
1112
"pick": "tsx scripts/pick.ts",
1213
"sync-notes": "tsx scripts/sync-notes.ts",

0 commit comments

Comments
 (0)