Files
zeekay 7543a81c3c feat: Hanzo binding packages — @hanzo/cms-plugin-whitelabel + @hanzo/cms-auth-iam
@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
2026-07-01 18:03:43 -07:00

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"
}
}