@uns-kit/cli 0.0.58 → 0.0.60
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
CHANGED
|
@@ -2,17 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Command line scaffolding tool for the UNS toolkit. It bootstraps a new project with `@uns-kit/core` preconfigured and ready to extend with additional plugins.
|
|
4
4
|
|
|
5
|
+
Note: Apps built with uns-kit are intended to be managed by the **UNS Datahub controller**.
|
|
6
|
+
|
|
5
7
|
## uns-kit in context
|
|
6
8
|
|
|
7
9
|
uns-kit is a batteries-included toolkit for Unified Namespace applications. It standardizes MQTT wiring, auth, config schemas, and scaffolding so you can focus on your domain logic. The toolkit packages are:
|
|
8
10
|
|
|
9
11
|
| Package | Description |
|
|
10
12
|
| --- | --- |
|
|
11
|
-
| [`@uns-kit/core`](https://
|
|
12
|
-
| [`@uns-kit/api`](https://
|
|
13
|
-
| [`@uns-kit/cron`](https://
|
|
14
|
-
| [`@uns-kit/temporal`](https://
|
|
15
|
-
| [`@uns-kit/cli`](https://
|
|
13
|
+
| [`@uns-kit/core`](https://github.com/uns-datahub/uns-kit/tree/main/packages/uns-core) | Base runtime utilities (UnsProxyProcess, MQTT helpers, configuration tooling, gRPC gateway support). |
|
|
14
|
+
| [`@uns-kit/api`](https://github.com/uns-datahub/uns-kit/tree/main/packages/uns-api) | Express plugin that exposes HTTP endpoints, handles JWT/JWKS auth, and republishes API metadata to UNS. |
|
|
15
|
+
| [`@uns-kit/cron`](https://github.com/uns-datahub/uns-kit/tree/main/packages/uns-cron) | Cron-driven scheduler that emits UNS events on a fixed cadence. |
|
|
16
|
+
| [`@uns-kit/temporal`](https://github.com/uns-datahub/uns-kit/tree/main/packages/uns-temporal) | Temporal.io integration that wires workflows into UnsProxyProcess. |
|
|
17
|
+
| [`@uns-kit/cli`](https://github.com/uns-datahub/uns-kit/tree/main/packages/uns-cli) | Command line tool for scaffolding new UNS applications. |
|
|
16
18
|
|
|
17
19
|
## Prerequisites
|
|
18
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uns-kit/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.60",
|
|
4
4
|
"description": "Command line scaffolding tool for UNS applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"azure-devops-node-api": "^15.1.1",
|
|
29
|
-
"@uns-kit/core": "1.0.
|
|
29
|
+
"@uns-kit/core": "1.0.24"
|
|
30
30
|
},
|
|
31
31
|
"unsKitPackages": {
|
|
32
|
-
"@uns-kit/core": "1.0.
|
|
32
|
+
"@uns-kit/core": "1.0.24",
|
|
33
33
|
"@uns-kit/api": "0.0.19",
|
|
34
34
|
"@uns-kit/cron": "0.0.18",
|
|
35
35
|
"@uns-kit/temporal": "0.0.18"
|
|
@@ -126,12 +126,33 @@
|
|
|
126
126
|
"attributes": [
|
|
127
127
|
"power",
|
|
128
128
|
"energy",
|
|
129
|
+
"active-energy-delivered",
|
|
130
|
+
"active-energy-received",
|
|
131
|
+
"reactive-energy-delivered",
|
|
132
|
+
"reactive-energy-received",
|
|
129
133
|
"voltage",
|
|
130
134
|
"current",
|
|
131
135
|
"frequency",
|
|
132
136
|
"cost"
|
|
133
137
|
]
|
|
134
138
|
},
|
|
139
|
+
"energy-meter": {
|
|
140
|
+
"description": "Merilno mesto za aktivno/jalovo energijo in moč.",
|
|
141
|
+
"descriptions": {
|
|
142
|
+
"sl": "Merilno mesto za aktivno/jalovo energijo in moč.",
|
|
143
|
+
"en": "Energy meter / measurement point for active/reactive energy and power."
|
|
144
|
+
},
|
|
145
|
+
"attributes": [
|
|
146
|
+
"power",
|
|
147
|
+
"active-energy-delivered",
|
|
148
|
+
"active-energy-received",
|
|
149
|
+
"reactive-energy-delivered",
|
|
150
|
+
"reactive-energy-received",
|
|
151
|
+
"voltage",
|
|
152
|
+
"current",
|
|
153
|
+
"frequency"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
135
156
|
"utility-resource": {
|
|
136
157
|
"description": "Utility viri (voda, zrak, dušik, stisnjeni plini).",
|
|
137
158
|
"descriptions": {
|
|
@@ -492,6 +513,34 @@
|
|
|
492
513
|
"en": "Energy."
|
|
493
514
|
}
|
|
494
515
|
},
|
|
516
|
+
"active-energy-delivered": {
|
|
517
|
+
"description": "Oddana delovna energija (izvoz).",
|
|
518
|
+
"descriptions": {
|
|
519
|
+
"sl": "Oddana delovna energija (izvoz).",
|
|
520
|
+
"en": "Active energy delivered (exported)."
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
"active-energy-received": {
|
|
524
|
+
"description": "Prejeta delovna energija (uvoz).",
|
|
525
|
+
"descriptions": {
|
|
526
|
+
"sl": "Prejeta delovna energija (uvoz).",
|
|
527
|
+
"en": "Active energy received (imported)."
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"reactive-energy-delivered": {
|
|
531
|
+
"description": "Oddana jalova energija (izvoz).",
|
|
532
|
+
"descriptions": {
|
|
533
|
+
"sl": "Oddana jalova energija (izvoz).",
|
|
534
|
+
"en": "Reactive energy delivered (exported)."
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"reactive-energy-received": {
|
|
538
|
+
"description": "Prejeta jalova energija (uvoz).",
|
|
539
|
+
"descriptions": {
|
|
540
|
+
"sl": "Prejeta jalova energija (uvoz).",
|
|
541
|
+
"en": "Reactive energy received (imported)."
|
|
542
|
+
}
|
|
543
|
+
},
|
|
495
544
|
"voltage": {
|
|
496
545
|
"description": "Napetost.",
|
|
497
546
|
"descriptions": {
|