From fab85323813a164d0d4f46a25aee4038d3eb8bbc Mon Sep 17 00:00:00 2001 From: Viswamedha Nalabotu Date: Sun, 18 Jan 2026 14:27:15 +0000 Subject: [PATCH] Tweaked configuration settings --- tsconfig.app.json | 12 ------------ tsconfig.json | 42 ++++++++++++++++++++++++++++++++++-------- tsconfig.node.json | 19 ------------------- vite.config.ts | 9 +++++++++ 4 files changed, 43 insertions(+), 39 deletions(-) delete mode 100644 tsconfig.app.json delete mode 100644 tsconfig.node.json diff --git a/tsconfig.app.json b/tsconfig.app.json deleted file mode 100644 index 099adb2..0000000 --- a/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "@vue/tsconfig/tsconfig.dom.json", - "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], - "exclude": ["src/**/__tests__/*"], - "compilerOptions": { - "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", - - "paths": { - "@/*": ["./src/*"] - } - } -} diff --git a/tsconfig.json b/tsconfig.json index 8df4bb4..58de42e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,37 @@ { - "files": [], - "references": [ - { - "path": "./tsconfig.node.json" - }, - { - "path": "./tsconfig.app.json" - } + "compileOnSave": false, + "compilerOptions": { + "rootDir": ".", + "sourceMap": true, + "declaration": false, + "moduleResolution": "node", + "module": "esnext", + "target": "es2015", + "jsx": "preserve", + "jsxImportSource": "vue", + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "importHelpers": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "resolveJsonModule": true, + "allowJs": true, + "skipLibCheck": true, + "skipDefaultLibCheck": true, + "types": ["vite/client"], + "baseUrl": ".", + "paths": {}, + "outDir": "./build/out-tsc", + "lib": ["es2020", "dom"] + }, + "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.vue"], + "exclude": [ + "node_modules", + "tmp", + "src/**/*.spec.ts", + "src/**/*.test.ts", + "src/**/*.spec.vue", + "src/**/*.test.vue" ] } diff --git a/tsconfig.node.json b/tsconfig.node.json deleted file mode 100644 index aa59b5c..0000000 --- a/tsconfig.node.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@tsconfig/node24/tsconfig.json", - "include": [ - "vite.config.*", - "vitest.config.*", - "cypress.config.*", - "nightwatch.conf.*", - "playwright.config.*", - "eslint.config.*" - ], - "compilerOptions": { - "noEmit": true, - "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", - - "module": "ESNext", - "moduleResolution": "Bundler", - "types": ["node"] - } -} diff --git a/vite.config.ts b/vite.config.ts index b23f4ee..030584a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -11,6 +11,15 @@ export default defineConfig({ server: { port: 5173, host: 'localhost', + strictPort: true, + watch: { + usePolling: true, + interval: 300, + }, + hmr: { + clientPort: 5173, + protocol: 'ws', + }, }, preview: { port: 4300,