ci: add typechecking, fail fast in CI, and patch typechecking errors (#63)

This commit is contained in:
Charles Packer
2025-11-04 11:50:07 -08:00
committed by GitHub
parent 42eb671bf4
commit cf73f3a11f
27 changed files with 183 additions and 69 deletions

View File

@@ -32,6 +32,7 @@
"devDependencies": {
"@types/bun": "latest",
"@types/diff": "^8.0.0",
"@types/picomatch": "^4.0.2",
"diff": "^8.0.2",
"husky": "9.1.7",
"ink": "^5.0.0",
@@ -39,12 +40,15 @@
"ink-text-input": "^5.0.0",
"lint-staged": "16.2.4",
"minimatch": "^10.0.3",
"picomatch": "^2.3.1",
"react": "18.2.0",
"typescript": "^5.0.0"
},
"scripts": {
"lint": "bunx --bun @biomejs/biome@2.2.5 check src",
"fix": "bunx --bun @biomejs/biome@2.2.5 check --write src",
"typecheck": "tsc --noEmit",
"check": "bun run scripts/check.js",
"dev": "bun --loader:.md=text --loader:.mdx=text --loader:.txt=text run src/index.ts",
"build": "bun run build.js",
"prepare": "bun run build",