@heswell/vuu-portal 2.0.0 → 2.1.1
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/README.md +8 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -6,11 +6,16 @@ the login response. Requires the [Bun](https://bun.sh) runtime to run the
|
|
|
6
6
|
server. The library exports can be imported under Node.js too.
|
|
7
7
|
|
|
8
8
|
```sh
|
|
9
|
-
npm install @heswell/vuu-portal
|
|
9
|
+
npm install @heswell/vuu-portal @heswell/vuu-server @heswell/vuu-table
|
|
10
10
|
# TypeScript consumers: the vuu-server declarations reference Bun types
|
|
11
11
|
npm install -D @types/bun
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
`@heswell/vuu-server` and `@heswell/vuu-table` are peer dependencies, so the
|
|
15
|
+
portal shares the application's single copy of each. Two copies would mean two
|
|
16
|
+
module registries and failing `instanceof` checks. npm 7+ and bun install
|
|
17
|
+
missing peers automatically.
|
|
18
|
+
|
|
14
19
|
## Entry points
|
|
15
20
|
|
|
16
21
|
| Import / command | Purpose |
|
|
@@ -78,7 +83,7 @@ websocket path, auth mode, CORS origin, Keycloak URL and realm, and module
|
|
|
78
83
|
files (`VUU_HTTPS_PORT`, `VUU_WEBSOCKET_PORT`, `VUU_WEBSOCKET_PATH`,
|
|
79
84
|
`VUU_AUTH_MODE`, `VUU_CORS_ALLOWED_ORIGIN`, `VUU_KEYCLOAK_URL`,
|
|
80
85
|
`VUU_KEYCLOAK_REALM`, `VUU_PORTAL_MODULES_FILE`,
|
|
81
|
-
`VUU_PORTAL_DEFAULT_MODULES_FILE`). See the
|
|
86
|
+
`VUU_PORTAL_DEFAULT_MODULES_FILE`, `VUU_LOG_LEVEL`). See the
|
|
82
87
|
[`@heswell/service-utils` README](../service-utils/README.md#environment-variable-substitution)
|
|
83
88
|
for the syntax.
|
|
84
89
|
|
|
@@ -92,6 +97,7 @@ for the syntax.
|
|
|
92
97
|
| `vuu.portal.defaultModulesFile` | `default-modules.yaml` |
|
|
93
98
|
| `vuu.portal.modulesFile` | `modules.yaml` |
|
|
94
99
|
| `vuu.portal.moduleAdminRole` | `module-admin-access` |
|
|
100
|
+
| `vuu.log.level`, `vuu.log.levels.<logger>` | `info` (or `$VUU_LOG_LEVEL`), see [Logging](../service-utils/README.md#logging) |
|
|
95
101
|
|
|
96
102
|
### Module catalogue
|
|
97
103
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heswell/vuu-portal",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "VUU portal server with remote module discovery",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"author": "heswell",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@heswell/module-admin": "2.0.1"
|
|
30
|
-
"@heswell/vuu-server": "3.1.0",
|
|
31
|
-
"@heswell/vuu-table": "1.0.1"
|
|
29
|
+
"@heswell/module-admin": "^2.0.1"
|
|
32
30
|
},
|
|
33
31
|
"peerDependencies": {
|
|
34
|
-
"@
|
|
32
|
+
"@heswell/vuu-server": "^3.1.0 || ^4.0.0",
|
|
33
|
+
"@heswell/vuu-table": "^1.0.1",
|
|
34
|
+
"@vuu-ui/vuu-protocol-types": "^4.0.0-alpha.20"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|