@uipath/packager-tool-webapp 1.197.0 → 1.198.0-preview.80
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/dist/index.js
CHANGED
|
@@ -122,8 +122,9 @@ class CodedAppStrategy {
|
|
|
122
122
|
const exists = await this.fileSystem.exists(fullBundlePath);
|
|
123
123
|
if (!exists) {
|
|
124
124
|
const message = ERROR_MESSAGES.BUNDLE_NOT_FOUND(fullBundlePath);
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
const warnable = logger;
|
|
126
|
+
if (warnable?.warn) {
|
|
127
|
+
warnable.warn(message);
|
|
127
128
|
} else {
|
|
128
129
|
logger?.info(`Warning: ${message}`);
|
|
129
130
|
}
|
|
@@ -680,4 +681,4 @@ export {
|
|
|
680
681
|
WEBAPP_MANIFEST_FILE_NAME
|
|
681
682
|
};
|
|
682
683
|
|
|
683
|
-
//# debugId=
|
|
684
|
+
//# debugId=661724B37BE1606464756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/packager-tool-webapp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.198.0-preview.80",
|
|
4
4
|
"description": "UiPath WebApp tool implementation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"author": "",
|
|
26
26
|
"license": "ISC",
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@uipath/solutionpackager-tool-core": "1.
|
|
28
|
+
"@uipath/solutionpackager-tool-core": "1.198.0"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "9b2c3c0f21a256d2f38dd28bc97e72e6f7b10a9c"
|
|
31
31
|
}
|
|
@@ -62,8 +62,11 @@ export class CodedAppStrategy implements VariantStrategy {
|
|
|
62
62
|
const message = ERROR_MESSAGES.BUNDLE_NOT_FOUND(fullBundlePath);
|
|
63
63
|
|
|
64
64
|
// Prefer `warn` if available on the provided logger, otherwise fall back to `info`.
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
const warnable = logger as
|
|
66
|
+
| { warn?: (message: string) => void }
|
|
67
|
+
| undefined;
|
|
68
|
+
if (warnable?.warn) {
|
|
69
|
+
warnable.warn(message);
|
|
67
70
|
} else {
|
|
68
71
|
logger?.info(`Warning: ${message}`);
|
|
69
72
|
}
|
|
@@ -186,7 +189,7 @@ export class CodedAppStrategy implements VariantStrategy {
|
|
|
186
189
|
author?: string;
|
|
187
190
|
description?: string;
|
|
188
191
|
},
|
|
189
|
-
_manifest:
|
|
192
|
+
_manifest: WebAppManifest,
|
|
190
193
|
projectPath: string,
|
|
191
194
|
): Promise<void> {
|
|
192
195
|
// Determine main file - check for index.html or use default
|