This commit is contained in:
MartinBraquet
2026-02-20 19:29:54 +01:00
parent 3a1273dfac
commit 650b3f2469
3 changed files with 2 additions and 5 deletions

View File

@@ -28,9 +28,6 @@ jobs:
- name: Lint
run: yarn lint
- name: Build dependencies (for type check)
run: ./scripts/build_api.sh
- name: Type check
run: yarn typecheck

View File

@@ -19,7 +19,7 @@
"watch": "tsc -w",
"lint": "npx eslint . --max-warnings 0",
"lint-fix": "npx eslint . --fix",
"typecheck": "npx tsc --noEmit",
"typecheck": "yarn build && npx tsc --noEmit",
"regen-types": "cd ../supabase && make ENV=prod regen-types",
"regen-types-dev": "cd ../supabase && make ENV=dev regen-types-dev",
"test": "jest --config jest.config.js",

View File

@@ -13,7 +13,7 @@
"scripts": {
"lint": "yarn --cwd=web lint; yarn --cwd=common lint; yarn --cwd=backend/api lint; yarn --cwd=backend/shared lint",
"lint-fix": "yarn --cwd=web lint-fix; yarn --cwd=common lint-fix; yarn --cwd=backend/api lint-fix; yarn --cwd=backend/shared lint-fix",
"typecheck": "yarn --cwd=web typecheck; yarn --cwd=common typecheck; yarn --cwd=backend/api typecheck; yarn --cwd=backend/shared typecheck",
"typecheck": "yarn --cwd=web typecheck; yarn --cwd=backend/api typecheck; yarn --cwd=common typecheck; yarn --cwd=backend/shared typecheck",
"prettier": "prettier --write .",
"prettier:check": "prettier --check .",
"dev": "./scripts/run_local.sh dev",