diff --git a/apis/websocket/config.example.json b/apis/websocket/config.example.json deleted file mode 100755 index 9a07cd7..0000000 --- a/apis/websocket/config.example.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "./config.schema.json", - - "address": "127.0.0.1", - "port": 3000, - "ocrConcurrentQueues": 1, - "clientHeartbeatInterval": 5000, - "consoleLogLevel": "log" -} diff --git a/apis/websocket/tsconfig.json b/apis/websocket/tsconfig.json index a4fa4d4..29a7c65 100755 --- a/apis/websocket/tsconfig.json +++ b/apis/websocket/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.apis.json", + "extends": "../../tsconfig.json", "compilerOptions": { "baseUrl": ".", "outDir": "dist", diff --git a/packages/api/tsconfig.json b/packages/api/tsconfig.json index 9ed99d0..01f29d1 100755 --- a/packages/api/tsconfig.json +++ b/packages/api/tsconfig.json @@ -5,7 +5,8 @@ "rootDir": "./src", "outDir": "dist", "module": "ESNext", - "composite": true + "composite": true, + "noEmit": false }, "exclude": ["node_modules", "dist"] } diff --git a/packages/shared/tsconfig.json b/packages/shared/tsconfig.json index 9ed99d0..01f29d1 100755 --- a/packages/shared/tsconfig.json +++ b/packages/shared/tsconfig.json @@ -5,7 +5,8 @@ "rootDir": "./src", "outDir": "dist", "module": "ESNext", - "composite": true + "composite": true, + "noEmit": false }, "exclude": ["node_modules", "dist"] } diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..050bea4 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,27 @@ +{ + "extends": ["@tsconfig/strictest", "bun-types"], + "compilerOptions": { + "lib": ["ESNext"], + "target": "ESNext", + "module": "ESNext", + "moduleDetection": "force", + + "moduleResolution": "Bundler", + + "strict": true, + "skipLibCheck": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "useUnknownInCatchVariables": true, + "noPropertyAccessFromIndexSignature": true, + + "composite": false, + "resolveJsonModule": true, + "esModuleInterop": true, + "declaration": false, + "allowSyntheticDefaultImports": true, + "isolatedModules": true, + "allowImportingTsExtensions": false + } +} diff --git a/tsconfig.packages.json b/tsconfig.packages.json old mode 100755 new mode 100644 index 3406eb1..685fcf3 --- a/tsconfig.packages.json +++ b/tsconfig.packages.json @@ -1,5 +1,5 @@ { - "extends": "./tsconfig.base.json", + "extends": "./tsconfig.json", "compilerOptions": { "declaration": true, "declarationMap": true