@uipath/rpa-tool 1.201.0-preview.20260826.13 → 1.201.0
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/tool.js +8 -4
- package/package.json +7 -7
package/dist/tool.js
CHANGED
|
@@ -43081,7 +43081,7 @@ var {
|
|
|
43081
43081
|
// package.json
|
|
43082
43082
|
var package_default = {
|
|
43083
43083
|
name: "@uipath/rpa-tool",
|
|
43084
|
-
version: "1.201.0
|
|
43084
|
+
version: "1.201.0",
|
|
43085
43085
|
description: "Tool for creating and managing UiPath RPA projects",
|
|
43086
43086
|
keywords: [
|
|
43087
43087
|
"uipcli-tool",
|
|
@@ -43922,6 +43922,7 @@ function toSessionConnection(status) {
|
|
|
43922
43922
|
accessToken: status.accessToken,
|
|
43923
43923
|
cloudUrl,
|
|
43924
43924
|
orchestratorUrl: buildOrchestratorUrl(status),
|
|
43925
|
+
organizationId: status.organizationId,
|
|
43925
43926
|
tenantId: status.tenantId
|
|
43926
43927
|
};
|
|
43927
43928
|
}
|
|
@@ -45424,6 +45425,9 @@ function detectRuntimeArchMismatchFailure(label, rawMessage, probe = probeDotnet
|
|
|
45424
45425
|
// src/commands/packager/packager-shared.ts
|
|
45425
45426
|
var LOG_LEVEL_NAMES = ["Debug", "Info", "Warn", "Error"];
|
|
45426
45427
|
var GOVERNANCE_FILE_TYPES = ["Default", "AutomationOps", "Studio"];
|
|
45428
|
+
var GOVERNANCE_FILE_TYPE_PLACEHOLDER = `<${GOVERNANCE_FILE_TYPES.join(" | ")}>`;
|
|
45429
|
+
var GOVERNANCE_FILE_TYPE_DESCRIPTION = "With AutomationOps and no governance file path, the policy published for " + "the signed-in tenant is downloaded from AutomationOps; without a cloud " + "'uip login' it falls back to Default with a warning.";
|
|
45430
|
+
var GOVERNANCE_FILE_PATH_DESCRIPTION = "Path to a governance/policy rules JSON file. Used as-is; no policy is " + "downloaded from AutomationOps.";
|
|
45427
45431
|
var OUTPUT_TYPES = [
|
|
45428
45432
|
"None",
|
|
45429
45433
|
"Process",
|
|
@@ -45679,7 +45683,7 @@ async function runPackagerCommand(opts, config) {
|
|
|
45679
45683
|
function registerAnalyzeCommand(program4, defaultProjectDir) {
|
|
45680
45684
|
const cmd = program4.command("analyze").description("Validate and analyze a UiPath project");
|
|
45681
45685
|
cmd.argument("[project-dir]", "Path to the UiPath project directory, project.json file, or .uip archive. Defaults to --project-dir, or the current directory.");
|
|
45682
|
-
addCommonPackagerOptions(cmd).option("--skip-analyze", "Skip the analysis step").option("--default-severity <level>", "Default severity for analysis rules").option("--governance-file-path <path>",
|
|
45686
|
+
addCommonPackagerOptions(cmd).option("--skip-analyze", "Skip the analysis step").option("--default-severity <level>", "Default severity for analysis rules").option("--governance-file-path <path>", GOVERNANCE_FILE_PATH_DESCRIPTION).addOption(new Option2(`--governance-file-type ${GOVERNANCE_FILE_TYPE_PLACEHOLDER}`, GOVERNANCE_FILE_TYPE_DESCRIPTION).choices(GOVERNANCE_FILE_TYPES)).option("--detailed-log-path <path>", "Path where detailed log file is written").option("--repository-path <path>", "Repository root for resolving relative project paths (Pipeline Analyze parity)").option("--policy-file <path>", "Analyzer policy JSON file. Alias for --governance-file-path (Pipeline Analyze parity).").addOption(new Option2(`--policy-file-type ${GOVERNANCE_FILE_TYPE_PLACEHOLDER}`, "Policy file type. Alias for --governance-file-type. " + "Defaults to AutomationOps when a policy/governance file is provided; otherwise the packager default is used.").choices(GOVERNANCE_FILE_TYPES)).trackedAction(processContext, async (projectDirArg, opts) => {
|
|
45683
45687
|
const projectDir = resolveProjectDir(projectDirArg, opts, defaultProjectDir);
|
|
45684
45688
|
opts.projectDir = projectDir;
|
|
45685
45689
|
const success = await runPackagerCommand(opts, {
|
|
@@ -45876,7 +45880,7 @@ function isRecord3(value) {
|
|
|
45876
45880
|
function registerBuildCommand(program4, defaultProjectDir) {
|
|
45877
45881
|
const cmd = program4.command("build").description("Build (compile) a UiPath project");
|
|
45878
45882
|
cmd.argument("[project-dir]", "Path to the UiPath project directory. Defaults to --project-dir, or the current directory.");
|
|
45879
|
-
addCommonPackagerOptions(cmd).option("--skip-analyze", "Skip the analysis step").option("--governance-file-path <path>",
|
|
45883
|
+
addCommonPackagerOptions(cmd).option("--skip-analyze", "Skip the analysis step").option("--governance-file-path <path>", GOVERNANCE_FILE_PATH_DESCRIPTION).addOption(new Option2(`--governance-file-type ${GOVERNANCE_FILE_TYPE_PLACEHOLDER}`, GOVERNANCE_FILE_TYPE_DESCRIPTION).choices(GOVERNANCE_FILE_TYPES)).option("--detailed-log-path <path>", "Path where detailed log file is written").trackedAction(processContext, async (projectDirArg, opts) => {
|
|
45880
45884
|
const projectDir = resolvePackagerProjectDir(projectDirArg, opts.projectDir, defaultProjectDir);
|
|
45881
45885
|
opts.projectDir = projectDir;
|
|
45882
45886
|
const success = await runPackagerCommand(opts, {
|
|
@@ -45967,7 +45971,7 @@ import { isAbsolute as isAbsolute7, resolve as resolve8 } from "node:path";
|
|
|
45967
45971
|
function registerPackCommand(program4, defaultProjectDir) {
|
|
45968
45972
|
const cmd = program4.command("pack").description("Pack a UiPath project into a .nupkg (compiles, validates, and bundles).");
|
|
45969
45973
|
cmd.argument("[project-dir]", "Path to the UiPath project directory, project.json file, or .uip archive. Defaults to --project-dir, or the current directory.").argument("[output-path]", "Directory where .nupkg is written. Required — pass it here or as --output-path.");
|
|
45970
|
-
addCommonPackagerOptions(cmd).option("--output-path <path>", "Directory where .nupkg is written. Alternative to the positional argument; required when the positional is omitted.").option("--package-id <id>", "NuGet package ID").option("--package-version <version>", "NuGet package version").option("--package-author <author>", "NuGet package author").option("--package-description <desc>", "NuGet package description").option("--skip-analyze", "Skip the analysis step").option("--skip-dependency-optimization", "Skip dependency optimization").option("--include-sources", "Include source files in the package").option("--split-packages", "Split into multiple packages").option("--governance-file-path <path>",
|
|
45974
|
+
addCommonPackagerOptions(cmd).option("--output-path <path>", "Directory where .nupkg is written. Alternative to the positional argument; required when the positional is omitted.").option("--package-id <id>", "NuGet package ID").option("--package-version <version>", "NuGet package version").option("--package-author <author>", "NuGet package author").option("--package-description <desc>", "NuGet package description").option("--skip-analyze", "Skip the analysis step").option("--skip-dependency-optimization", "Skip dependency optimization").option("--include-sources", "Include source files in the package").option("--split-packages", "Split into multiple packages").option("--governance-file-path <path>", GOVERNANCE_FILE_PATH_DESCRIPTION).addOption(new Option2(`--governance-file-type ${GOVERNANCE_FILE_TYPE_PLACEHOLDER}`, GOVERNANCE_FILE_TYPE_DESCRIPTION).choices(GOVERNANCE_FILE_TYPES)).option("--detailed-log-path <path>", "Path where detailed log file is written").option("--signing-certificate-path <path>", "Path to .pfx certificate file").option("--signing-certificate-password <password>", "Certificate password").option("--signing-timestamp-server <url>", "Timestamp server URL").addOption(new Option2("--output-type <type>", "Package output type (Pipeline Build parity)").choices(OUTPUT_TYPES)).option("--project-url <url>", "Project URL package metadata").option("--repository-type <type>", "Repository type package metadata").option("--repository-url <url>", "Repository URL package metadata").option("--repository-branch <branch>", "Repository branch package metadata").option("--repository-commit <commit>", "Repository commit package metadata").option("--release-notes <text>", "Package release notes").trackedAction(processContext, async (projectDirArg, outputPathArg, opts) => {
|
|
45971
45975
|
const outputPath = outputPathArg ?? opts.outputPath;
|
|
45972
45976
|
if (!outputPath) {
|
|
45973
45977
|
OutputFormatter.error(new FailureOutput("Failure", "Pack failed: an output path is required.", "Pass it as the second argument (`pack <project-dir> <output-path>`) or as `--output-path <path>`. It must be a directory outside the project tree."));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/rpa-tool",
|
|
3
|
-
"version": "1.201.0
|
|
3
|
+
"version": "1.201.0",
|
|
4
4
|
"description": "Tool for creating and managing UiPath RPA projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"uipcli-tool",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"typescript": "^5.7.2"
|
|
64
64
|
},
|
|
65
65
|
"optionalDependencies": {
|
|
66
|
-
"@uipath/studio-helm-win32-x64": "1.201.0
|
|
67
|
-
"@uipath/studio-helm-win32-arm64": "1.201.0
|
|
68
|
-
"@uipath/studio-helm-linux-x64": "1.201.0
|
|
69
|
-
"@uipath/studio-helm-linux-arm64": "1.201.0
|
|
70
|
-
"@uipath/studio-helm-darwin-x64": "1.201.0
|
|
71
|
-
"@uipath/studio-helm-darwin-arm64": "1.201.0
|
|
66
|
+
"@uipath/studio-helm-win32-x64": "1.201.0",
|
|
67
|
+
"@uipath/studio-helm-win32-arm64": "1.201.0",
|
|
68
|
+
"@uipath/studio-helm-linux-x64": "1.201.0",
|
|
69
|
+
"@uipath/studio-helm-linux-arm64": "1.201.0",
|
|
70
|
+
"@uipath/studio-helm-darwin-x64": "1.201.0",
|
|
71
|
+
"@uipath/studio-helm-darwin-arm64": "1.201.0"
|
|
72
72
|
}
|
|
73
73
|
}
|