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:
42
apps/compliance-portal/package.json
Normal file
42
apps/compliance-portal/package.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"name": "@probo/compliance-portal",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite --port 5175",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "eslint . --concurrency 2",
|
||||
"check": "tsc --noEmit -p tsconfig.app.json",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@probo/ui": "1.0.0",
|
||||
"clsx": "^2.1.1",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-relay": "^21.0.1",
|
||||
"react-router": "^8.0.0",
|
||||
"relay-runtime": "^21.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@probo/eslint-config": "1.0.0",
|
||||
"@probo/eslint-plugin-relay-types": "^1.0.0",
|
||||
"@tailwindcss/vite": "^4.3.1",
|
||||
"@types/node": "^25.9.3",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@types/react-relay": "^18.2.1",
|
||||
"@types/relay-runtime": "^20.1.1",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"babel-plugin-relay": "^21.0.1",
|
||||
"eslint": "^10.5.0",
|
||||
"graphql": "^17.0.1",
|
||||
"tailwindcss": "^4.3.1",
|
||||
"typescript": "~6.0.3",
|
||||
"vite": "^8.0.16"
|
||||
},
|
||||
"volta": {
|
||||
"node": "24.4.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user