@uipath/project-packager 1.204.0 → 1.205.0-preview.258
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/browser.js
CHANGED
|
@@ -18276,6 +18276,7 @@ var en = {
|
|
|
18276
18276
|
},
|
|
18277
18277
|
errors: {
|
|
18278
18278
|
connectionIncomplete: "Connection info is incomplete, so the tenant could not be asked about governance.",
|
|
18279
|
+
applicationLogin: "Could not tell whether this tenant is governed (applicationLogin): the {product} policy was not requested, because AutomationOps does not accept external-application tokens yet.",
|
|
18279
18280
|
unknownOutcome: "Could not tell whether this tenant is governed ({reason}): {detail} Asked {url}.",
|
|
18280
18281
|
retryAfter: "The policy service asked for {seconds} seconds before another try.",
|
|
18281
18282
|
tenantPolicyWins: "The AutomationOps policy published for {product} governs this tenant, so the governance file at {path} is not used.",
|
|
@@ -19588,7 +19589,9 @@ var ErrorDimensions = {
|
|
|
19588
19589
|
Result: "Result",
|
|
19589
19590
|
ErrorCode: "ErrorCode",
|
|
19590
19591
|
Retry: "Retry",
|
|
19591
|
-
ErrorMessage: "ErrorMessage"
|
|
19592
|
+
ErrorMessage: "ErrorMessage",
|
|
19593
|
+
HttpStatus: "HttpStatus",
|
|
19594
|
+
UpstreamErrorCode: "UpstreamErrorCode"
|
|
19592
19595
|
};
|
|
19593
19596
|
var AuthDimensions = {
|
|
19594
19597
|
AuthenticationMethod: "AuthenticationMethod",
|
|
@@ -22565,7 +22568,7 @@ var package_default = {
|
|
|
22565
22568
|
name: "@uipath/project-packager",
|
|
22566
22569
|
author: "UiPath",
|
|
22567
22570
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
22568
|
-
version: "1.
|
|
22571
|
+
version: "1.205.0-preview.258",
|
|
22569
22572
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
22570
22573
|
type: "module",
|
|
22571
22574
|
main: "./dist/index.js",
|
|
@@ -22692,6 +22695,10 @@ class GovernancePolicyService {
|
|
|
22692
22695
|
this.warnAndUseShippedRules(validateOptions, t("errors.connectionIncomplete"));
|
|
22693
22696
|
return;
|
|
22694
22697
|
}
|
|
22698
|
+
if (validateOptions.sessionIdentityType === "Application") {
|
|
22699
|
+
this.useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, t("errors.applicationLogin", { product }));
|
|
22700
|
+
return;
|
|
22701
|
+
}
|
|
22695
22702
|
const licenseType = await this.resolveLicenseTypeAsync(product, connectionInfo.cloudUrl?.replace(/\/+$/, "") ?? "", connectionInfo.accessToken, cancellationToken);
|
|
22696
22703
|
const subject = {
|
|
22697
22704
|
organizationId: connectionInfo.organizationId,
|
|
@@ -22741,18 +22748,19 @@ class GovernancePolicyService {
|
|
|
22741
22748
|
return;
|
|
22742
22749
|
}
|
|
22743
22750
|
case "unknown": {
|
|
22744
|
-
this.
|
|
22745
|
-
const localType = localRulesType(requestedType, suppliedFilePath);
|
|
22746
|
-
if (suppliedFilePath && localType !== "Default" /* Default */) {
|
|
22747
|
-
this.logger.info(t("info.suppliedFileUnchecked", {
|
|
22748
|
-
path: suppliedFilePath
|
|
22749
|
-
}));
|
|
22750
|
-
}
|
|
22751
|
-
validateOptions.governanceFileType = localType;
|
|
22751
|
+
this.useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, this.describeUnknown(resolution));
|
|
22752
22752
|
return;
|
|
22753
22753
|
}
|
|
22754
22754
|
}
|
|
22755
22755
|
}
|
|
22756
|
+
useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, warning) {
|
|
22757
|
+
this.logger.warn(warning);
|
|
22758
|
+
const localType = localRulesType(requestedType, suppliedFilePath);
|
|
22759
|
+
if (suppliedFilePath && localType !== "Default" /* Default */) {
|
|
22760
|
+
this.logger.info(t("info.suppliedFileUnchecked", { path: suppliedFilePath }));
|
|
22761
|
+
}
|
|
22762
|
+
validateOptions.governanceFileType = localType;
|
|
22763
|
+
}
|
|
22756
22764
|
dropIgnoredRules(validateOptions, product) {
|
|
22757
22765
|
const rules = normalizeIgnoredRules(validateOptions.ignoredRules);
|
|
22758
22766
|
validateOptions.ignoredRules = undefined;
|
|
@@ -23497,7 +23505,10 @@ class ProjectPackager {
|
|
|
23497
23505
|
targetFramework: options.targetFramework ?? TargetFramework.Portable,
|
|
23498
23506
|
connection: options.connection,
|
|
23499
23507
|
logger: this.logger,
|
|
23500
|
-
workflowCompilerVersion: options.workflowCompilerVersion
|
|
23508
|
+
workflowCompilerVersion: options.workflowCompilerVersion,
|
|
23509
|
+
functionsPackagerVersion: options.functionsPackagerVersion,
|
|
23510
|
+
codedAppsPackagerVersion: options.codedAppsPackagerVersion,
|
|
23511
|
+
jobTarget: options.jobTarget
|
|
23501
23512
|
};
|
|
23502
23513
|
}
|
|
23503
23514
|
async copyFileToDestination(sourcePath, destinationPath) {
|
|
@@ -23558,4 +23569,4 @@ export {
|
|
|
23558
23569
|
createBrowserProjectPackager
|
|
23559
23570
|
};
|
|
23560
23571
|
|
|
23561
|
-
//# debugId=
|
|
23572
|
+
//# debugId=5EE8C11009CEA43364756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -18276,6 +18276,7 @@ var en = {
|
|
|
18276
18276
|
},
|
|
18277
18277
|
errors: {
|
|
18278
18278
|
connectionIncomplete: "Connection info is incomplete, so the tenant could not be asked about governance.",
|
|
18279
|
+
applicationLogin: "Could not tell whether this tenant is governed (applicationLogin): the {product} policy was not requested, because AutomationOps does not accept external-application tokens yet.",
|
|
18279
18280
|
unknownOutcome: "Could not tell whether this tenant is governed ({reason}): {detail} Asked {url}.",
|
|
18280
18281
|
retryAfter: "The policy service asked for {seconds} seconds before another try.",
|
|
18281
18282
|
tenantPolicyWins: "The AutomationOps policy published for {product} governs this tenant, so the governance file at {path} is not used.",
|
|
@@ -21202,7 +21203,9 @@ var ErrorDimensions = {
|
|
|
21202
21203
|
Result: "Result",
|
|
21203
21204
|
ErrorCode: "ErrorCode",
|
|
21204
21205
|
Retry: "Retry",
|
|
21205
|
-
ErrorMessage: "ErrorMessage"
|
|
21206
|
+
ErrorMessage: "ErrorMessage",
|
|
21207
|
+
HttpStatus: "HttpStatus",
|
|
21208
|
+
UpstreamErrorCode: "UpstreamErrorCode"
|
|
21206
21209
|
};
|
|
21207
21210
|
var AuthDimensions = {
|
|
21208
21211
|
AuthenticationMethod: "AuthenticationMethod",
|
|
@@ -22333,6 +22336,9 @@ class PackagerParameters {
|
|
|
22333
22336
|
detailedLogPath;
|
|
22334
22337
|
connection;
|
|
22335
22338
|
workflowCompilerVersion;
|
|
22339
|
+
functionsPackagerVersion;
|
|
22340
|
+
codedAppsPackagerVersion;
|
|
22341
|
+
jobTarget;
|
|
22336
22342
|
}
|
|
22337
22343
|
// src/models/project-restore-options.ts
|
|
22338
22344
|
class ProjectRestoreOptions extends PackagerParameters {
|
|
@@ -22682,7 +22688,7 @@ var package_default = {
|
|
|
22682
22688
|
name: "@uipath/project-packager",
|
|
22683
22689
|
author: "UiPath",
|
|
22684
22690
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
22685
|
-
version: "1.
|
|
22691
|
+
version: "1.205.0-preview.258",
|
|
22686
22692
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
22687
22693
|
type: "module",
|
|
22688
22694
|
main: "./dist/index.js",
|
|
@@ -23149,6 +23155,10 @@ class GovernancePolicyService {
|
|
|
23149
23155
|
this.warnAndUseShippedRules(validateOptions, t("errors.connectionIncomplete"));
|
|
23150
23156
|
return;
|
|
23151
23157
|
}
|
|
23158
|
+
if (validateOptions.sessionIdentityType === "Application") {
|
|
23159
|
+
this.useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, t("errors.applicationLogin", { product }));
|
|
23160
|
+
return;
|
|
23161
|
+
}
|
|
23152
23162
|
const licenseType = await this.resolveLicenseTypeAsync(product, connectionInfo.cloudUrl?.replace(/\/+$/, "") ?? "", connectionInfo.accessToken, cancellationToken);
|
|
23153
23163
|
const subject = {
|
|
23154
23164
|
organizationId: connectionInfo.organizationId,
|
|
@@ -23198,18 +23208,19 @@ class GovernancePolicyService {
|
|
|
23198
23208
|
return;
|
|
23199
23209
|
}
|
|
23200
23210
|
case "unknown": {
|
|
23201
|
-
this.
|
|
23202
|
-
const localType = localRulesType(requestedType, suppliedFilePath);
|
|
23203
|
-
if (suppliedFilePath && localType !== "Default" /* Default */) {
|
|
23204
|
-
this.logger.info(t("info.suppliedFileUnchecked", {
|
|
23205
|
-
path: suppliedFilePath
|
|
23206
|
-
}));
|
|
23207
|
-
}
|
|
23208
|
-
validateOptions.governanceFileType = localType;
|
|
23211
|
+
this.useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, this.describeUnknown(resolution));
|
|
23209
23212
|
return;
|
|
23210
23213
|
}
|
|
23211
23214
|
}
|
|
23212
23215
|
}
|
|
23216
|
+
useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, warning) {
|
|
23217
|
+
this.logger.warn(warning);
|
|
23218
|
+
const localType = localRulesType(requestedType, suppliedFilePath);
|
|
23219
|
+
if (suppliedFilePath && localType !== "Default" /* Default */) {
|
|
23220
|
+
this.logger.info(t("info.suppliedFileUnchecked", { path: suppliedFilePath }));
|
|
23221
|
+
}
|
|
23222
|
+
validateOptions.governanceFileType = localType;
|
|
23223
|
+
}
|
|
23213
23224
|
dropIgnoredRules(validateOptions, product) {
|
|
23214
23225
|
const rules = normalizeIgnoredRules(validateOptions.ignoredRules);
|
|
23215
23226
|
validateOptions.ignoredRules = undefined;
|
|
@@ -24074,7 +24085,10 @@ class ProjectPackager {
|
|
|
24074
24085
|
targetFramework: options.targetFramework ?? TargetFramework.Portable,
|
|
24075
24086
|
connection: options.connection,
|
|
24076
24087
|
logger: this.logger,
|
|
24077
|
-
workflowCompilerVersion: options.workflowCompilerVersion
|
|
24088
|
+
workflowCompilerVersion: options.workflowCompilerVersion,
|
|
24089
|
+
functionsPackagerVersion: options.functionsPackagerVersion,
|
|
24090
|
+
codedAppsPackagerVersion: options.codedAppsPackagerVersion,
|
|
24091
|
+
jobTarget: options.jobTarget
|
|
24078
24092
|
};
|
|
24079
24093
|
}
|
|
24080
24094
|
async copyFileToDestination(sourcePath, destinationPath) {
|
|
@@ -24145,4 +24159,4 @@ export {
|
|
|
24145
24159
|
signNupkgsAsync
|
|
24146
24160
|
};
|
|
24147
24161
|
|
|
24148
|
-
//# debugId=
|
|
24162
|
+
//# debugId=9790A40D26DFC3E764756E2164756E21
|
package/dist/node.js
CHANGED
|
@@ -6863,6 +6863,7 @@ var en = {
|
|
|
6863
6863
|
},
|
|
6864
6864
|
errors: {
|
|
6865
6865
|
connectionIncomplete: "Connection info is incomplete, so the tenant could not be asked about governance.",
|
|
6866
|
+
applicationLogin: "Could not tell whether this tenant is governed (applicationLogin): the {product} policy was not requested, because AutomationOps does not accept external-application tokens yet.",
|
|
6866
6867
|
unknownOutcome: "Could not tell whether this tenant is governed ({reason}): {detail} Asked {url}.",
|
|
6867
6868
|
retryAfter: "The policy service asked for {seconds} seconds before another try.",
|
|
6868
6869
|
tenantPolicyWins: "The AutomationOps policy published for {product} governs this tenant, so the governance file at {path} is not used.",
|
|
@@ -8768,7 +8769,7 @@ function setGlobalLogFilePath(path) {
|
|
|
8768
8769
|
function getGlobalLogFilePath() {
|
|
8769
8770
|
return logFilePathSlot.get("");
|
|
8770
8771
|
}
|
|
8771
|
-
var DEFAULT_LOG_LEVEL =
|
|
8772
|
+
var DEFAULT_LOG_LEVEL = 2 /* WARN */;
|
|
8772
8773
|
|
|
8773
8774
|
class SimpleLogger {
|
|
8774
8775
|
__brand = "SimpleLogger";
|
|
@@ -9035,7 +9036,9 @@ var ErrorDimensions = {
|
|
|
9035
9036
|
Result: "Result",
|
|
9036
9037
|
ErrorCode: "ErrorCode",
|
|
9037
9038
|
Retry: "Retry",
|
|
9038
|
-
ErrorMessage: "ErrorMessage"
|
|
9039
|
+
ErrorMessage: "ErrorMessage",
|
|
9040
|
+
HttpStatus: "HttpStatus",
|
|
9041
|
+
UpstreamErrorCode: "UpstreamErrorCode"
|
|
9039
9042
|
};
|
|
9040
9043
|
var AuthDimensions = {
|
|
9041
9044
|
AuthenticationMethod: "AuthenticationMethod",
|
|
@@ -10047,7 +10050,9 @@ var CLI_ERROR_CODES = [
|
|
|
10047
10050
|
"timeout",
|
|
10048
10051
|
"server_error",
|
|
10049
10052
|
"method_not_allowed",
|
|
10053
|
+
"not_supported",
|
|
10050
10054
|
"configuration_error",
|
|
10055
|
+
"execution_failed",
|
|
10051
10056
|
"unknown_error"
|
|
10052
10057
|
];
|
|
10053
10058
|
var RETRY_HINTS = [
|
|
@@ -11004,7 +11009,9 @@ var OutputFormatter;
|
|
|
11004
11009
|
[ErrorDimensions.Result]: data.Result,
|
|
11005
11010
|
[ErrorDimensions.ErrorCode]: data.ErrorCode,
|
|
11006
11011
|
[ErrorDimensions.Retry]: data.Retry,
|
|
11007
|
-
[ErrorDimensions.ErrorMessage]: data.Message
|
|
11012
|
+
[ErrorDimensions.ErrorMessage]: data.Message,
|
|
11013
|
+
[ErrorDimensions.HttpStatus]: data.Context?.httpStatus?.toString(),
|
|
11014
|
+
[ErrorDimensions.UpstreamErrorCode]: data.Context?.errorCode
|
|
11008
11015
|
});
|
|
11009
11016
|
}
|
|
11010
11017
|
logOutput(normalizeOutputKeys(envelope), getOutputFormat());
|
|
@@ -11755,6 +11762,8 @@ var BOOLEAN_FLAGS = new Set(HOST_GLOBAL_FLAGS);
|
|
|
11755
11762
|
// ../../common/src/interactivity-context.ts
|
|
11756
11763
|
var modeSlot = singleton("InteractivityMode");
|
|
11757
11764
|
var interactiveFlagSlot = singleton("InteractiveFlag");
|
|
11765
|
+
// ../../common/src/json-option.ts
|
|
11766
|
+
import { getFileSystem as getFileSystem6 } from "@uipath/filesystem";
|
|
11758
11767
|
// ../../common/src/mime-types.ts
|
|
11759
11768
|
var MIME_TYPES_BY_EXTENSION = Object.freeze({
|
|
11760
11769
|
pdf: "application/pdf",
|
|
@@ -12041,6 +12050,9 @@ class PackagerParameters {
|
|
|
12041
12050
|
detailedLogPath;
|
|
12042
12051
|
connection;
|
|
12043
12052
|
workflowCompilerVersion;
|
|
12053
|
+
functionsPackagerVersion;
|
|
12054
|
+
codedAppsPackagerVersion;
|
|
12055
|
+
jobTarget;
|
|
12044
12056
|
}
|
|
12045
12057
|
// src/models/project-restore-options.ts
|
|
12046
12058
|
class ProjectRestoreOptions extends PackagerParameters {
|
|
@@ -13821,7 +13833,7 @@ var package_default = {
|
|
|
13821
13833
|
name: "@uipath/project-packager",
|
|
13822
13834
|
author: "UiPath",
|
|
13823
13835
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
13824
|
-
version: "1.
|
|
13836
|
+
version: "1.205.0-preview.258",
|
|
13825
13837
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
13826
13838
|
type: "module",
|
|
13827
13839
|
main: "./dist/index.js",
|
|
@@ -13943,6 +13955,10 @@ class GovernancePolicyService {
|
|
|
13943
13955
|
this.warnAndUseShippedRules(validateOptions, t("errors.connectionIncomplete"));
|
|
13944
13956
|
return;
|
|
13945
13957
|
}
|
|
13958
|
+
if (validateOptions.sessionIdentityType === "Application") {
|
|
13959
|
+
this.useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, t("errors.applicationLogin", { product }));
|
|
13960
|
+
return;
|
|
13961
|
+
}
|
|
13946
13962
|
const licenseType = await this.resolveLicenseTypeAsync(product, connectionInfo.cloudUrl?.replace(/\/+$/, "") ?? "", connectionInfo.accessToken, cancellationToken);
|
|
13947
13963
|
const subject = {
|
|
13948
13964
|
organizationId: connectionInfo.organizationId,
|
|
@@ -13992,18 +14008,19 @@ class GovernancePolicyService {
|
|
|
13992
14008
|
return;
|
|
13993
14009
|
}
|
|
13994
14010
|
case "unknown": {
|
|
13995
|
-
this.
|
|
13996
|
-
const localType = localRulesType(requestedType, suppliedFilePath);
|
|
13997
|
-
if (suppliedFilePath && localType !== "Default" /* Default */) {
|
|
13998
|
-
this.logger.info(t("info.suppliedFileUnchecked", {
|
|
13999
|
-
path: suppliedFilePath
|
|
14000
|
-
}));
|
|
14001
|
-
}
|
|
14002
|
-
validateOptions.governanceFileType = localType;
|
|
14011
|
+
this.useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, this.describeUnknown(resolution));
|
|
14003
14012
|
return;
|
|
14004
14013
|
}
|
|
14005
14014
|
}
|
|
14006
14015
|
}
|
|
14016
|
+
useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, warning) {
|
|
14017
|
+
this.logger.warn(warning);
|
|
14018
|
+
const localType = localRulesType(requestedType, suppliedFilePath);
|
|
14019
|
+
if (suppliedFilePath && localType !== "Default" /* Default */) {
|
|
14020
|
+
this.logger.info(t("info.suppliedFileUnchecked", { path: suppliedFilePath }));
|
|
14021
|
+
}
|
|
14022
|
+
validateOptions.governanceFileType = localType;
|
|
14023
|
+
}
|
|
14007
14024
|
dropIgnoredRules(validateOptions, product) {
|
|
14008
14025
|
const rules = normalizeIgnoredRules(validateOptions.ignoredRules);
|
|
14009
14026
|
validateOptions.ignoredRules = undefined;
|
|
@@ -14752,7 +14769,10 @@ class ProjectPackager {
|
|
|
14752
14769
|
targetFramework: options.targetFramework ?? TargetFramework.Portable,
|
|
14753
14770
|
connection: options.connection,
|
|
14754
14771
|
logger: this.logger,
|
|
14755
|
-
workflowCompilerVersion: options.workflowCompilerVersion
|
|
14772
|
+
workflowCompilerVersion: options.workflowCompilerVersion,
|
|
14773
|
+
functionsPackagerVersion: options.functionsPackagerVersion,
|
|
14774
|
+
codedAppsPackagerVersion: options.codedAppsPackagerVersion,
|
|
14775
|
+
jobTarget: options.jobTarget
|
|
14756
14776
|
};
|
|
14757
14777
|
}
|
|
14758
14778
|
async copyFileToDestination(sourcePath, destinationPath) {
|
|
@@ -15395,4 +15415,4 @@ export {
|
|
|
15395
15415
|
signNupkgsAsync
|
|
15396
15416
|
};
|
|
15397
15417
|
|
|
15398
|
-
//# debugId=
|
|
15418
|
+
//# debugId=E2AA459EB3A7341064756E2164756E21
|
|
@@ -43,6 +43,7 @@ export declare const en: {
|
|
|
43
43
|
};
|
|
44
44
|
readonly errors: {
|
|
45
45
|
readonly connectionIncomplete: "Connection info is incomplete, so the tenant could not be asked about governance.";
|
|
46
|
+
readonly applicationLogin: "Could not tell whether this tenant is governed (applicationLogin): the {product} policy was not requested, because AutomationOps does not accept external-application tokens yet.";
|
|
46
47
|
readonly unknownOutcome: "Could not tell whether this tenant is governed ({reason}): {detail} Asked {url}.";
|
|
47
48
|
readonly retryAfter: "The policy service asked for {seconds} seconds before another try.";
|
|
48
49
|
readonly tenantPolicyWins: "The AutomationOps policy published for {product} governs this tenant, so the governance file at {path} is not used.";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ConnectionInfo as ToolCoreConnectionInfo } from "@uipath/solutionpackager-tool-core";
|
|
1
|
+
import type { PackJobTarget, ConnectionInfo as ToolCoreConnectionInfo } from "@uipath/solutionpackager-tool-core";
|
|
2
2
|
import { LogLevel, type TargetFramework } from "@uipath/solutionpackager-tool-core";
|
|
3
3
|
export type ConnectionInfo = ToolCoreConnectionInfo;
|
|
4
4
|
/**
|
|
@@ -44,6 +44,13 @@ export interface ValidateOptions {
|
|
|
44
44
|
* Determines which product's policy is fetched from AutomationOps.
|
|
45
45
|
*/
|
|
46
46
|
profileKey?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Who the signed-in session acts as, when the host knows. An
|
|
49
|
+
* `Application` session is not asked about its tenant's AutomationOps
|
|
50
|
+
* policy: AutomationOps does not accept external-application tokens yet,
|
|
51
|
+
* so the request could only fail.
|
|
52
|
+
*/
|
|
53
|
+
sessionIdentityType?: "User" | "Application";
|
|
47
54
|
}
|
|
48
55
|
/**
|
|
49
56
|
* Pack options
|
|
@@ -143,4 +150,17 @@ export declare abstract class PackagerParameters {
|
|
|
143
150
|
* Version of the workflow compiler to use for remote packing
|
|
144
151
|
*/
|
|
145
152
|
workflowCompilerVersion?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Version of the Functions packager to use for remote packing
|
|
155
|
+
*/
|
|
156
|
+
functionsPackagerVersion?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Version of the coded apps packager to use for remote packing
|
|
159
|
+
*/
|
|
160
|
+
codedAppsPackagerVersion?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Where the remote-agent job runs. Omit for serverless, which is the
|
|
163
|
+
* default and the only prior behaviour.
|
|
164
|
+
*/
|
|
165
|
+
jobTarget?: PackJobTarget;
|
|
146
166
|
}
|
|
@@ -36,6 +36,11 @@ export declare class GovernancePolicyService implements IGovernancePolicyService
|
|
|
36
36
|
constructor(fileSystem: IFileSystem, temporaryStorage: ITemporaryStorageService, fetchFn?: typeof fetch);
|
|
37
37
|
resolveGovernancePolicyAsync(validateOptions: ValidateOptions, connectionInfo?: ConnectionInfo, cancellationToken?: AbortSignal, _usage?: GovernanceUsage): Promise<void>;
|
|
38
38
|
private applyResolutionAsync;
|
|
39
|
+
/**
|
|
40
|
+
* The tenant's policy is not known, so the caller's own rules apply
|
|
41
|
+
* (levels 2 and 3) — after a warning that says why it is not known.
|
|
42
|
+
*/
|
|
43
|
+
private useLocalRulesUnchecked;
|
|
39
44
|
/**
|
|
40
45
|
* A tenant policy is the organisation's rule set, so a per-run
|
|
41
46
|
* `--ignored-rules` must not lift any of it. The list only applies to a
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/project-packager",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.205.0-preview.258",
|
|
6
6
|
"description": "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist/index.js",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@uipath/aops-policy-sdk": "1.
|
|
37
|
-
"@uipath/filesystem": "1.
|
|
38
|
-
"@uipath/solutionpackager-tool-core": "1.
|
|
39
|
-
"@uipath/common": "1.
|
|
36
|
+
"@uipath/aops-policy-sdk": "1.205.0",
|
|
37
|
+
"@uipath/filesystem": "1.205.0",
|
|
38
|
+
"@uipath/solutionpackager-tool-core": "1.205.0",
|
|
39
|
+
"@uipath/common": "1.205.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"fflate": "^0.8.2"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "8f629ee9fa89abf94f197436a60cb3b9620f8b27"
|
|
45
45
|
}
|