@uns-kit/cli 0.0.50 → 0.0.51
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uns-kit/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.51",
|
|
4
4
|
"description": "Command line scaffolding tool for UNS applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,7 +26,7 @@
|
|
|
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.15"
|
|
30
30
|
},
|
|
31
31
|
"unsKitPackages": {
|
|
32
32
|
"@uns-kit/core": "0.0.36",
|
|
@@ -2,10 +2,17 @@
|
|
|
2
2
|
* Change this file according to your specifications and rename it to index.ts
|
|
3
3
|
*/
|
|
4
4
|
import { UnsProxyProcess, ConfigFile, logger } from "@uns-kit/core";
|
|
5
|
+
import { registerAttributeDescriptions, registerObjectTypeDescriptions } from "@uns-kit/core/uns/uns-dictionary-registry.js";
|
|
5
6
|
import { GeneratedPhysicalMeasurements } from "../uns/uns-measurements.generated.js";
|
|
6
7
|
import { UnsPacket } from "@uns-kit/core/uns/uns-packet.js";
|
|
7
8
|
import { UnsTopics } from "@uns-kit/core/uns/uns-topics.js";
|
|
8
|
-
import {
|
|
9
|
+
import {
|
|
10
|
+
GeneratedObjectTypes,
|
|
11
|
+
GeneratedAttributes,
|
|
12
|
+
GeneratedAttributesByType,
|
|
13
|
+
GeneratedAttributeDescriptions,
|
|
14
|
+
GeneratedObjectTypeDescriptions,
|
|
15
|
+
} from "../uns/uns-dictionary.generated.js";
|
|
9
16
|
|
|
10
17
|
/**
|
|
11
18
|
* Load the configuration from a file.
|
|
@@ -13,6 +20,8 @@ import { GeneratedObjectTypes, GeneratedAttributes, GeneratedAttributesByType }
|
|
|
13
20
|
* In the development environment, you are responsible for creating and maintaining this file and its contents.
|
|
14
21
|
*/
|
|
15
22
|
const config = await ConfigFile.loadConfig();
|
|
23
|
+
registerObjectTypeDescriptions(GeneratedObjectTypeDescriptions);
|
|
24
|
+
registerAttributeDescriptions(GeneratedAttributeDescriptions);
|
|
16
25
|
|
|
17
26
|
/**
|
|
18
27
|
* Connect to input and output brokers
|