@uipath/codedapp-tool 1.202.0-preview.138 → 1.202.0-preview.139
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.
|
@@ -15564,6 +15564,59 @@ class FileSystemFileStorageProviderFactory {
|
|
|
15564
15564
|
}
|
|
15565
15565
|
}
|
|
15566
15566
|
|
|
15567
|
+
// ../solution-sdk/src/resources/providers/resource-builder-logger.ts
|
|
15568
|
+
var PLACEHOLDER = /\{(\w+)\}|%[sdifoOj]/g;
|
|
15569
|
+
function render(value) {
|
|
15570
|
+
if (typeof value === "string")
|
|
15571
|
+
return value;
|
|
15572
|
+
if (value === null || value === undefined)
|
|
15573
|
+
return String(value);
|
|
15574
|
+
if (typeof value !== "object")
|
|
15575
|
+
return String(value);
|
|
15576
|
+
try {
|
|
15577
|
+
return JSON.stringify(value) ?? String(value);
|
|
15578
|
+
} catch {
|
|
15579
|
+
return String(value);
|
|
15580
|
+
}
|
|
15581
|
+
}
|
|
15582
|
+
function interpolate(message, args) {
|
|
15583
|
+
const fields = args[0] !== null && typeof args[0] === "object" && !Array.isArray(args[0]) ? args[0] : undefined;
|
|
15584
|
+
const consumed = new Set;
|
|
15585
|
+
let positional = 0;
|
|
15586
|
+
const filled = message.replace(PLACEHOLDER, (match, name) => {
|
|
15587
|
+
if (name !== undefined) {
|
|
15588
|
+
if (fields && name in fields) {
|
|
15589
|
+
consumed.add(0);
|
|
15590
|
+
return render(fields[name]);
|
|
15591
|
+
}
|
|
15592
|
+
return match;
|
|
15593
|
+
}
|
|
15594
|
+
const index = positional;
|
|
15595
|
+
positional += 1;
|
|
15596
|
+
if (index >= args.length)
|
|
15597
|
+
return match;
|
|
15598
|
+
consumed.add(index);
|
|
15599
|
+
return render(args[index]);
|
|
15600
|
+
});
|
|
15601
|
+
const extra = args.filter((_, index) => !consumed.has(index)).map(render).filter((text) => text.length > 0);
|
|
15602
|
+
return extra.length > 0 ? `${filled} ${extra.join(" ")}` : filled;
|
|
15603
|
+
}
|
|
15604
|
+
|
|
15605
|
+
class CliResourceBuilderLoggerFactory {
|
|
15606
|
+
create(target) {
|
|
15607
|
+
const name = typeof target === "string" ? target : target.name;
|
|
15608
|
+
const line = (message, args) => `[${name}] ${interpolate(message, args)}`;
|
|
15609
|
+
return {
|
|
15610
|
+
trace: (message, ...args) => logger.debug(line(message, args)),
|
|
15611
|
+
debug: (message, ...args) => logger.debug(line(message, args)),
|
|
15612
|
+
info: (message, ...args) => logger.info(line(message, args)),
|
|
15613
|
+
warn: (message, ...args) => logger.warn(line(message, args)),
|
|
15614
|
+
error: (message, error, ...args) => logger.error(error ? `${line(message, args)}: ${error.message}` : line(message, args)),
|
|
15615
|
+
fatal: (message, ...args) => logger.error(line(message, args))
|
|
15616
|
+
};
|
|
15617
|
+
}
|
|
15618
|
+
}
|
|
15619
|
+
|
|
15567
15620
|
// ../orchestrator-sdk/generated/src/runtime.ts
|
|
15568
15621
|
var BASE_PATH = "https://alpha.uipath.com/uipattycyrhx/abizon_1/orchestrator_".replace(/\/+$/, "");
|
|
15569
15622
|
|
|
@@ -17437,7 +17490,7 @@ class SolutionAccessProvider {
|
|
|
17437
17490
|
|
|
17438
17491
|
// ../solution-sdk/src/resources/providers/resource-builder-init.ts
|
|
17439
17492
|
async function createResourceBuilderServices() {
|
|
17440
|
-
return await createResourceBuilderConfiguration().addAccessProvider(new SolutionAccessProvider).addFileStorageProviderFactory(new FileSystemFileStorageProviderFactory).addArtifactResourceSpecEnhancer(new EntryPointSpecEnhancer).build();
|
|
17493
|
+
return await createResourceBuilderConfiguration().addAccessProvider(new SolutionAccessProvider).addFileStorageProviderFactory(new FileSystemFileStorageProviderFactory).addArtifactResourceSpecEnhancer(new EntryPointSpecEnhancer).addLoggerFactory(new CliResourceBuilderLoggerFactory).build();
|
|
17441
17494
|
}
|
|
17442
17495
|
|
|
17443
17496
|
// ../solution-sdk/src/resources/commands/project-utils.ts
|
|
@@ -18403,4 +18456,4 @@ export {
|
|
|
18403
18456
|
writeSolutionFile
|
|
18404
18457
|
};
|
|
18405
18458
|
|
|
18406
|
-
//# debugId=
|
|
18459
|
+
//# debugId=CDE87B7065C8F26964756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -30726,7 +30726,7 @@ var require_ignore = __commonJS(function(exports, module) {
|
|
|
30726
30726
|
var package_default = {
|
|
30727
30727
|
name: "@uipath/codedapp-tool",
|
|
30728
30728
|
license: "MIT",
|
|
30729
|
-
version: "1.202.0-preview.
|
|
30729
|
+
version: "1.202.0-preview.139",
|
|
30730
30730
|
description: "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
|
|
30731
30731
|
keywords: [
|
|
30732
30732
|
"cli-tool",
|
|
@@ -54878,7 +54878,7 @@ function querystringSingleKey(key, value, keyPrefix = "") {
|
|
|
54878
54878
|
var package_default2 = {
|
|
54879
54879
|
name: "@uipath/solution-sdk",
|
|
54880
54880
|
license: "MIT",
|
|
54881
|
-
version: "1.202.0-preview.
|
|
54881
|
+
version: "1.202.0-preview.139",
|
|
54882
54882
|
repository: {
|
|
54883
54883
|
type: "git",
|
|
54884
54884
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -55177,7 +55177,7 @@ var SUCCEEDED = "creationsucceeded";
|
|
|
55177
55177
|
var TERMINAL = new Set([SUCCEEDED, "creationfailed", "validationfailed"]);
|
|
55178
55178
|
// src/services/project-artifacts.ts
|
|
55179
55179
|
async function ensureProjectArtifacts(args) {
|
|
55180
|
-
const { addProjectArtifactsToSolutionAsync } = await import("./index-
|
|
55180
|
+
const { addProjectArtifactsToSolutionAsync } = await import("./index-asg5kph8.js");
|
|
55181
55181
|
return addProjectArtifactsToSolutionAsync(args);
|
|
55182
55182
|
}
|
|
55183
55183
|
|
|
@@ -59403,4 +59403,4 @@ var registerCommands = async (program) => {
|
|
|
59403
59403
|
|
|
59404
59404
|
export { metadata, registerCommands };
|
|
59405
59405
|
|
|
59406
|
-
//# debugId=
|
|
59406
|
+
//# debugId=669620494254C98764756E2164756E21
|
package/dist/tool.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/codedapp-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.202.0-preview.
|
|
4
|
+
"version": "1.202.0-preview.139",
|
|
5
5
|
"description": "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"cli-tool",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"registry": "https://registry.npmjs.org/"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "fd9f8b8a05749404743763d22187b1b012c44274"
|
|
32
32
|
}
|