chore: fix typecheck script to use per-package tsc --noEmit
Some checks failed
Build and Deploy / quality (push) Successful in 1m41s
Build and Deploy / build-and-deploy (push) Failing after 1m2s

This commit is contained in:
lila 2026-04-30 01:29:19 +02:00
parent 89e559a4db
commit 47a0becc6e
5 changed files with 9 additions and 5 deletions

View file

@ -7,7 +7,8 @@
"dev": "pnpm --filter shared build && pnpm --filter db build && tsx watch src/server.ts",
"build": "tsc",
"start": "node dist/src/server.js",
"test": "vitest"
"test": "vitest",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@lila/db": "workspace:*",

View file

@ -6,7 +6,8 @@
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview"
"preview": "vite preview",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@lila/shared": "workspace:*",

View file

@ -12,7 +12,7 @@
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "tsc --build --noEmit"
"typecheck": "pnpm -r typecheck"
},
"lint-staged": {
"**/*.{ts,tsx}": [

View file

@ -6,7 +6,8 @@
"scripts": {
"build": "rm -rf dist && tsc",
"generate": "drizzle-kit generate",
"migrate": "drizzle-kit migrate"
"migrate": "drizzle-kit migrate",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@lila/shared": "workspace:*",

View file

@ -4,7 +4,8 @@
"private": true,
"type": "module",
"scripts": {
"build": "tsc"
"build": "tsc",
"typecheck": "tsc --noEmit"
},
"exports": {
".": "./dist/src/index.js"