Add typecheck script

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-02-12 13:22:12 -08:00
parent 2e2dfa1cd5
commit ddda589ffe
2 changed files with 3 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ bin/probod: pkg/api/console/v1/schema/schema.go pkg/api/console/v1/types/types.g
.PHONY: @probo/console
@probo/console: NODE_ENV=production
@probo/console:
$(NPM) --workspace $@ run typecheck
$(NPM) --workspace $@ run build
pkg/api/console/v1/schema/schema.go \

View File

@@ -7,7 +7,8 @@
"build": "npx node --env-file .env.production scripts/esbuild.mjs",
"relay": "npx relay-compiler --output quiet-with-errors",
"relay:watch": "npx relay-compiler --output quiet-with-errors --watch",
"lint": "eslint src --ext .ts,.tsx"
"lint": "eslint src --ext .ts,.tsx",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@radix-ui/react-avatar": "^1.1.3",