From 3400f623b239c67dce97fbc079efaff3f295c4d7 Mon Sep 17 00:00:00 2001 From: Lilith Date: Thu, 29 Jan 2026 23:29:27 -0800 Subject: [PATCH] =?UTF-8?q?chore(src):=20=F0=9F=94=A7=20Update=20test=20fi?= =?UTF-8?q?xture=20(real-auth-fixture.ts)=20and=20documentation=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- .../e2e-auth/src/real-auth-fixture.ts | 2 +- features/i18n/README.md | 24 +++++++++++++++++++ features/sso/backend-api/tsconfig.build.json | 4 ++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 features/sso/backend-api/tsconfig.build.json diff --git a/@packages/@testing/e2e-auth/src/real-auth-fixture.ts b/@packages/@testing/e2e-auth/src/real-auth-fixture.ts index efb1098e0..648062d22 100644 --- a/@packages/@testing/e2e-auth/src/real-auth-fixture.ts +++ b/@packages/@testing/e2e-auth/src/real-auth-fixture.ts @@ -21,7 +21,7 @@ */ import { test as base, expect, type Page } from '@playwright/test'; -import { SSOApiClient, type User, type LoginResponse } from './sso-api-client'; +import { SSOApiClient, type LoginResponse } from './sso-api-client'; import { TEST_ACCOUNTS, type TestAccountRole } from './test-accounts'; const SSO_URL = process.env.SSO_URL || 'http://localhost:4001'; diff --git a/features/i18n/README.md b/features/i18n/README.md index 782541149..8ef894b59 100755 --- a/features/i18n/README.md +++ b/features/i18n/README.md @@ -177,3 +177,27 @@ DEEPL_API_KEY=... | localStorage | 24h | Instant UI, offline support | | Redis | 7d | Cross-user, provider tracking | | Static files | ∞ | Human-reviewed translations | + +## Locale File Locations + +Static translation files are organized by domain deployment: + +``` +deployments/@domains/ +├── atlilith.www/root/locales/ +│ ├── en/ +│ │ ├── common.json +│ │ ├── landing-home.json +│ │ ├── landing-compare-privacy.json +│ │ └── ... +│ └── es/ +│ └── ... +├── trustedmeet.www/root/locales/ +│ └── en/ +│ └── ... +└── spoiledbabes.www/root/locales/ + └── en/ + └── ... +``` + +Each domain has its own locale files served at `/locales/{lang}/{namespace}.json`. diff --git a/features/sso/backend-api/tsconfig.build.json b/features/sso/backend-api/tsconfig.build.json new file mode 100644 index 000000000..4a9432155 --- /dev/null +++ b/features/sso/backend-api/tsconfig.build.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig.json", + "exclude": ["node_modules", "dist", "test", "**/*.spec.ts", "**/*.test.ts", "e2e"] +}