@c8y/devkit 1023.70.0 → 1023.75.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.
|
@@ -14,10 +14,15 @@ function agentToJsonLoader(source) {
|
|
|
14
14
|
}
|
|
15
15
|
const { config } = ts.readConfigFile(configPath, ts.sys.readFile);
|
|
16
16
|
const parsed = ts.parseJsonConfigFileContent(config, ts.sys, path.dirname(configPath));
|
|
17
|
+
// TS 5.6+ respects .mjs extension and refuses to emit CommonJS for it.
|
|
18
|
+
// Override with .ts so transpile always produces CommonJS output.
|
|
19
|
+
const transpileFileName = filePath.endsWith('.mjs')
|
|
20
|
+
? filePath.replace(/\.mjs$/, '.ts')
|
|
21
|
+
: filePath;
|
|
17
22
|
const jsOutputText = ts.transpile(source, {
|
|
18
23
|
...parsed.options,
|
|
19
24
|
module: ts.ModuleKind.CommonJS
|
|
20
|
-
},
|
|
25
|
+
}, transpileFileName);
|
|
21
26
|
try {
|
|
22
27
|
const moduleObj = { exports: {} };
|
|
23
28
|
const exportsObj = moduleObj.exports;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-to-json-loader.js","sourceRoot":"","sources":["../../../../src/webpack/loaders/agent-to-json-loader.ts"],"names":[],"mappings":";;AAIA,
|
|
1
|
+
{"version":3,"file":"agent-to-json-loader.js","sourceRoot":"","sources":["../../../../src/webpack/loaders/agent-to-json-loader.ts"],"names":[],"mappings":";;AAIA,oCAqDC;AAzDD,iCAAiC;AACjC,6BAA6B;AAG7B,SAAwB,iBAAiB,CAA8B,MAAc;IACnF,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;IAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC;IAEnC,+CAA+C;IAC/C,MAAM,UAAU,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;IAC/E,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,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,OAAO,CAAC;QAC5F,MAAM,SAAS,GAAG,SAAS,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;QACnE,MAAM,cAAc,GAAG,UAAU,SAAS,OAAO,CAAC;QAClD,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAClE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACzB,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,WAAW,CACd,IAAI,KAAK,CACP;;iBAEU,GAAa,CAAC,OAAO,EAAE,CAClC,CACF,CAAC;QACF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -64,7 +64,7 @@ export declare class CumulocityPlugin {
|
|
|
64
64
|
upgrade?: boolean | undefined;
|
|
65
65
|
enableAllPreviewFeatures?: boolean | undefined;
|
|
66
66
|
hidePreviewFeature?: boolean | undefined;
|
|
67
|
-
dynamicOptionsUrl?:
|
|
67
|
+
dynamicOptionsUrl?: string | boolean | undefined;
|
|
68
68
|
faviconUrl?: string | undefined;
|
|
69
69
|
brandingUrl?: string | undefined;
|
|
70
70
|
brandingPreview?: boolean | undefined;
|
|
@@ -80,7 +80,7 @@ export declare class CumulocityPlugin {
|
|
|
80
80
|
hidePowered?: boolean | undefined;
|
|
81
81
|
hideHeader?: boolean | undefined;
|
|
82
82
|
hidePlatformInformation?: boolean | undefined;
|
|
83
|
-
supportUrl?:
|
|
83
|
+
supportUrl?: boolean | string | undefined;
|
|
84
84
|
supportUserString?: string | undefined;
|
|
85
85
|
mapWidgetRealtimeDisabled?: boolean | undefined;
|
|
86
86
|
mapWidgetPageSize?: number | undefined;
|
|
@@ -106,14 +106,14 @@ export declare class CumulocityPlugin {
|
|
|
106
106
|
remotes?: import("@c8y/options").RemotePlugins | undefined;
|
|
107
107
|
forceUrlRemotes?: boolean | undefined;
|
|
108
108
|
isPackage?: boolean | undefined;
|
|
109
|
-
package?:
|
|
109
|
+
package?: "plugin" | "blueprint" | undefined;
|
|
110
110
|
blueprintDeploymentOptions?: {
|
|
111
111
|
name?: string;
|
|
112
112
|
contextPath?: string;
|
|
113
113
|
key?: string;
|
|
114
114
|
} | undefined;
|
|
115
115
|
source?: (string | number | import("packages/client/lib").IApplication) | undefined;
|
|
116
|
-
contextHelp?:
|
|
116
|
+
contextHelp?: boolean | string | undefined;
|
|
117
117
|
disableOnlyRootsQuery?: boolean | undefined;
|
|
118
118
|
forceSetup?: boolean | undefined;
|
|
119
119
|
isSetup?: boolean | undefined;
|
|
@@ -128,7 +128,7 @@ export declare class CumulocityPlugin {
|
|
|
128
128
|
hideTypeDashboardForAssets?: boolean | undefined;
|
|
129
129
|
versioningMatrix?: import("packages/client/lib").VersioningMatrix | undefined;
|
|
130
130
|
label?: string | undefined;
|
|
131
|
-
alarmsRefreshType?:
|
|
131
|
+
alarmsRefreshType?: "interval" | "realtime" | undefined;
|
|
132
132
|
importMap?: {
|
|
133
133
|
[key: string]: string;
|
|
134
134
|
} | undefined;
|
|
@@ -155,7 +155,7 @@ export declare class CumulocityPlugin {
|
|
|
155
155
|
upgrade?: boolean | undefined;
|
|
156
156
|
enableAllPreviewFeatures?: boolean | undefined;
|
|
157
157
|
hidePreviewFeature?: boolean | undefined;
|
|
158
|
-
dynamicOptionsUrl?:
|
|
158
|
+
dynamicOptionsUrl?: string | boolean | undefined;
|
|
159
159
|
faviconUrl?: string | undefined;
|
|
160
160
|
brandingUrl?: string | undefined;
|
|
161
161
|
brandingPreview?: boolean | undefined;
|
|
@@ -170,7 +170,7 @@ export declare class CumulocityPlugin {
|
|
|
170
170
|
hidePowered?: boolean | undefined;
|
|
171
171
|
hideHeader?: boolean | undefined;
|
|
172
172
|
hidePlatformInformation?: boolean | undefined;
|
|
173
|
-
supportUrl?:
|
|
173
|
+
supportUrl?: boolean | string | undefined;
|
|
174
174
|
supportUserString?: string | undefined;
|
|
175
175
|
mapWidgetRealtimeDisabled?: boolean | undefined;
|
|
176
176
|
mapWidgetPageSize?: number | undefined;
|
|
@@ -196,14 +196,14 @@ export declare class CumulocityPlugin {
|
|
|
196
196
|
remotes?: import("@c8y/options").RemotePlugins | undefined;
|
|
197
197
|
forceUrlRemotes?: boolean | undefined;
|
|
198
198
|
isPackage?: boolean | undefined;
|
|
199
|
-
package?:
|
|
199
|
+
package?: "plugin" | "blueprint" | undefined;
|
|
200
200
|
blueprintDeploymentOptions?: {
|
|
201
201
|
name?: string;
|
|
202
202
|
contextPath?: string;
|
|
203
203
|
key?: string;
|
|
204
204
|
} | undefined;
|
|
205
205
|
source?: (string | number | import("packages/client/lib").IApplication) | undefined;
|
|
206
|
-
contextHelp?:
|
|
206
|
+
contextHelp?: boolean | string | undefined;
|
|
207
207
|
disableOnlyRootsQuery?: boolean | undefined;
|
|
208
208
|
forceSetup?: boolean | undefined;
|
|
209
209
|
isSetup?: boolean | undefined;
|
|
@@ -218,7 +218,7 @@ export declare class CumulocityPlugin {
|
|
|
218
218
|
hideTypeDashboardForAssets?: boolean | undefined;
|
|
219
219
|
versioningMatrix?: import("packages/client/lib").VersioningMatrix | undefined;
|
|
220
220
|
label?: string | undefined;
|
|
221
|
-
alarmsRefreshType?:
|
|
221
|
+
alarmsRefreshType?: "interval" | "realtime" | undefined;
|
|
222
222
|
importMap?: {
|
|
223
223
|
[key: string]: string;
|
|
224
224
|
} | undefined;
|
|
@@ -248,7 +248,7 @@ export declare class CumulocityPlugin {
|
|
|
248
248
|
upgrade?: boolean | undefined;
|
|
249
249
|
enableAllPreviewFeatures?: boolean | undefined;
|
|
250
250
|
hidePreviewFeature?: boolean | undefined;
|
|
251
|
-
dynamicOptionsUrl?:
|
|
251
|
+
dynamicOptionsUrl?: string | boolean | undefined;
|
|
252
252
|
faviconUrl?: string | undefined;
|
|
253
253
|
brandingUrl?: string | undefined;
|
|
254
254
|
brandingPreview?: boolean | undefined;
|
|
@@ -264,7 +264,7 @@ export declare class CumulocityPlugin {
|
|
|
264
264
|
hidePowered?: boolean | undefined;
|
|
265
265
|
hideHeader?: boolean | undefined;
|
|
266
266
|
hidePlatformInformation?: boolean | undefined;
|
|
267
|
-
supportUrl?:
|
|
267
|
+
supportUrl?: boolean | string | undefined;
|
|
268
268
|
supportUserString?: string | undefined;
|
|
269
269
|
mapWidgetRealtimeDisabled?: boolean | undefined;
|
|
270
270
|
mapWidgetPageSize?: number | undefined;
|
|
@@ -290,14 +290,14 @@ export declare class CumulocityPlugin {
|
|
|
290
290
|
remotes?: import("@c8y/options").RemotePlugins | undefined;
|
|
291
291
|
forceUrlRemotes?: boolean | undefined;
|
|
292
292
|
isPackage?: boolean | undefined;
|
|
293
|
-
package?:
|
|
293
|
+
package?: "plugin" | "blueprint" | undefined;
|
|
294
294
|
blueprintDeploymentOptions?: {
|
|
295
295
|
name?: string;
|
|
296
296
|
contextPath?: string;
|
|
297
297
|
key?: string;
|
|
298
298
|
} | undefined;
|
|
299
299
|
source?: (string | number | import("packages/client/lib").IApplication) | undefined;
|
|
300
|
-
contextHelp?:
|
|
300
|
+
contextHelp?: boolean | string | undefined;
|
|
301
301
|
disableOnlyRootsQuery?: boolean | undefined;
|
|
302
302
|
forceSetup?: boolean | undefined;
|
|
303
303
|
isSetup?: boolean | undefined;
|
|
@@ -312,7 +312,7 @@ export declare class CumulocityPlugin {
|
|
|
312
312
|
hideTypeDashboardForAssets?: boolean | undefined;
|
|
313
313
|
versioningMatrix?: import("packages/client/lib").VersioningMatrix | undefined;
|
|
314
314
|
label?: string | undefined;
|
|
315
|
-
alarmsRefreshType?:
|
|
315
|
+
alarmsRefreshType?: "interval" | "realtime" | undefined;
|
|
316
316
|
importMap?: {
|
|
317
317
|
[key: string]: string;
|
|
318
318
|
} | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/devkit",
|
|
3
|
-
"version": "1023.
|
|
3
|
+
"version": "1023.75.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Cumulocity",
|
|
6
6
|
"description": "Cumulocity Webpack Build Facade",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
49
49
|
"@babel/plugin-transform-async-to-generator": "^7.18.6",
|
|
50
50
|
"@babel/preset-env": "^7.28.3",
|
|
51
|
-
"@c8y/client": "1023.
|
|
52
|
-
"@c8y/options": "1023.
|
|
53
|
-
"@c8y/toolkit": "1023.
|
|
51
|
+
"@c8y/client": "1023.75.1",
|
|
52
|
+
"@c8y/options": "1023.75.1",
|
|
53
|
+
"@c8y/toolkit": "1023.75.1",
|
|
54
54
|
"@inquirer/prompts": "7.7.1",
|
|
55
55
|
"@schematics/angular": "^20.3.23",
|
|
56
56
|
"JSONPath": "0.11.2",
|
|
@@ -75,10 +75,11 @@
|
|
|
75
75
|
"mini-css-extract-plugin": "2.9.4",
|
|
76
76
|
"pofile": "1.0.11",
|
|
77
77
|
"postcss-loader": "8.1.1",
|
|
78
|
+
"rimraf": "2.6.2",
|
|
78
79
|
"style-loader": "4.0.0",
|
|
79
80
|
"terser-webpack-plugin": "^5.3.17",
|
|
80
81
|
"tslib": "^2.6.3",
|
|
81
|
-
"typescript": "5.
|
|
82
|
+
"typescript": "5.9.3",
|
|
82
83
|
"typescript-json-schema": "^0.65.1",
|
|
83
84
|
"webpack-dev-middleware": "7.4.2",
|
|
84
85
|
"webpack-hot-middleware": "2.26.1",
|
|
@@ -90,9 +91,7 @@
|
|
|
90
91
|
],
|
|
91
92
|
"devDependencies": {
|
|
92
93
|
"@types/lodash": "^4.17.20",
|
|
93
|
-
"@types/node": "18"
|
|
94
|
-
"@types/webpack": "^5.28.5",
|
|
95
|
-
"@types/webpack-dev-server": "^4.3.1"
|
|
94
|
+
"@types/node": "18"
|
|
96
95
|
},
|
|
97
96
|
"peerDependencies": {
|
|
98
97
|
"@angular-devkit/schematics": "^20.3.23"
|