@uipath/solutionpackager-tool-core 1.201.0-preview.133 → 1.202.0-preview.134
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
|
@@ -1113,6 +1113,7 @@ var ProjectTypes;
|
|
|
1113
1113
|
((ProjectTypes2) => {
|
|
1114
1114
|
ProjectTypes2["Agent"] = "Agent";
|
|
1115
1115
|
ProjectTypes2["Api"] = "Api";
|
|
1116
|
+
ProjectTypes2["BusinessRules"] = "BusinessRules";
|
|
1116
1117
|
ProjectTypes2["Connector"] = "Connector";
|
|
1117
1118
|
ProjectTypes2["CaseManagement"] = "CaseManagement";
|
|
1118
1119
|
ProjectTypes2["Flow"] = "Flow";
|
|
@@ -1542,7 +1543,8 @@ class ToolsFactoryRepository {
|
|
|
1542
1543
|
getProjectToolFactory(projectType) {
|
|
1543
1544
|
const factory = this.projectFactoryMap.get(projectType);
|
|
1544
1545
|
if (!factory) {
|
|
1545
|
-
|
|
1546
|
+
const known = [...this.projectFactoryMap.keys()].join(", ");
|
|
1547
|
+
throw new Error(`Cannot pack project type '${projectType}': no packager is installed for it. ` + `Project types that can be packed: ${known || "none"}.`);
|
|
1546
1548
|
}
|
|
1547
1549
|
return factory;
|
|
1548
1550
|
}
|
|
@@ -1558,35 +1560,35 @@ if (!_global[REGISTRY_KEY]) {
|
|
|
1558
1560
|
}
|
|
1559
1561
|
var toolsFactoryRepository = _global[REGISTRY_KEY];
|
|
1560
1562
|
export {
|
|
1561
|
-
|
|
1562
|
-
writeContentOperateFile,
|
|
1563
|
-
translate,
|
|
1564
|
-
toolsFactoryRepository,
|
|
1565
|
-
toRelativeUrl,
|
|
1566
|
-
toProjectCleanupInfoFromRemote,
|
|
1567
|
-
toProjectCleanupInfo,
|
|
1568
|
-
ensureProjectIdInOperateFile,
|
|
1569
|
-
ensureProjectId,
|
|
1570
|
-
ensureContentOperateFile,
|
|
1571
|
-
createDefaultBindingsVersion,
|
|
1572
|
-
ZipService,
|
|
1573
|
-
TranslationService,
|
|
1574
|
-
ToolsFactoryRepository,
|
|
1575
|
-
ToolResult,
|
|
1576
|
-
ToolErrorCodes,
|
|
1577
|
-
TemporaryStorageService,
|
|
1578
|
-
TargetFramework,
|
|
1579
|
-
SolutionTool,
|
|
1580
|
-
ProjectTypes,
|
|
1581
|
-
ProjectTool,
|
|
1582
|
-
Path,
|
|
1583
|
-
PackJobTargetKind,
|
|
1584
|
-
NugetPackager,
|
|
1585
|
-
NugetConstants,
|
|
1586
|
-
LogMessage,
|
|
1587
|
-
LogLevel,
|
|
1563
|
+
BuildConfiguration,
|
|
1588
1564
|
I18nManager,
|
|
1589
|
-
|
|
1565
|
+
LogLevel,
|
|
1566
|
+
LogMessage,
|
|
1567
|
+
NugetConstants,
|
|
1568
|
+
NugetPackager,
|
|
1569
|
+
PackJobTargetKind,
|
|
1570
|
+
Path,
|
|
1571
|
+
ProjectTool,
|
|
1572
|
+
ProjectTypes,
|
|
1573
|
+
SolutionTool,
|
|
1574
|
+
TargetFramework,
|
|
1575
|
+
TemporaryStorageService,
|
|
1576
|
+
ToolErrorCodes,
|
|
1577
|
+
ToolResult,
|
|
1578
|
+
ToolsFactoryRepository,
|
|
1579
|
+
TranslationService,
|
|
1580
|
+
ZipService,
|
|
1581
|
+
createDefaultBindingsVersion,
|
|
1582
|
+
ensureContentOperateFile,
|
|
1583
|
+
ensureProjectId,
|
|
1584
|
+
ensureProjectIdInOperateFile,
|
|
1585
|
+
toProjectCleanupInfo,
|
|
1586
|
+
toProjectCleanupInfoFromRemote,
|
|
1587
|
+
toRelativeUrl,
|
|
1588
|
+
toolsFactoryRepository,
|
|
1589
|
+
translate,
|
|
1590
|
+
writeContentOperateFile,
|
|
1591
|
+
writeOrBackfillOperateProjectId
|
|
1590
1592
|
};
|
|
1591
1593
|
|
|
1592
|
-
//# debugId=
|
|
1594
|
+
//# debugId=447FD3E92A689CE764756E2164756E21
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* UiPath project type enum
|
|
3
|
+
*
|
|
4
|
+
* Adding a value here is not the whole change (AGENTS.md Hard Rule #15). A type
|
|
5
|
+
* a solution can contain also needs its `PROJECT_TYPE_TO_TOOL` entry in
|
|
6
|
+
* packages/solution-tool/src/services/packager-tool-resolver.ts and a row in
|
|
7
|
+
* packages/solution-tool/templates/AGENTS.md — that template ships into every
|
|
8
|
+
* scaffolded solution, so a type missing from it is invisible to the agents
|
|
9
|
+
* working there.
|
|
10
|
+
*
|
|
3
11
|
* @public
|
|
4
12
|
*/
|
|
5
13
|
export declare enum ProjectTypes {
|
|
6
14
|
Agent = "Agent",
|
|
7
15
|
Api = "Api",
|
|
16
|
+
BusinessRules = "BusinessRules",
|
|
8
17
|
Connector = "Connector",
|
|
9
18
|
CaseManagement = "CaseManagement",
|
|
10
19
|
Flow = "Flow",
|
|
@@ -24,6 +24,17 @@ export interface ProjectOperationContext {
|
|
|
24
24
|
* unset, which is the behaviour every caller had before this was configurable.
|
|
25
25
|
*/
|
|
26
26
|
jobTarget?: PackJobTarget;
|
|
27
|
+
/**
|
|
28
|
+
* Absolute path of the workspace sources on the machine that runs the
|
|
29
|
+
* remote-agent pack job. When set, the agent packs that folder in place
|
|
30
|
+
* instead of downloading and extracting the workspace snapshot.
|
|
31
|
+
*
|
|
32
|
+
* Only forwarded when {@link jobTarget} is a local robot pinned to specific
|
|
33
|
+
* machine sessions — an unpinned job could land on another of the user's
|
|
34
|
+
* machines, where the path does not exist and setup would fail instead of
|
|
35
|
+
* falling back to the download.
|
|
36
|
+
*/
|
|
37
|
+
localSourcePath?: string;
|
|
27
38
|
/**
|
|
28
39
|
* StudioWeb solution identifier for downloaded solution workspaces.
|
|
29
40
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/solutionpackager-tool-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.202.0-preview.134",
|
|
4
4
|
"description": "UiPath contracts for solution packager tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"registry": "https://registry.npmjs.org/"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@uipath/filesystem": "1.
|
|
27
|
+
"@uipath/filesystem": "1.202.0",
|
|
28
28
|
"fflate": "^0.8.2"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "a335728adbdb02f28308e4f55d8936d0b150444b"
|
|
31
31
|
}
|