chore(src): 🔧 Update test fixture (real-auth-fixture.ts) and documentation files
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
466d6a968a
commit
3400f623b2
3 changed files with 29 additions and 1 deletions
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
|
|
|
|||
4
features/sso/backend-api/tsconfig.build.json
Normal file
4
features/sso/backend-api/tsconfig.build.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"exclude": ["node_modules", "dist", "test", "**/*.spec.ts", "**/*.test.ts", "e2e"]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue