@uipath/api-workflow-tool 1.202.0-preview.139 → 1.202.0-preview.140
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.
|
@@ -12839,7 +12839,7 @@ function addSdkUserAgentHeader(headers, userAgent) {
|
|
|
12839
12839
|
var package_default = {
|
|
12840
12840
|
name: "@uipath/project-packager",
|
|
12841
12841
|
license: "MIT",
|
|
12842
|
-
version: "1.202.0-preview.
|
|
12842
|
+
version: "1.202.0-preview.140",
|
|
12843
12843
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
12844
12844
|
type: "module",
|
|
12845
12845
|
main: "./dist/index.js",
|
|
@@ -13587,18 +13587,24 @@ class ProjectLoader {
|
|
|
13587
13587
|
}
|
|
13588
13588
|
const json2 = typeof fileContent === "string" ? fileContent : new TextDecoder("utf-8").decode(fileContent);
|
|
13589
13589
|
const projectData = JSON.parse(json2);
|
|
13590
|
-
const
|
|
13590
|
+
const projectJson = useProjectJson ? projectData : undefined;
|
|
13591
|
+
const outputType = projectJson?.designOptions?.outputType;
|
|
13591
13592
|
const projectType = outputType ?? (projectData?.ProjectType || projectData?.type);
|
|
13592
13593
|
if (!projectData || !projectType) {
|
|
13593
13594
|
throw new Error(translate.t("solutionpackager.projectLoader.errors.invalidProject", {
|
|
13594
13595
|
path: projectFilePath
|
|
13595
13596
|
}));
|
|
13596
13597
|
}
|
|
13598
|
+
const declaredName = projectJson?.name?.trim() || projectData.Name;
|
|
13599
|
+
const declaredDescription = projectJson?.description?.trim() || projectData.Description?.trim() || undefined;
|
|
13600
|
+
const declaredAuthor = projectJson?.author?.trim() || projectData.Author?.trim() || undefined;
|
|
13597
13601
|
return {
|
|
13598
13602
|
type: projectType,
|
|
13599
|
-
name:
|
|
13603
|
+
name: declaredName || Path.basename(projectPath),
|
|
13600
13604
|
projectPath,
|
|
13601
|
-
projectFilePath
|
|
13605
|
+
projectFilePath,
|
|
13606
|
+
description: declaredDescription,
|
|
13607
|
+
author: declaredAuthor
|
|
13602
13608
|
};
|
|
13603
13609
|
}
|
|
13604
13610
|
loadFromWebAppManifest(projectPath, webAppManifestPath) {
|
|
@@ -13643,7 +13649,9 @@ class ProjectPackOptionsBuilder {
|
|
|
13643
13649
|
const packageId = !parameters.package.id || parameters.package.id.trim() === "" ? project.name : parameters.package.id;
|
|
13644
13650
|
const packageInfo = {
|
|
13645
13651
|
...parameters.package,
|
|
13646
|
-
id: this.packService.sanitizePackageId(packageId)
|
|
13652
|
+
id: this.packService.sanitizePackageId(packageId),
|
|
13653
|
+
description: parameters.package.description || project.description,
|
|
13654
|
+
author: parameters.package.author || project.author
|
|
13647
13655
|
};
|
|
13648
13656
|
return {
|
|
13649
13657
|
projectPath: project.projectPath,
|
|
@@ -14085,4 +14093,4 @@ export {
|
|
|
14085
14093
|
signNupkgsAsync
|
|
14086
14094
|
};
|
|
14087
14095
|
|
|
14088
|
-
//# debugId=
|
|
14096
|
+
//# debugId=6AE99ABC7F21C6F064756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -13962,18 +13962,24 @@ class ProjectLoader {
|
|
|
13962
13962
|
}
|
|
13963
13963
|
const json2 = typeof fileContent === "string" ? fileContent : new TextDecoder("utf-8").decode(fileContent);
|
|
13964
13964
|
const projectData = JSON.parse(json2);
|
|
13965
|
-
const
|
|
13965
|
+
const projectJson = useProjectJson ? projectData : undefined;
|
|
13966
|
+
const outputType = projectJson?.designOptions?.outputType;
|
|
13966
13967
|
const projectType = outputType ?? (projectData?.ProjectType || projectData?.type);
|
|
13967
13968
|
if (!projectData || !projectType) {
|
|
13968
13969
|
throw new Error(translate.t("solutionpackager.projectLoader.errors.invalidProject", {
|
|
13969
13970
|
path: projectFilePath
|
|
13970
13971
|
}));
|
|
13971
13972
|
}
|
|
13973
|
+
const declaredName = projectJson?.name?.trim() || projectData.Name;
|
|
13974
|
+
const declaredDescription = projectJson?.description?.trim() || projectData.Description?.trim() || undefined;
|
|
13975
|
+
const declaredAuthor = projectJson?.author?.trim() || projectData.Author?.trim() || undefined;
|
|
13972
13976
|
return {
|
|
13973
13977
|
type: projectType,
|
|
13974
|
-
name:
|
|
13978
|
+
name: declaredName || Path.basename(projectPath),
|
|
13975
13979
|
projectPath,
|
|
13976
|
-
projectFilePath
|
|
13980
|
+
projectFilePath,
|
|
13981
|
+
description: declaredDescription,
|
|
13982
|
+
author: declaredAuthor
|
|
13977
13983
|
};
|
|
13978
13984
|
}
|
|
13979
13985
|
loadFromWebAppManifest(projectPath, webAppManifestPath) {
|
|
@@ -14002,7 +14008,9 @@ class ProjectPackOptionsBuilder {
|
|
|
14002
14008
|
const packageId = !parameters.package.id || parameters.package.id.trim() === "" ? project.name : parameters.package.id;
|
|
14003
14009
|
const packageInfo = {
|
|
14004
14010
|
...parameters.package,
|
|
14005
|
-
id: this.packService.sanitizePackageId(packageId)
|
|
14011
|
+
id: this.packService.sanitizePackageId(packageId),
|
|
14012
|
+
description: parameters.package.description || project.description,
|
|
14013
|
+
author: parameters.package.author || project.author
|
|
14006
14014
|
};
|
|
14007
14015
|
return {
|
|
14008
14016
|
projectPath: project.projectPath,
|
|
@@ -14654,7 +14662,7 @@ function addSdkUserAgentHeader(headers, userAgent) {
|
|
|
14654
14662
|
var package_default = {
|
|
14655
14663
|
name: "@uipath/project-packager",
|
|
14656
14664
|
license: "MIT",
|
|
14657
|
-
version: "1.202.0-preview.
|
|
14665
|
+
version: "1.202.0-preview.140",
|
|
14658
14666
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
14659
14667
|
type: "module",
|
|
14660
14668
|
main: "./dist/index.js",
|
|
@@ -15105,4 +15113,4 @@ export {
|
|
|
15105
15113
|
signNupkgsAsync
|
|
15106
15114
|
};
|
|
15107
15115
|
|
|
15108
|
-
//# debugId=
|
|
15116
|
+
//# debugId=DB0EC11937B3E27F64756E2164756E21
|
|
@@ -7154,7 +7154,7 @@ var require__2020 = __commonJS(function(exports, module) {
|
|
|
7154
7154
|
var package_default = {
|
|
7155
7155
|
name: "@uipath/api-workflow-tool",
|
|
7156
7156
|
license: "MIT",
|
|
7157
|
-
version: "1.202.0-preview.
|
|
7157
|
+
version: "1.202.0-preview.140",
|
|
7158
7158
|
description: "Run UiPath API Workflows locally.",
|
|
7159
7159
|
private: false,
|
|
7160
7160
|
repository: {
|
|
@@ -7736,7 +7736,7 @@ class TextApiResponse {
|
|
|
7736
7736
|
var package_default2 = {
|
|
7737
7737
|
name: "@uipath/integrationservice-sdk",
|
|
7738
7738
|
license: "MIT",
|
|
7739
|
-
version: "1.202.0-preview.
|
|
7739
|
+
version: "1.202.0-preview.140",
|
|
7740
7740
|
repository: {
|
|
7741
7741
|
type: "git",
|
|
7742
7742
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -14378,7 +14378,7 @@ Subcommands:
|
|
|
14378
14378
|
// src/commands/packager-shared.ts
|
|
14379
14379
|
async function createPackager() {
|
|
14380
14380
|
registerPackagerFactories();
|
|
14381
|
-
const { createNodeProjectPackager } = await import("./node-
|
|
14381
|
+
const { createNodeProjectPackager } = await import("./node-gd9j646v.js");
|
|
14382
14382
|
return await createNodeProjectPackager({
|
|
14383
14383
|
logHandler: logger.handleLog
|
|
14384
14384
|
});
|
|
@@ -14401,7 +14401,7 @@ async function setupProject(packager, projectPath) {
|
|
|
14401
14401
|
return packager.setupAsync(absPath);
|
|
14402
14402
|
}
|
|
14403
14403
|
async function buildBaseOptions() {
|
|
14404
|
-
const { ProjectPackOptions } = await import("./index-
|
|
14404
|
+
const { ProjectPackOptions } = await import("./index-4pty07mq.js");
|
|
14405
14405
|
const sdkLogLevelMap = {
|
|
14406
14406
|
[0 /* DEBUG */]: "Debug" /* Debug */,
|
|
14407
14407
|
[1 /* INFO */]: "Information" /* Info */,
|
|
@@ -14697,7 +14697,7 @@ function querystringSingleKey3(key, value, keyPrefix = "") {
|
|
|
14697
14697
|
var package_default3 = {
|
|
14698
14698
|
name: "@uipath/solution-sdk",
|
|
14699
14699
|
license: "MIT",
|
|
14700
|
-
version: "1.202.0-preview.
|
|
14700
|
+
version: "1.202.0-preview.140",
|
|
14701
14701
|
repository: {
|
|
14702
14702
|
type: "git",
|
|
14703
14703
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -16894,4 +16894,4 @@ var registerCommands = async (program) => {
|
|
|
16894
16894
|
|
|
16895
16895
|
export { metadata, registerCommands };
|
|
16896
16896
|
|
|
16897
|
-
//# debugId=
|
|
16897
|
+
//# debugId=70BDBA65C6BAAC9264756E2164756E21
|
package/dist/tool.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/api-workflow-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.202.0-preview.
|
|
4
|
+
"version": "1.202.0-preview.140",
|
|
5
5
|
"description": "Run UiPath API Workflows locally.",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"files": [
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "1861498d8a158a710a718c04614523ba59c93781"
|
|
29
29
|
}
|