mirror of
https://github.com/hanzo-apps/cms.git
synced 2026-10-30 14:47:33 +00:00
@hanzo/cms-plugin-whitelabel: - brand-by-domain resolution (resolveBrand: longest-suffix match, '*' fallback) - injects logo/icon/title/favicon/og/theme per brand; neutral when unmatched - shared-infra white-label rule (never hardcodes a brand) @hanzo/cms-auth-iam: - hanzoIAMStrategy: verifies Hanzo IAM (Casdoor RS256) tokens via JWKS (jose, no shared secret) - org == tenant: maps IAM 'owner' claim -> tenant, provisions tenant + user, sets payload-tenant cookie - iamAuthFields helper (iamSub unique, iamOrg, username) - IAM = sole identity authority (no separate CMS login) tsconfig paths registered; removed dangling @hanzo/cms-figma enterprise path
25 lines
457 B
Plaintext
25 lines
457 B
Plaintext
{
|
|
"$schema": "https://json.schemastore.org/swcrc",
|
|
"sourceMaps": true,
|
|
"jsc": {
|
|
"target": "esnext",
|
|
"parser": {
|
|
"syntax": "typescript",
|
|
"tsx": true,
|
|
"dts": true
|
|
},
|
|
"transform": {
|
|
"react": {
|
|
"runtime": "automatic",
|
|
"pragmaFrag": "React.Fragment",
|
|
"throwIfNamespace": true,
|
|
"development": false,
|
|
"useBuiltins": true
|
|
}
|
|
}
|
|
},
|
|
"module": {
|
|
"type": "es6"
|
|
}
|
|
}
|