diff --git a/codebase/@features/provider-website/backend-api/tsconfig.json b/codebase/@features/provider-website/backend-api/tsconfig.json deleted file mode 100644 index 5df7121e..00000000 --- a/codebase/@features/provider-website/backend-api/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "bundler", - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noImplicitReturns": true, - "types": ["bun"] - }, - "include": ["src/**/*.ts"] -} diff --git a/codebase/@features/provider-website/backend-api/vitest.config.ts b/codebase/@features/provider-website/backend-api/vitest.config.ts deleted file mode 100644 index ca31237e..00000000 --- a/codebase/@features/provider-website/backend-api/vitest.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vitest/config'; - -export default defineConfig({ - test: { - environment: 'node', - globals: false, - env: { - NODE_ENV: 'test', - // No SMTP configured in test env — transport will fail as expected - SMTP_REQUIRE_TLS: 'false', - }, - pool: 'forks', - poolOptions: { - forks: { - singleFork: false, - }, - }, - }, -}); diff --git a/codebase/@packages/@quinn/api-client/tsconfig.json b/codebase/@packages/@quinn/api-client/tsconfig.json new file mode 100644 index 00000000..a1ead754 --- /dev/null +++ b/codebase/@packages/@quinn/api-client/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "bundler", + "lib": ["ES2022", "DOM", "DOM.Iterable"], + "strict": true, + "exactOptionalPropertyTypes": true, + "verbatimModuleSyntax": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "esModuleInterop": true, + "skipLibCheck": true, + "resolveJsonModule": true, + "outDir": "./dist", + "declaration": true, + "declarationMap": true, + "sourceMap": true + }, + "include": ["src/**/*"], + "exclude": ["node_modules", "dist", "**/*.test.ts"] +} diff --git a/deployments/@domains/quinn.www/root/vite.config.ts b/deployments/@domains/quinn.www/root/vite.config.ts index 7b310854..9be01ed9 100644 --- a/deployments/@domains/quinn.www/root/vite.config.ts +++ b/deployments/@domains/quinn.www/root/vite.config.ts @@ -150,17 +150,10 @@ export default defineConfig({ strictPort: false, open: false, proxy: { - '/api/touring': { - target: `http://localhost:${process.env.ADMIN_API_PORT || '3023'}`, - changeOrigin: true, - }, - '/api/contact': { - target: `http://localhost:${process.env.CONTACT_API_PORT || '3021'}`, - changeOrigin: true, - }, '/analytics/track': { - target: `http://localhost:${process.env.CONTACT_API_PORT || '3021'}`, + target: `http://localhost:${process.env.QUINN_API_PORT || '3040'}`, changeOrigin: true, + rewrite: (path) => `/public${path}`, }, }, hmr: {