@portaidentity/admin-gui 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +83 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.svg +22 -0
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@portaidentity/admin-gui",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Standalone Admin GUI for Porta Identity — React SPA + Koa BFF",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"bin": {
|
|
15
|
+
"porta-gui": "dist/bin.js"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist/",
|
|
19
|
+
"public/"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "yarn build:client && yarn build:server",
|
|
23
|
+
"build:client": "vite build",
|
|
24
|
+
"build:server": "tsc --project tsconfig.json",
|
|
25
|
+
"dev": "concurrently \"yarn dev:server\" \"yarn dev:client\"",
|
|
26
|
+
"dev:server": "tsx watch src/index.ts --server https://porta.local:3443 --port 4003 --public-port 4002 --insecure --no-open",
|
|
27
|
+
"dev:client": "vite",
|
|
28
|
+
"test": "vitest run",
|
|
29
|
+
"test:watch": "vitest",
|
|
30
|
+
"lint": "eslint 'src/**/*.{ts,tsx}' 'tests/**/*.ts'",
|
|
31
|
+
"verify": "yarn lint && yarn build && yarn test",
|
|
32
|
+
"clean": "rm -rf dist"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=22.0.0"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@fluentui/react-components": "^9.73.8",
|
|
39
|
+
"@fluentui/react-icons": "^2.0.325",
|
|
40
|
+
"@koa/router": "15.5.0",
|
|
41
|
+
"chalk": "^5.6.2",
|
|
42
|
+
"koa": "3.2.0",
|
|
43
|
+
"koa-bodyparser": "4.4.1",
|
|
44
|
+
"koa-mount": "^4.2.0",
|
|
45
|
+
"koa-static": "^5.0.0",
|
|
46
|
+
"open": "^11.0.0",
|
|
47
|
+
"openid-client": "^6.8.4",
|
|
48
|
+
"react": "^19.2.6",
|
|
49
|
+
"react-dom": "^19.2.6"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@types/koa": "3.0.2",
|
|
53
|
+
"@types/koa-bodyparser": "4.3.13",
|
|
54
|
+
"@types/koa-mount": "^4.0.5",
|
|
55
|
+
"@types/koa-static": "^4.0.4",
|
|
56
|
+
"@types/koa__router": "12.0.5",
|
|
57
|
+
"@types/react": "^19.2.14",
|
|
58
|
+
"@types/react-dom": "^19.2.3",
|
|
59
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
60
|
+
"concurrently": "^9.2.1",
|
|
61
|
+
"tsx": "^4.21.0",
|
|
62
|
+
"typescript": "^6.0.3",
|
|
63
|
+
"vite": "^8.0.11",
|
|
64
|
+
"vitest": "^4.1.5"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@portaidentity/sdk": ">=0.1.0"
|
|
68
|
+
},
|
|
69
|
+
"peerDependenciesMeta": {
|
|
70
|
+
"@portaidentity/sdk": {
|
|
71
|
+
"optional": true
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"publishConfig": {
|
|
75
|
+
"access": "public"
|
|
76
|
+
},
|
|
77
|
+
"repository": {
|
|
78
|
+
"type": "git",
|
|
79
|
+
"url": "https://github.com/blendsdk/porta-identity.git",
|
|
80
|
+
"directory": "packages/porta-admin-gui"
|
|
81
|
+
},
|
|
82
|
+
"license": "MIT"
|
|
83
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" fill="none">
|
|
2
|
+
<!-- Porta Identity logo: shield with keyhole -->
|
|
3
|
+
<!-- Shield outline -->
|
|
4
|
+
<path d="M64 8 L112 32 L112 72 C112 96 90 116 64 124 C38 116 16 96 16 72 L16 32 Z"
|
|
5
|
+
fill="url(#shield-gradient)" stroke="#1a1a2e" stroke-width="2"/>
|
|
6
|
+
<!-- Keyhole circle -->
|
|
7
|
+
<circle cx="64" cy="56" r="16" fill="#1a1a2e"/>
|
|
8
|
+
<!-- Keyhole body -->
|
|
9
|
+
<path d="M56 64 L52 88 L76 88 L72 64 Z" fill="#1a1a2e"/>
|
|
10
|
+
<!-- Inner highlight -->
|
|
11
|
+
<circle cx="64" cy="56" r="8" fill="url(#key-gradient)"/>
|
|
12
|
+
<defs>
|
|
13
|
+
<linearGradient id="shield-gradient" x1="16" y1="8" x2="112" y2="124" gradientUnits="userSpaceOnUse">
|
|
14
|
+
<stop offset="0%" stop-color="#646cff"/>
|
|
15
|
+
<stop offset="100%" stop-color="#42b883"/>
|
|
16
|
+
</linearGradient>
|
|
17
|
+
<linearGradient id="key-gradient" x1="56" y1="48" x2="72" y2="64" gradientUnits="userSpaceOnUse">
|
|
18
|
+
<stop offset="0%" stop-color="#646cff"/>
|
|
19
|
+
<stop offset="100%" stop-color="#42b883"/>
|
|
20
|
+
</linearGradient>
|
|
21
|
+
</defs>
|
|
22
|
+
</svg>
|