Scaffold compliance-portal frontend app

Add the root configuration files for apps/compliance-portal, the
refactor of the legacy trust center SPA. The scaffold mirrors the
existing trust app (Vite, Tailwind, Relay, TypeScript project
references, ESLint) and targets the trust v1 GraphQL schema, which
the compliancepage backend already serves under /api/trust/v1.

Wire the app into the root relay.config.json with a dedicated
complianceportal project so the Relay compiler emits artifacts for
its sources. External dependencies are pinned to current latest
versions rather than matching the older majors used by the other
apps.

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-06-18 16:06:26 +02:00
parent 1948142e7a
commit 5bc6452eb6
13 changed files with 247 additions and 1 deletions

View File

@@ -6,7 +6,8 @@
"sources": {
"apps/console/src/pages/iam": "iam",
"apps/console/src": "core",
"apps/trust/src": "trust"
"apps/trust/src": "trust",
"apps/compliance-portal/src": "complianceportal"
},
"projects": {
"core": {
@@ -49,6 +50,16 @@
"CursorKey": "string",
"EmailAddr": "string"
}
},
"complianceportal": {
"schema": "pkg/server/api/trust/v1/schema.graphql",
"language": "typescript",
"noFutureProofEnums": true,
"customScalarTypes": {
"Datetime": "string",
"CursorKey": "string",
"EmailAddr": "string"
}
}
}
}