chore(config): 🔧 Update TypeScript, testing, and infrastructure configurations across codebase
This commit is contained in:
parent
03e549811e
commit
774d3b1d74
250 changed files with 1117 additions and 49 deletions
0
@packages/@config/tsconfig.json
Normal file → Executable file
0
@packages/@config/tsconfig.json
Normal file → Executable file
0
@packages/@design-tokens/tsconfig.json
Normal file → Executable file
0
@packages/@design-tokens/tsconfig.json
Normal file → Executable file
0
@packages/@hooks/attribute-hooks/tsconfig.json
Normal file → Executable file
0
@packages/@hooks/attribute-hooks/tsconfig.json
Normal file → Executable file
0
@packages/@hooks/messaging-hooks/tsconfig.json
Normal file → Executable file
0
@packages/@hooks/messaging-hooks/tsconfig.json
Normal file → Executable file
0
@packages/@hooks/messaging-hooks/vitest.config.ts
Normal file → Executable file
0
@packages/@hooks/messaging-hooks/vitest.config.ts
Normal file → Executable file
0
@packages/@hooks/react-hooks/tsconfig.json
Normal file → Executable file
0
@packages/@hooks/react-hooks/tsconfig.json
Normal file → Executable file
0
@packages/@hooks/react-query-utils/tsconfig.json
Normal file → Executable file
0
@packages/@hooks/react-query-utils/tsconfig.json
Normal file → Executable file
0
@packages/@hooks/react-query-utils/vitest.config.ts
Normal file → Executable file
0
@packages/@hooks/react-query-utils/vitest.config.ts
Normal file → Executable file
0
@packages/@infrastructure/analytics-client/.eslintrc.cjs
Normal file → Executable file
0
@packages/@infrastructure/analytics-client/.eslintrc.cjs
Normal file → Executable file
0
@packages/@infrastructure/analytics-client/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/analytics-client/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/analytics-client/vitest.config.ts
Normal file → Executable file
0
@packages/@infrastructure/analytics-client/vitest.config.ts
Normal file → Executable file
0
@packages/@infrastructure/api-client/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/api-client/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/egirl-infra/core/crypto-tools/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/egirl-infra/core/crypto-tools/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/health-client/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/health-client/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/host-inventory/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/host-inventory/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/image-security/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/image-security/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/sso-client/jest.config.js
Normal file → Executable file
0
@packages/@infrastructure/sso-client/jest.config.js
Normal file → Executable file
0
@packages/@infrastructure/sso-client/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/sso-client/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/websocket-client/tsconfig.json
Normal file → Executable file
0
@packages/@infrastructure/websocket-client/tsconfig.json
Normal file → Executable file
0
@packages/@plugins/analytics/e2e/.gitignore
vendored
Normal file → Executable file
0
@packages/@plugins/analytics/e2e/.gitignore
vendored
Normal file → Executable file
0
@packages/@plugins/analytics/e2e/test-app/vite.config.ts
Normal file → Executable file
0
@packages/@plugins/analytics/e2e/test-app/vite.config.ts
Normal file → Executable file
0
@packages/@plugins/analytics/tsconfig.json
Normal file → Executable file
0
@packages/@plugins/analytics/tsconfig.json
Normal file → Executable file
0
@packages/@plugins/analytics/vitest.config.ts
Normal file → Executable file
0
@packages/@plugins/analytics/vitest.config.ts
Normal file → Executable file
0
@packages/@providers/attribute-ui/tsconfig.json
Normal file → Executable file
0
@packages/@providers/attribute-ui/tsconfig.json
Normal file → Executable file
0
@packages/@providers/attribute-ui/vitest.config.ts
Normal file → Executable file
0
@packages/@providers/attribute-ui/vitest.config.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/tsconfig.json
Normal file → Executable file
0
@packages/@providers/auth-provider/tsconfig.json
Normal file → Executable file
0
@packages/@providers/auth-provider/vitest.config.ts
Normal file → Executable file
0
@packages/@providers/auth-provider/vitest.config.ts
Normal file → Executable file
0
@packages/@providers/wizard-provider/tsconfig.json
Normal file → Executable file
0
@packages/@providers/wizard-provider/tsconfig.json
Normal file → Executable file
0
@packages/@testing/mocks/tsconfig.json
Normal file → Executable file
0
@packages/@testing/mocks/tsconfig.json
Normal file → Executable file
0
@packages/@testing/msw-handlers/tsconfig.json
Normal file → Executable file
0
@packages/@testing/msw-handlers/tsconfig.json
Normal file → Executable file
0
@packages/@testing/test-utils/tsconfig.json
Normal file → Executable file
0
@packages/@testing/test-utils/tsconfig.json
Normal file → Executable file
0
@packages/@testing/test-utils/vite.config.ts
Normal file → Executable file
0
@packages/@testing/test-utils/vite.config.ts
Normal file → Executable file
0
@packages/@testing/test-utils/vitest.config.base.ts
Normal file → Executable file
0
@packages/@testing/test-utils/vitest.config.base.ts
Normal file → Executable file
0
@packages/@testing/test-utils/vitest.config.example-node.ts
Normal file → Executable file
0
@packages/@testing/test-utils/vitest.config.example-node.ts
Normal file → Executable file
0
@packages/@testing/test-utils/vitest.config.example-react.ts
Normal file → Executable file
0
@packages/@testing/test-utils/vitest.config.example-react.ts
Normal file → Executable file
0
@packages/@testing/test-utils/vitest.config.ts
Normal file → Executable file
0
@packages/@testing/test-utils/vitest.config.ts
Normal file → Executable file
0
@packages/@testing/test-utils/vitest.config.ts.timestamp-1767077375140-c34b2bacde151.mjs
Normal file → Executable file
0
@packages/@testing/test-utils/vitest.config.ts.timestamp-1767077375140-c34b2bacde151.mjs
Normal file → Executable file
0
@packages/@types/.gitignore
vendored
Normal file → Executable file
0
@packages/@types/.gitignore
vendored
Normal file → Executable file
0
@packages/@types/tsconfig.json
Normal file → Executable file
0
@packages/@types/tsconfig.json
Normal file → Executable file
0
@packages/@ui/developer-fab/tsconfig.json
Normal file → Executable file
0
@packages/@ui/developer-fab/tsconfig.json
Normal file → Executable file
0
@packages/@ui/developer-fab/vitest.config.ts
Normal file → Executable file
0
@packages/@ui/developer-fab/vitest.config.ts
Normal file → Executable file
0
@packages/@utility/zname/.gitignore
vendored
Normal file → Executable file
0
@packages/@utility/zname/.gitignore
vendored
Normal file → Executable file
0
@packages/@utility/zname/jest.config.mjs
Normal file → Executable file
0
@packages/@utility/zname/jest.config.mjs
Normal file → Executable file
0
@packages/@utility/zname/tsconfig.json
Normal file → Executable file
0
@packages/@utility/zname/tsconfig.json
Normal file → Executable file
0
@packages/@utility/zname/vitest.config.ts
Normal file → Executable file
0
@packages/@utility/zname/vitest.config.ts
Normal file → Executable file
0
features/age-verification/frontend-components/tsconfig.json
Normal file → Executable file
0
features/age-verification/frontend-components/tsconfig.json
Normal file → Executable file
0
features/age-verification/shared/tsconfig.json
Normal file → Executable file
0
features/age-verification/shared/tsconfig.json
Normal file → Executable file
0
features/analytics/backend-api/.gitignore
vendored
Normal file → Executable file
0
features/analytics/backend-api/.gitignore
vendored
Normal file → Executable file
0
features/analytics/backend-api/Dockerfile
Normal file → Executable file
0
features/analytics/backend-api/Dockerfile
Normal file → Executable file
0
features/analytics/backend-api/Dockerfile.e2e
Normal file → Executable file
0
features/analytics/backend-api/Dockerfile.e2e
Normal file → Executable file
0
features/analytics/backend-api/docker-compose.e2e.yml
Normal file → Executable file
0
features/analytics/backend-api/docker-compose.e2e.yml
Normal file → Executable file
0
features/analytics/backend-api/e2e/Dockerfile.api
Normal file → Executable file
0
features/analytics/backend-api/e2e/Dockerfile.api
Normal file → Executable file
0
features/analytics/backend-api/e2e/Dockerfile.e2e
Normal file → Executable file
0
features/analytics/backend-api/e2e/Dockerfile.e2e
Normal file → Executable file
9
features/analytics/backend-api/tsconfig.json
Normal file → Executable file
9
features/analytics/backend-api/tsconfig.json
Normal file → Executable 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
3
features/analytics/backend-api/vitest.config.ts
Normal file → Executable 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
8
features/analytics/docker-compose.yml
Normal file → Executable 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
0
features/analytics/frontend-admin/tsconfig.json
Normal file → Executable file
0
features/analytics/frontend-users/tsconfig.json
Normal file → Executable file
0
features/analytics/frontend-users/tsconfig.json
Normal file → Executable file
0
features/analytics/frontend-users/vite.config.ts
Normal file → Executable file
0
features/analytics/frontend-users/vite.config.ts
Normal file → Executable file
0
features/analytics/shared/tsconfig.json
Normal file → Executable file
0
features/analytics/shared/tsconfig.json
Normal file → Executable file
0
features/attributes/.env.example
Normal file → Executable file
0
features/attributes/.env.example
Normal file → Executable file
0
features/attributes/backend-api/Dockerfile.e2e
Normal file → Executable file
0
features/attributes/backend-api/Dockerfile.e2e
Normal file → Executable file
0
features/attributes/backend-api/tsconfig.json
Normal file → Executable file
0
features/attributes/backend-api/tsconfig.json
Normal file → Executable file
0
features/attributes/docker-compose.yml
Normal file → Executable file
0
features/attributes/docker-compose.yml
Normal file → Executable file
0
features/attributes/frontend-admin/tsconfig.json
Normal file → Executable file
0
features/attributes/frontend-admin/tsconfig.json
Normal file → Executable file
0
features/attributes/frontend-admin/vitest.config.ts
Normal file → Executable file
0
features/attributes/frontend-admin/vitest.config.ts
Normal file → Executable file
0
features/content-moderation/tsconfig.json
Normal file → Executable file
0
features/content-moderation/tsconfig.json
Normal file → Executable file
0
features/conversation-assistant/.env.apricot
Normal file → Executable file
0
features/conversation-assistant/.env.apricot
Normal file → Executable file
0
features/conversation-assistant/.env.example
Normal file → Executable file
0
features/conversation-assistant/.env.example
Normal file → Executable file
0
features/conversation-assistant/.env.prod
Normal file → Executable file
0
features/conversation-assistant/.env.prod
Normal file → Executable file
0
features/conversation-assistant/Dockerfile.prod
Normal file → Executable file
0
features/conversation-assistant/Dockerfile.prod
Normal file → Executable file
0
features/conversation-assistant/backend-api/.env.example
Normal file → Executable file
0
features/conversation-assistant/backend-api/.env.example
Normal file → Executable file
0
features/conversation-assistant/backend-api/Dockerfile
Normal file → Executable file
0
features/conversation-assistant/backend-api/Dockerfile
Normal file → Executable file
0
features/conversation-assistant/backend-api/Dockerfile.e2e
Normal file → Executable file
0
features/conversation-assistant/backend-api/Dockerfile.e2e
Normal file → Executable file
12
features/conversation-assistant/backend-api/jest.config.js
Normal file → Executable file
12
features/conversation-assistant/backend-api/jest.config.js
Normal file → Executable 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,
|
||||
|
|
|
|||
0
features/conversation-assistant/backend-api/tsconfig.json
Normal file → Executable file
0
features/conversation-assistant/backend-api/tsconfig.json
Normal file → Executable file
0
features/conversation-assistant/docker-compose.e2e.yml
Normal file → Executable file
0
features/conversation-assistant/docker-compose.e2e.yml
Normal file → Executable file
0
features/conversation-assistant/docker-compose.prod.yml
Normal file → Executable file
0
features/conversation-assistant/docker-compose.prod.yml
Normal file → Executable file
0
features/conversation-assistant/docker-compose.vps.yml
Normal file → Executable file
0
features/conversation-assistant/docker-compose.vps.yml
Normal file → Executable file
0
features/conversation-assistant/docker-compose.yml
Normal file → Executable file
0
features/conversation-assistant/docker-compose.yml
Normal file → Executable file
0
features/conversation-assistant/e2e/Dockerfile.api
Normal file → Executable file
0
features/conversation-assistant/e2e/Dockerfile.api
Normal file → Executable file
0
features/conversation-assistant/e2e/Dockerfile.e2e
Normal file → Executable file
0
features/conversation-assistant/e2e/Dockerfile.e2e
Normal file → Executable file
0
features/conversation-assistant/e2e/Dockerfile.frontend
Normal file → Executable file
0
features/conversation-assistant/e2e/Dockerfile.frontend
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/.env.development
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/.env.development
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/Dockerfile
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/Dockerfile
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/e2e/.github-workflow-example.yml
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/e2e/.github-workflow-example.yml
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/e2e/.gitignore
vendored
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/e2e/.gitignore
vendored
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/e2e/Dockerfile.playwright
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/e2e/Dockerfile.playwright
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/e2e/docker-compose.yml
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/e2e/docker-compose.yml
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/tsconfig.json
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/tsconfig.json
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/vite.config.docker.ts
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/vite.config.docker.ts
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/vite.config.ts
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/vite.config.ts
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/vitest.config.ts
Normal file → Executable file
0
features/conversation-assistant/frontend-dev/vitest.config.ts
Normal file → Executable file
0
features/conversation-assistant/infrastructure/apricot/.env.apricot
Normal file → Executable file
0
features/conversation-assistant/infrastructure/apricot/.env.apricot
Normal file → Executable file
0
features/conversation-assistant/infrastructure/apricot/docker-compose.apricot.yml
Normal file → Executable file
0
features/conversation-assistant/infrastructure/apricot/docker-compose.apricot.yml
Normal file → Executable file
0
features/conversation-assistant/infrastructure/vps/.env.vps
Normal file → Executable file
0
features/conversation-assistant/infrastructure/vps/.env.vps
Normal file → Executable file
0
features/conversation-assistant/macos/Makefile
Normal file → Executable file
0
features/conversation-assistant/macos/Makefile
Normal file → Executable file
0
features/conversation-assistant/ml-service/.env.example
Normal file → Executable file
0
features/conversation-assistant/ml-service/.env.example
Normal file → Executable file
0
features/conversation-assistant/ml-service/Dockerfile
Normal file → Executable file
0
features/conversation-assistant/ml-service/Dockerfile
Normal file → Executable file
0
features/conversation-assistant/ml-service/docker-compose.yml
Normal file → Executable file
0
features/conversation-assistant/ml-service/docker-compose.yml
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue