build: type-check worker with isolated globals
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"scripts": {
|
||||
"build": "node build.mjs",
|
||||
"generate-types": "cargo run -p trx-frontend-http --example generate_typescript",
|
||||
"typecheck": "tsc --project tsconfig.json",
|
||||
"typecheck": "tsc --project tsconfig.json && tsc --project tsconfig.worker.json",
|
||||
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.mjs\" build.mjs --no-error-on-unmatched-pattern",
|
||||
"test": "node --test tests/*.test.mjs",
|
||||
"verify-generated": "npm run generate-types && npm run build && git diff --exit-code -- ../assets/web/generated src/api/generated.ts"
|
||||
|
||||
Reference in New Issue
Block a user