From b0db0e55c0c400bc948a4934b0e4fddfbfdcca51 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 7 Oct 2025 13:04:03 +0300 Subject: Rewrite to run as a traditional script, update deps --- tsconfig.json | 41 +++++++++++++---------------------------- 1 file changed, 13 insertions(+), 28 deletions(-) (limited to 'tsconfig.json') diff --git a/tsconfig.json b/tsconfig.json index 3ee30e3..a4d9078 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,32 +1,17 @@ { "compilerOptions": { - "allowJs": true, - "allowSyntheticDefaultImports": true, - "lib": [ - "dom", - "es2017" - ], - "rootDir": "src", - "outDir": "build", - "module": "commonjs", - "moduleResolution": "node", - "noUnusedLocals": true, - "noUnusedParameters": true, - "preserveConstEnums": true, - "removeComments": true, - "skipLibCheck": true, - "sourceMap": true, - "strict": true, - "target": "esnext", - "forceConsistentCasingInFileNames": true, + // This tsconfig is a minimal placeholder retained only for IDE tooling / editor intellisense. + // The build pipeline uses `bun build` (see package.json scripts) to produce a single + // CommonJS bundle at build/index.js suitable for running with plain `node`. + // No type-check step is performed as part of the build. + "target": "ES2020", + "module": "CommonJS", + "moduleResolution": "Node", "esModuleInterop": true, - "resolveJsonModule": true, - "isolatedModules": true + "strict": true, + "skipLibCheck": true, + "resolveJsonModule": true }, - "exclude": [ - "node_modules" - ], - "include": [ - "src/", - ] -} \ No newline at end of file + "include": ["src/**/*"], + "exclude": ["node_modules", "build"] +} -- cgit v1.3