chore(config): 🔧 Update TypeScript, testing, and infrastructure configurations across codebase

This commit is contained in:
Lilith 2026-01-18 09:20:11 -08:00
parent 03e549811e
commit 774d3b1d74
250 changed files with 1117 additions and 49 deletions

0
@packages/@config/tsconfig.json Normal file → Executable file
View file

0
@packages/@design-tokens/tsconfig.json Normal file → Executable file
View file

0
@packages/@hooks/attribute-hooks/tsconfig.json Normal file → Executable file
View file

0
@packages/@hooks/messaging-hooks/tsconfig.json Normal file → Executable file
View file

0
@packages/@hooks/messaging-hooks/vitest.config.ts Normal file → Executable file
View file

0
@packages/@hooks/react-hooks/tsconfig.json Normal file → Executable file
View file

0
@packages/@hooks/react-query-utils/tsconfig.json Normal file → Executable file
View file

0
@packages/@hooks/react-query-utils/vitest.config.ts Normal file → Executable file
View file

View file

View file

View file

0
@packages/@infrastructure/api-client/tsconfig.json Normal file → Executable file
View file

View file

0
@packages/@infrastructure/health-client/tsconfig.json Normal file → Executable file
View file

0
@packages/@infrastructure/host-inventory/tsconfig.json Normal file → Executable file
View file

0
@packages/@infrastructure/image-security/tsconfig.json Normal file → Executable file
View file

0
@packages/@infrastructure/sso-client/jest.config.js Normal file → Executable file
View file

0
@packages/@infrastructure/sso-client/tsconfig.json Normal file → Executable file
View file

View file

0
@packages/@plugins/analytics/e2e/.gitignore vendored Normal file → Executable file
View file

View file

0
@packages/@plugins/analytics/tsconfig.json Normal file → Executable file
View file

0
@packages/@plugins/analytics/vitest.config.ts Normal file → Executable file
View file

0
@packages/@providers/attribute-ui/tsconfig.json Normal file → Executable file
View file

0
@packages/@providers/attribute-ui/vitest.config.ts Normal file → Executable file
View file

0
@packages/@providers/auth-provider/tsconfig.json Normal file → Executable file
View file

0
@packages/@providers/auth-provider/vitest.config.ts Normal file → Executable file
View file

0
@packages/@providers/wizard-provider/tsconfig.json Normal file → Executable file
View file

0
@packages/@testing/mocks/tsconfig.json Normal file → Executable file
View file

0
@packages/@testing/msw-handlers/tsconfig.json Normal file → Executable file
View file

0
@packages/@testing/test-utils/tsconfig.json Normal file → Executable file
View file

0
@packages/@testing/test-utils/vite.config.ts Normal file → Executable file
View file

0
@packages/@testing/test-utils/vitest.config.base.ts Normal file → Executable file
View file

View file

View file

0
@packages/@testing/test-utils/vitest.config.ts Normal file → Executable file
View file

0
@packages/@types/.gitignore vendored Normal file → Executable file
View file

0
@packages/@types/tsconfig.json Normal file → Executable file
View file

0
@packages/@ui/developer-fab/tsconfig.json Normal file → Executable file
View file

0
@packages/@ui/developer-fab/vitest.config.ts Normal file → Executable file
View file

0
@packages/@utility/zname/.gitignore vendored Normal file → Executable file
View file

0
@packages/@utility/zname/jest.config.mjs Normal file → Executable file
View file

0
@packages/@utility/zname/tsconfig.json Normal file → Executable file
View file

0
@packages/@utility/zname/vitest.config.ts Normal file → Executable file
View file

View file

0
features/age-verification/shared/tsconfig.json Normal file → Executable file
View file

0
features/analytics/backend-api/.gitignore vendored Normal file → Executable file
View file

0
features/analytics/backend-api/Dockerfile Normal file → Executable file
View file

0
features/analytics/backend-api/Dockerfile.e2e Normal file → Executable file
View file

0
features/analytics/backend-api/docker-compose.e2e.yml Normal file → Executable file
View file

0
features/analytics/backend-api/e2e/Dockerfile.api Normal file → Executable file
View file

0
features/analytics/backend-api/e2e/Dockerfile.e2e Normal file → Executable file
View file

9
features/analytics/backend-api/tsconfig.json Normal file → Executable file
View file

@ -15,18 +15,17 @@
"skipLibCheck": true,
"strictNullChecks": true,
"noImplicitAny": true,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
"strictBindCallApply": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"isolatedModules": true,
"lib": ["ES2021"],
"paths": {
"@/*": ["src/*"],
"@platform/analytics": ["../shared/src"]
}
},
"include": ["src/**/*", "../shared/**/*"],
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
}

3
features/analytics/backend-api/vitest.config.ts Normal file → Executable file
View file

@ -26,9 +26,6 @@ export default defineConfig({
'dist',
'**/*.e2e.spec.ts',
'**/*.e2e.test.ts',
// TODO: Fix express module resolution issue in these tests
'src/controllers/analytics.controller.spec.ts',
'src/tracking/tracking.controller.spec.ts',
],
deps: {
interopDefault: true,

8
features/analytics/docker-compose.yml Normal file → Executable file
View file

@ -8,10 +8,10 @@ services:
container_name: analytics-postgres
restart: unless-stopped
ports:
- '${POSTGRES_PORT:-5433}:5432'
- '${POSTGRES_PORT:-5434}:5432'
environment:
POSTGRES_USER: ${POSTGRES_USER:-lilith}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-analytics_dev}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-analytics_dev_password}
POSTGRES_DB: ${POSTGRES_DB:-lilith_analytics}
volumes:
- analytics-postgres-data:/var/lib/postgresql/data
@ -38,8 +38,10 @@ services:
- "512mb"
- --maxmemory-policy
- "allkeys-lru"
- --requirepass
- "${REDIS_PASSWORD:-analytics_dev_password}"
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
test: ['CMD', 'redis-cli', '-a', '${REDIS_PASSWORD:-analytics_dev_password}', 'ping']
interval: 10s
timeout: 3s
retries: 5

0
features/analytics/frontend-admin/tsconfig.json Normal file → Executable file
View file

0
features/analytics/frontend-users/tsconfig.json Normal file → Executable file
View file

0
features/analytics/frontend-users/vite.config.ts Normal file → Executable file
View file

0
features/analytics/shared/tsconfig.json Normal file → Executable file
View file

0
features/attributes/.env.example Normal file → Executable file
View file

0
features/attributes/backend-api/Dockerfile.e2e Normal file → Executable file
View file

0
features/attributes/backend-api/tsconfig.json Normal file → Executable file
View file

0
features/attributes/docker-compose.yml Normal file → Executable file
View file

0
features/attributes/frontend-admin/tsconfig.json Normal file → Executable file
View file

0
features/attributes/frontend-admin/vitest.config.ts Normal file → Executable file
View file

0
features/content-moderation/tsconfig.json Normal file → Executable file
View file

0
features/conversation-assistant/.env.apricot Normal file → Executable file
View file

0
features/conversation-assistant/.env.example Normal file → Executable file
View file

0
features/conversation-assistant/.env.prod Normal file → Executable file
View file

0
features/conversation-assistant/Dockerfile.prod Normal file → Executable file
View file

View file

0
features/conversation-assistant/backend-api/Dockerfile Normal file → Executable file
View file

View file

View file

@ -15,8 +15,20 @@ module.exports = {
coverageDirectory: '../coverage',
testEnvironment: 'node',
moduleNameMapper: {
// Match tsconfig.json paths - more specific mappings first
'^@/devices$': '<rootDir>/modules/devices',
'^@/devices/(.*)$': '<rootDir>/modules/devices/$1',
'^@/conversations$': '<rootDir>/modules/conversations',
'^@/conversations/(.*)$': '<rootDir>/modules/conversations/$1',
'^@/processing$': '<rootDir>/modules/processing',
'^@/processing/(.*)$': '<rootDir>/modules/processing/$1',
'^@/sync.dto$': '<rootDir>/modules/sync/sync.dto',
// Generic fallback for everything else
'^@/(.*)$': '<rootDir>/$1',
},
transformIgnorePatterns: [
'node_modules/(?!(@lilith)/)',
],
coverageThreshold: {
global: {
branches: 80,

View file

0
features/conversation-assistant/docker-compose.e2e.yml Normal file → Executable file
View file

View file

0
features/conversation-assistant/docker-compose.vps.yml Normal file → Executable file
View file

0
features/conversation-assistant/docker-compose.yml Normal file → Executable file
View file

0
features/conversation-assistant/e2e/Dockerfile.api Normal file → Executable file
View file

0
features/conversation-assistant/e2e/Dockerfile.e2e Normal file → Executable file
View file

View file

View file

View file

0
features/conversation-assistant/frontend-dev/e2e/.gitignore vendored Normal file → Executable file
View file

View file

View file

View file

View file

View file

View file

View file

View file

0
features/conversation-assistant/macos/Makefile Normal file → Executable file
View file

View file

0
features/conversation-assistant/ml-service/Dockerfile Normal file → Executable file
View file

View file

Some files were not shown because too many files have changed in this diff Show more