@uipath/solution-tool 1.204.0-preview.226 → 1.204.0-preview.227

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.
Files changed (25) hide show
  1. package/dist/{deploy-delete-service-gwkrt3wa.js → deploy-delete-service-ee0rnqha.js} +5 -5
  2. package/dist/{deploy-status-service-ap4rcym2.js → deploy-status-service-rfhaf333.js} +5 -5
  3. package/dist/deploy.js +7 -7
  4. package/dist/{deployment-search-28a1pjhy.js → deployment-search-7v5yxbdf.js} +2 -2
  5. package/dist/{feed-resolver-ermbkr1v.js → feed-resolver-hd8nrn7v.js} +2 -2
  6. package/dist/{feed-scope-failure-295fjwj7.js → feed-scope-failure-3r7ymynp.js} +3 -3
  7. package/dist/index.js +10 -10
  8. package/dist/{list-ywqgzmw9.js → list-qe3p19sg.js} +1 -1
  9. package/dist/models/pack-command-types.d.ts +7 -0
  10. package/dist/pack.js +1 -1
  11. package/dist/{packager-tool-5qgdfgx3.js → packager-tool-3455w9d9.js} +4 -3
  12. package/dist/{packager-tool-92sf52e6.js → packager-tool-47jwfqx7.js} +1 -1
  13. package/dist/{packager-tool-ny1naypq.js → packager-tool-5ycnrx5p.js} +2 -2
  14. package/dist/{packager-tool-z68qpvrz.js → packager-tool-61kk26cq.js} +5 -5
  15. package/dist/{packager-tool-g1y2x0c7.js → packager-tool-6qnzwhkx.js} +1 -1
  16. package/dist/{packager-tool-s5gax7da.js → packager-tool-d04rhvpr.js} +37 -50
  17. package/dist/{packager-tool-cqzke7x7.js → packager-tool-f7zpwjem.js} +1 -1
  18. package/dist/{packager-tool-cwd20801.js → packager-tool-fsmvencw.js} +2 -2
  19. package/dist/{packager-tool-47qctspx.js → packager-tool-gjk95q61.js} +1 -1
  20. package/dist/{packager-tool-66h82spw.js → packager-tool-rf7x0a05.js} +1 -1
  21. package/dist/{packager-tool-2h9th746.js → packager-tool-rm3ypsfr.js} +2 -2
  22. package/dist/publish.js +3 -3
  23. package/dist/templates/AGENTS.md +10 -3
  24. package/dist/tool.js +10 -10
  25. package/package.json +2 -2
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  deleteDeploymentAsync
3
- } from "./packager-tool-2h9th746.js";
4
- import"./packager-tool-ny1naypq.js";
5
- import"./packager-tool-92sf52e6.js";
3
+ } from "./packager-tool-rm3ypsfr.js";
4
+ import"./packager-tool-5ycnrx5p.js";
5
+ import"./packager-tool-47jwfqx7.js";
6
6
  import"./packager-tool-7gr2nphb.js";
7
- import"./packager-tool-66h82spw.js";
8
- import"./packager-tool-cwd20801.js";
7
+ import"./packager-tool-rf7x0a05.js";
8
+ import"./packager-tool-fsmvencw.js";
9
9
  import"./packager-tool-bqre28m1.js";
10
10
  import"./packager-tool-f5gq77m5.js";
11
11
  import"./packager-tool-zdfn32bc.js";
@@ -3,19 +3,19 @@ import {
3
3
  needsPendingResources,
4
4
  quoteForShell,
5
5
  readPendingResourcesAsync
6
- } from "./packager-tool-cqzke7x7.js";
6
+ } from "./packager-tool-f7zpwjem.js";
7
7
  import {
8
8
  INCOMPLETE_SWEEP_ADVICE,
9
9
  findDeploymentAcrossFeeds,
10
10
  reportIncompleteSweepAsync
11
- } from "./packager-tool-ny1naypq.js";
11
+ } from "./packager-tool-5ycnrx5p.js";
12
12
  import {
13
13
  DeploymentSearchNeedsUserSessionError,
14
14
  findCurrentDeploymentAsync,
15
15
  findDeploymentByName,
16
16
  httpStatusOf,
17
17
  isAuthRefusal
18
- } from "./packager-tool-92sf52e6.js";
18
+ } from "./packager-tool-47jwfqx7.js";
19
19
  import {
20
20
  Configuration as Configuration2,
21
21
  PipelinesApi
@@ -24,11 +24,11 @@ import {
24
24
  feedScopeInitOverride,
25
25
  feedSelectorFlag,
26
26
  folderKeyInitOverride
27
- } from "./packager-tool-66h82spw.js";
27
+ } from "./packager-tool-rf7x0a05.js";
28
28
  import {
29
29
  Configuration,
30
30
  DeploymentsApi
31
- } from "./packager-tool-cwd20801.js";
31
+ } from "./packager-tool-fsmvencw.js";
32
32
  import {
33
33
  FeedReadRefusedError,
34
34
  classifyFeedSession,
package/dist/deploy.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  deleteDeploymentAsync
3
- } from "./packager-tool-2h9th746.js";
3
+ } from "./packager-tool-rm3ypsfr.js";
4
4
  import {
5
5
  activateDeploymentAsync,
6
6
  deployRunAsync,
@@ -8,13 +8,13 @@ import {
8
8
  listPackagesAsync,
9
9
  uninstallDeploymentAsync,
10
10
  upgradeDeploymentAsync
11
- } from "./packager-tool-z68qpvrz.js";
12
- import"./packager-tool-cqzke7x7.js";
13
- import"./packager-tool-ny1naypq.js";
14
- import"./packager-tool-92sf52e6.js";
11
+ } from "./packager-tool-61kk26cq.js";
12
+ import"./packager-tool-f7zpwjem.js";
13
+ import"./packager-tool-5ycnrx5p.js";
14
+ import"./packager-tool-47jwfqx7.js";
15
15
  import"./packager-tool-7gr2nphb.js";
16
- import"./packager-tool-66h82spw.js";
17
- import"./packager-tool-cwd20801.js";
16
+ import"./packager-tool-rf7x0a05.js";
17
+ import"./packager-tool-fsmvencw.js";
18
18
  import"./packager-tool-bqre28m1.js";
19
19
  import"./packager-tool-f5gq77m5.js";
20
20
  import"./packager-tool-zdfn32bc.js";
@@ -16,9 +16,9 @@ import {
16
16
  mapOperationStatusToPipelineStatus,
17
17
  newestDeploymentRow,
18
18
  resolveInstalledFolder
19
- } from "./packager-tool-92sf52e6.js";
19
+ } from "./packager-tool-47jwfqx7.js";
20
20
  import"./packager-tool-7gr2nphb.js";
21
- import"./packager-tool-cwd20801.js";
21
+ import"./packager-tool-fsmvencw.js";
22
22
  import"./packager-tool-bqre28m1.js";
23
23
  import"./packager-tool-f2e9rzxk.js";
24
24
  import"./packager-tool-kswwd3hp.js";
@@ -5,8 +5,8 @@ import {
5
5
  feedSelectorFlag,
6
6
  folderKeyInitOverride,
7
7
  resolveFeedScope
8
- } from "./packager-tool-66h82spw.js";
9
- import"./packager-tool-cwd20801.js";
8
+ } from "./packager-tool-rf7x0a05.js";
9
+ import"./packager-tool-fsmvencw.js";
10
10
  import"./packager-tool-bqre28m1.js";
11
11
  import"./packager-tool-zdfn32bc.js";
12
12
  import"./packager-tool-f2e9rzxk.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  resolveFeedScopeOrFailureAsync
3
- } from "./packager-tool-g1y2x0c7.js";
4
- import"./packager-tool-66h82spw.js";
5
- import"./packager-tool-cwd20801.js";
3
+ } from "./packager-tool-6qnzwhkx.js";
4
+ import"./packager-tool-rf7x0a05.js";
5
+ import"./packager-tool-fsmvencw.js";
6
6
  import"./packager-tool-bqre28m1.js";
7
7
  import"./packager-tool-zdfn32bc.js";
8
8
  import"./packager-tool-f2e9rzxk.js";
package/dist/index.js CHANGED
@@ -2,23 +2,23 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./packager-tool-s5gax7da.js";
5
+ } from "./packager-tool-d04rhvpr.js";
6
6
  import"./packager-tool-v8bkkqdb.js";
7
- import"./packager-tool-g1y2x0c7.js";
8
- import"./packager-tool-z68qpvrz.js";
9
- import"./packager-tool-cqzke7x7.js";
10
- import"./packager-tool-ny1naypq.js";
11
- import"./packager-tool-92sf52e6.js";
7
+ import"./packager-tool-6qnzwhkx.js";
8
+ import"./packager-tool-61kk26cq.js";
9
+ import"./packager-tool-f7zpwjem.js";
10
+ import"./packager-tool-5ycnrx5p.js";
11
+ import"./packager-tool-47jwfqx7.js";
12
12
  import"./packager-tool-px1j9kre.js";
13
- import"./packager-tool-5qgdfgx3.js";
13
+ import"./packager-tool-3455w9d9.js";
14
14
  import"./packager-tool-gab9y5ct.js";
15
15
  import"./packager-tool-1rzssy0x.js";
16
16
  import"./packager-tool-e2rtr49j.js";
17
17
  import"./packager-tool-zns6n8zp.js";
18
- import"./packager-tool-47qctspx.js";
18
+ import"./packager-tool-gjk95q61.js";
19
19
  import"./packager-tool-7gr2nphb.js";
20
- import"./packager-tool-66h82spw.js";
21
- import"./packager-tool-cwd20801.js";
20
+ import"./packager-tool-rf7x0a05.js";
21
+ import"./packager-tool-fsmvencw.js";
22
22
  import"./packager-tool-bqre28m1.js";
23
23
  import"./packager-tool-yrz4mwfn.js";
24
24
  import"./packager-tool-gdtpsdn7.js";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  getStudioWebSolutionProjects,
7
7
  listStudioWebSolutions
8
- } from "./packager-tool-cwd20801.js";
8
+ } from "./packager-tool-fsmvencw.js";
9
9
  import"./packager-tool-f2e9rzxk.js";
10
10
  import {
11
11
  DEFAULT_PAGE_SIZE,
@@ -60,6 +60,13 @@ export interface PackCommandOptions extends PackageMetadataFields {
60
60
  * are not run.
61
61
  */
62
62
  skipAnalyze?: boolean;
63
+ /**
64
+ * Analyzer rule IDs whose findings are dropped for every RPA project. The
65
+ * rules still run; their findings are not reported and cannot fail the
66
+ * pack. Applies on top of a governance file or the shipped rules; dropped
67
+ * with a warning when the tenant publishes an AutomationOps policy.
68
+ */
69
+ ignoredRules?: string[];
63
70
  /**
64
71
  * Path to a local governance policy file to analyze against. Selects the
65
72
  * packager's `Studio` rules-config source, and can be combined with
package/dist/pack.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packSolutionAsync
3
- } from "./packager-tool-5qgdfgx3.js";
3
+ } from "./packager-tool-3455w9d9.js";
4
4
  import"./packager-tool-gab9y5ct.js";
5
5
  import"./packager-tool-1rzssy0x.js";
6
6
  import"./packager-tool-e2rtr49j.js";
@@ -3499,7 +3499,7 @@ var package_default = {
3499
3499
  name: "@uipath/project-packager",
3500
3500
  author: "UiPath",
3501
3501
  license: "SEE LICENSE IN LICENSE.txt",
3502
- version: "1.204.0-preview.226",
3502
+ version: "1.204.0-preview.227",
3503
3503
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
3504
3504
  type: "module",
3505
3505
  main: "./dist/index.js",
@@ -5803,6 +5803,7 @@ Packing solution...
5803
5803
  packOptions.validateOptions = {
5804
5804
  skipAnalyze: options.skipAnalyze ?? false,
5805
5805
  skipValidate: false,
5806
+ ignoredRules: options.ignoredRules,
5806
5807
  governanceFileType: options.governanceFileType ?? resolveGovernanceFileType(options),
5807
5808
  governanceFilePath: options.governanceFilePath,
5808
5809
  profileKey: resolveGovernanceProduct(options)
@@ -5846,7 +5847,7 @@ function resolveGovernanceProduct(options) {
5846
5847
  if (named !== undefined) {
5847
5848
  return named;
5848
5849
  }
5849
- return options.governanceFilePath !== undefined ? DEFAULT_AUTOMATION_OPS_PRODUCT : undefined;
5850
+ return options.governanceFilePath !== undefined || (options.ignoredRules?.length ?? 0) > 0 ? DEFAULT_AUTOMATION_OPS_PRODUCT : undefined;
5850
5851
  }
5851
5852
  function formatPackFailureInstructions(message, dryRun) {
5852
5853
  const packMessage = message ?? "Pack failed";
@@ -5886,4 +5887,4 @@ async function packSolutionAsync(solutionPath, options) {
5886
5887
 
5887
5888
  export { SolutionPackOptions, createSolutionPackager, readSolutionFileAsUint8Array, resolveSdkLogLevel, applyAuthConnection, SOLUTION_PATH_INSTRUCTIONS, checkSolutionPathAsync, GOVERNANCE_OPTION_INSTRUCTIONS, validateGovernanceOptions, PackCommandService, packSolutionAsync };
5888
5889
 
5889
- //# debugId=7EC1AF7387D2E6BE64756E2164756E21
5890
+ //# debugId=BC5812D5AFD20F1E64756E2164756E21
@@ -6,7 +6,7 @@ import {
6
6
  Configuration,
7
7
  DeploymentSearchItemDto2FromJSON,
8
8
  SearchApi
9
- } from "./packager-tool-cwd20801.js";
9
+ } from "./packager-tool-fsmvencw.js";
10
10
  import {
11
11
  classifyFeedSession
12
12
  } from "./packager-tool-bqre28m1.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  findDeploymentByName,
3
3
  findLiveDeploymentByName
4
- } from "./packager-tool-92sf52e6.js";
4
+ } from "./packager-tool-47jwfqx7.js";
5
5
  import {
6
6
  folderKeyInitOverride,
7
7
  listSelectablePublishLocations,
8
8
  resolvePersonalWorkspace
9
- } from "./packager-tool-66h82spw.js";
9
+ } from "./packager-tool-rf7x0a05.js";
10
10
  import {
11
11
  catchError,
12
12
  extractErrorDetails
@@ -4,14 +4,14 @@ import {
4
4
  explainRefusal,
5
5
  needsPendingResources,
6
6
  readPendingResourcesAsync
7
- } from "./packager-tool-cqzke7x7.js";
7
+ } from "./packager-tool-f7zpwjem.js";
8
8
  import {
9
9
  INCOMPLETE_SWEEP_ADVICE,
10
10
  findDeploymentAcrossFeeds,
11
11
  isNameOrFeedRefusal,
12
12
  reportIncompleteSweepAsync,
13
13
  retryAdvice
14
- } from "./packager-tool-ny1naypq.js";
14
+ } from "./packager-tool-5ycnrx5p.js";
15
15
  import {
16
16
  DeploymentSearchNeedsUserSessionError,
17
17
  MAX_LISTED_DEPLOYMENTS,
@@ -30,7 +30,7 @@ import {
30
30
  newestDeploymentRow,
31
31
  resolveInstalledFolder,
32
32
  searchDeploymentsPage
33
- } from "./packager-tool-92sf52e6.js";
33
+ } from "./packager-tool-47jwfqx7.js";
34
34
  import {
35
35
  Configuration as Configuration2,
36
36
  DeploymentOperation,
@@ -44,14 +44,14 @@ import {
44
44
  folderKeyInitOverride,
45
45
  resolveFeedScope,
46
46
  resolvePersonalWorkspace
47
- } from "./packager-tool-66h82spw.js";
47
+ } from "./packager-tool-rf7x0a05.js";
48
48
  import {
49
49
  Configuration,
50
50
  DeploymentsApi,
51
51
  SearchApi,
52
52
  SolutionDeploymentAction,
53
53
  WorkflowAction
54
- } from "./packager-tool-cwd20801.js";
54
+ } from "./packager-tool-fsmvencw.js";
55
55
  import {
56
56
  classifyFeedSession,
57
57
  feedReadRefusalForApplication,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  describeFeedResolutionFailureAsync,
3
3
  resolveFeedScope
4
- } from "./packager-tool-66h82spw.js";
4
+ } from "./packager-tool-rf7x0a05.js";
5
5
  import {
6
6
  RESULTS,
7
7
  catchError
@@ -4,7 +4,7 @@ import {
4
4
  } from "./packager-tool-v8bkkqdb.js";
5
5
  import {
6
6
  resolveFeedScopeOrFailureAsync
7
- } from "./packager-tool-g1y2x0c7.js";
7
+ } from "./packager-tool-6qnzwhkx.js";
8
8
  import {
9
9
  activateDeploymentAsync,
10
10
  deployRunAsync,
@@ -14,7 +14,7 @@ import {
14
14
  listPackagesAsync,
15
15
  uninstallDeploymentAsync,
16
16
  upgradeDeploymentAsync
17
- } from "./packager-tool-z68qpvrz.js";
17
+ } from "./packager-tool-61kk26cq.js";
18
18
  import {
19
19
  SolutionInitError,
20
20
  solutionInitAsync
@@ -31,7 +31,7 @@ import {
31
31
  readSolutionFileAsUint8Array,
32
32
  resolveSdkLogLevel,
33
33
  validateGovernanceOptions
34
- } from "./packager-tool-5qgdfgx3.js";
34
+ } from "./packager-tool-3455w9d9.js";
35
35
  import {
36
36
  prepareSolutionResources
37
37
  } from "./packager-tool-gab9y5ct.js";
@@ -42,7 +42,7 @@ import {
42
42
  } from "./packager-tool-e2rtr49j.js";
43
43
  import {
44
44
  publishSolutionAsync
45
- } from "./packager-tool-47qctspx.js";
45
+ } from "./packager-tool-gjk95q61.js";
46
46
  import {
47
47
  Configuration,
48
48
  PipelinesApi
@@ -50,7 +50,7 @@ import {
50
50
  import {
51
51
  feedScopeInitOverride,
52
52
  listSelectablePublishLocations
53
- } from "./packager-tool-66h82spw.js";
53
+ } from "./packager-tool-rf7x0a05.js";
54
54
  import {
55
55
  DeploymentActivationStatus,
56
56
  DeploymentOperationStatus,
@@ -64,7 +64,7 @@ import {
64
64
  isSolutionUploadHttpError,
65
65
  overwriteSolution,
66
66
  solutionExistsOnStudioWeb
67
- } from "./packager-tool-cwd20801.js";
67
+ } from "./packager-tool-fsmvencw.js";
68
68
  import {
69
69
  applyEntryPointEnhancementAsync,
70
70
  assertSolutionManifest,
@@ -165,7 +165,7 @@ var package_default = {
165
165
  name: "@uipath/solution-tool",
166
166
  author: "UiPath",
167
167
  license: "SEE LICENSE IN LICENSE.txt",
168
- version: "1.204.0-preview.226",
168
+ version: "1.204.0-preview.227",
169
169
  description: "Create, pack, publish, and deploy UiPath Automation Solutions.",
170
170
  repository: {
171
171
  type: "git",
@@ -1052,7 +1052,7 @@ var registerDeployDeleteCommand = (program) => {
1052
1052
  if (!requireConfirmation(options, `delete deployment '${deploymentName}'`)) {
1053
1053
  return;
1054
1054
  }
1055
- const { deleteDeploymentAsync } = await import("./deploy-delete-service-gwkrt3wa.js");
1055
+ const { deleteDeploymentAsync } = await import("./deploy-delete-service-ee0rnqha.js");
1056
1056
  const result = await deleteDeploymentAsync(deploymentName, {
1057
1057
  tenant: options.tenant,
1058
1058
  loginValidity: options.loginValidity
@@ -1580,7 +1580,7 @@ var registerDeployStatusCommand = (program) => {
1580
1580
  processContext.exit(1);
1581
1581
  return;
1582
1582
  }
1583
- const { feedScopeInitOverride: feedScopeInitOverride2 } = await import("./feed-resolver-ermbkr1v.js");
1583
+ const { feedScopeInitOverride: feedScopeInitOverride2 } = await import("./feed-resolver-hd8nrn7v.js");
1584
1584
  const { FeedReadRefusedError, feedReadRefusalForApplication } = await import("./feed-session-sxga31vn.js");
1585
1585
  const refuseFeed = (action) => {
1586
1586
  const refusal = feedReadRefusalForApplication(auth, action);
@@ -1600,14 +1600,14 @@ var registerDeployStatusCommand = (program) => {
1600
1600
  if (options.personalWorkspace === true && refuseFeed("Reading a Personal Workspace deployment")) {
1601
1601
  return;
1602
1602
  }
1603
- const { resolveFeedScopeOrFailureAsync: resolveFeedScopeOrFailureAsync2 } = await import("./feed-scope-failure-295fjwj7.js");
1603
+ const { resolveFeedScopeOrFailureAsync: resolveFeedScopeOrFailureAsync2 } = await import("./feed-scope-failure-3r7ymynp.js");
1604
1604
  const [scopeFailure, feedScope] = await resolveFeedScopeOrFailureAsync2(options, auth);
1605
1605
  if (scopeFailure) {
1606
1606
  OutputFormatter.error(scopeFailure);
1607
1607
  processContext.exit(1);
1608
1608
  return;
1609
1609
  }
1610
- const { describeDeploymentAsync, looksLikeDeploymentKey } = await import("./deploy-status-service-ap4rcym2.js");
1610
+ const { describeDeploymentAsync, looksLikeDeploymentKey } = await import("./deploy-status-service-rfhaf333.js");
1611
1611
  if (feedScope.kind !== "tenant" && !looksLikeDeploymentKey(deployment) && refuseFeed(`Reading a deployment in the feed '${feedScope.name ?? feedScope.folderKey}'`)) {
1612
1612
  return;
1613
1613
  }
@@ -1648,7 +1648,7 @@ var registerDeployStatusCommand = (program) => {
1648
1648
  const api = new PipelinesApi(configuration);
1649
1649
  const [statusError, result] = await catchError(api.pipelinesGetPipelineDeploymentStatus({ pipelineDeploymentId: deployment }, feedSelected ? feedScopeInitOverride2(feedScope) : undefined));
1650
1650
  if (statusError) {
1651
- const { isPipelineDeploymentNotFoundError } = await import("./deployment-search-28a1pjhy.js");
1651
+ const { isPipelineDeploymentNotFoundError } = await import("./deployment-search-7v5yxbdf.js");
1652
1652
  if (await isPipelineDeploymentNotFoundError(statusError)) {
1653
1653
  const [stateError, state] = await catchError(describe());
1654
1654
  if (stateError instanceof FeedReadRefusedError) {
@@ -2371,6 +2371,13 @@ var registerNewCommand = (program) => {
2371
2371
  };
2372
2372
 
2373
2373
  // src/commands/pack.ts
2374
+ var PACKED_1_2_0_OUTPUT = {
2375
+ Code: "SolutionPack",
2376
+ Data: {
2377
+ Package: "my-solution@1.2.0",
2378
+ Packages: "./dist/my-solution_1.2.0.zip"
2379
+ }
2380
+ };
2374
2381
  var SOLUTION_PACK_EXAMPLES = [
2375
2382
  {
2376
2383
  Description: "Pack a UiPath solution into a deployable .zip package",
@@ -2386,24 +2393,12 @@ var SOLUTION_PACK_EXAMPLES = [
2386
2393
  {
2387
2394
  Description: "Pack a solution and stamp it with source-traceability metadata. The repository details and release notes are written to a package.metadata.json file at the archive root and into each project's .nuspec.",
2388
2395
  Command: 'uip solution pack ./my-solution ./dist --version 1.2.0 --repository-url https://github.com/acme/repo --repository-commit abc123 --repository-branch main --release-notes "v1.2.0"',
2389
- Output: {
2390
- Code: "SolutionPack",
2391
- Data: {
2392
- Package: "my-solution@1.2.0",
2393
- Packages: "./dist/my-solution_1.2.0.zip"
2394
- }
2395
- }
2396
+ Output: PACKED_1_2_0_OUTPUT
2396
2397
  },
2397
2398
  {
2398
2399
  Description: "Sign each packed project .nupkg with a code-signing certificate. Needs the dotnet CLI on PATH. The password and timestamp server are optional.",
2399
2400
  Command: "uip solution pack ./my-solution ./dist --version 1.2.0 --signing-certificate-path ./cert.pfx --signing-certificate-password env.UIPATH_SIGNING_CERTIFICATE_PASSWORD --signing-timestamp-server http://timestamp.digicert.com",
2400
- Output: {
2401
- Code: "SolutionPack",
2402
- Data: {
2403
- Package: "my-solution@1.2.0",
2404
- Packages: "./dist/my-solution_1.2.0.zip"
2405
- }
2406
- }
2401
+ Output: PACKED_1_2_0_OUTPUT
2407
2402
  },
2408
2403
  {
2409
2404
  Description: "Check that a solution packs without producing a package. Runs the full pack pipeline (resource sync, runtime dependency emission, packager options validation) against a temporary directory and discards the output. Catches pack-time failures only — it does not inspect the produced package contents, so it cannot guarantee the solution feed will accept the result.",
@@ -2420,39 +2415,30 @@ var SOLUTION_PACK_EXAMPLES = [
2420
2415
  {
2421
2416
  Description: "Pack without running the workflow analyzer on the RPA projects. Compilation and validation still run — only the analyzer rules are skipped.",
2422
2417
  Command: "uip solution pack ./my-solution ./dist --version 1.2.0 --skip-analyze",
2423
- Output: {
2424
- Code: "SolutionPack",
2425
- Data: {
2426
- Package: "my-solution@1.2.0",
2427
- Packages: "./dist/my-solution_1.2.0.zip"
2428
- }
2429
- }
2418
+ Output: PACKED_1_2_0_OUTPUT
2430
2419
  },
2431
2420
  {
2432
2421
  Description: "Analyze the RPA projects against a local governance policy file instead of the analyzer rules shipped with the WorkflowCompiler.",
2433
2422
  Command: "uip solution pack ./my-solution ./dist --version 1.2.0 --governance-file-path ./governance-policy.json",
2434
- Output: {
2435
- Code: "SolutionPack",
2436
- Data: {
2437
- Package: "my-solution@1.2.0",
2438
- Packages: "./dist/my-solution_1.2.0.zip"
2439
- }
2440
- }
2423
+ Output: PACKED_1_2_0_OUTPUT
2424
+ },
2425
+ {
2426
+ Description: "Ignore the findings of specific analyzer rules for every RPA project, e.g. rules a pipeline has accepted. The rules still run, but they do not fail the pack. Not applied when the tenant publishes an AutomationOps policy.",
2427
+ Command: "uip solution pack ./my-solution ./dist --version 1.2.0 --ignored-rules ST-USG-034,ST-MRD-002",
2428
+ Output: PACKED_1_2_0_OUTPUT
2441
2429
  },
2442
2430
  {
2443
2431
  Description: "Analyze the RPA projects against the governance policy published in AutomationOps for the signed-in tenant. The value is the product whose policy is downloaded — pass StudioWeb for the default one.",
2444
2432
  Command: "uip solution pack ./my-solution ./dist --version 1.2.0 --governance-product Development",
2445
- Output: {
2446
- Code: "SolutionPack",
2447
- Data: {
2448
- Package: "my-solution@1.2.0",
2449
- Packages: "./dist/my-solution_1.2.0.zip"
2450
- }
2451
- }
2433
+ Output: PACKED_1_2_0_OUTPUT
2452
2434
  }
2453
2435
  ];
2436
+ function parseIgnoredRules(value, previous = []) {
2437
+ const rules = value.split(",").map((rule) => rule.trim()).filter((rule) => rule.length > 0);
2438
+ return [...new Set([...previous, ...rules])];
2439
+ }
2454
2440
  var registerPackCommand = (program) => {
2455
- const command = program.command("pack").description("Pack a UiPath solution into a deployable .zip package. Accepts a solution directory (containing .uipx) or a .uis file. Output is used with 'solution publish' to upload to UiPath. Pass --dry-run to check that the solution packs without producing a package.").argument("<solutionPath>", "Path to a solution directory (containing .uipx) or a .uis file").argument("[output-path]", "Output directory where the packed solution will be saved. Required unless --dry-run is set.").option("-n, --name <name>", "Package name (default: solution folder name or .uis file name)").option("-v, --version <version>", "Package version (default: 1.0.0)", "1.0.0").addOption(new Option("--solution-type <type>", "What kind of solution this is. Omitted by default, which means a standard solution.").choices(["standard", "vertical"]).hideHelp()).option("--nuget-sources-config-path <path>", "Path to NuGet sources configuration file").option("--exclude-configured-sources", "Resolve project dependencies only from the tenant feeds and any --nuget-sources-config-path. Drops the built-in UiPath and nuget.org feeds, so a dependency that is not on those feeds fails to restore.").option("--feed-folder <name>", "Resolve project dependencies from this Orchestrator folder's library feed instead of every tenant feed. Accepts a folder name or fully qualified path.").option("--signing-certificate-path <path>", "Path to .pfx certificate file used to sign each packed project .nupkg").option("--signing-certificate-password <password>", "Certificate password. Use env.ENV_NAME to read from an environment variable.").option("--signing-timestamp-server <url>", "Timestamp server URL").option("--skip-analyze", "Skip the workflow analyzer for every RPA project in the solution. Compilation and validation still run.").option("--governance-file-path <path>", "Analyze every RPA project against this local governance policy file, instead of the analyzer rules shipped with the WorkflowCompiler. When you are signed in the tenant is asked first — about StudioWeb unless --governance-product names another product — and when the tenant publishes a policy of its own, that policy is used instead and this file is ignored with a warning.").option("--governance-product <product>", "Analyze every RPA project against the governance policy published in AutomationOps for the signed-in tenant. The value is the product whose policy is downloaded, e.g. StudioWeb, Development, Business.").addOption(new Option("--automation-ops-profile <profile>").hideHelp());
2441
+ const command = program.command("pack").description("Pack a UiPath solution into a deployable .zip package. Accepts a solution directory (containing .uipx) or a .uis file. Output is used with 'solution publish' to upload to UiPath. Pass --dry-run to check that the solution packs without producing a package.").argument("<solutionPath>", "Path to a solution directory (containing .uipx) or a .uis file").argument("[output-path]", "Output directory where the packed solution will be saved. Required unless --dry-run is set.").option("-n, --name <name>", "Package name (default: solution folder name or .uis file name)").option("-v, --version <version>", "Package version (default: 1.0.0)", "1.0.0").addOption(new Option("--solution-type <type>", "What kind of solution this is. Omitted by default, which means a standard solution.").choices(["standard", "vertical"]).hideHelp()).option("--nuget-sources-config-path <path>", "Path to NuGet sources configuration file").option("--exclude-configured-sources", "Resolve project dependencies only from the tenant feeds and any --nuget-sources-config-path. Drops the built-in UiPath and nuget.org feeds, so a dependency that is not on those feeds fails to restore.").option("--feed-folder <name>", "Resolve project dependencies from this Orchestrator folder's library feed instead of every tenant feed. Accepts a folder name or fully qualified path.").option("--signing-certificate-path <path>", "Path to .pfx certificate file used to sign each packed project .nupkg").option("--signing-certificate-password <password>", "Certificate password. Use env.ENV_NAME to read from an environment variable.").option("--signing-timestamp-server <url>", "Timestamp server URL").option("--skip-analyze", "Skip the workflow analyzer for every RPA project in the solution. Compilation and validation still run.").option("--ignored-rules <rules>", "Analyzer rule IDs whose findings are ignored for every RPA project, e.g. ST-USG-034,ST-MRD-002. Comma-separated; repeat the flag to add more. The rules still run, but their findings are not reported and do not fail the pack. Applies on top of --governance-file-path or the shipped rules; when the signed-in tenant publishes an AutomationOps policy, the list is not applied and a warning says so.", parseIgnoredRules).option("--governance-file-path <path>", "Analyze every RPA project against this local governance policy file, instead of the analyzer rules shipped with the WorkflowCompiler. When you are signed in the tenant is asked first — about StudioWeb unless --governance-product names another product — and when the tenant publishes a policy of its own, that policy is used instead and this file is ignored with a warning.").option("--governance-product <product>", "Analyze every RPA project against the governance policy published in AutomationOps for the signed-in tenant. The value is the product whose policy is downloaded, e.g. StudioWeb, Development, Business.").addOption(new Option("--automation-ops-profile <profile>").hideHelp());
2456
2442
  registerPackageMetadataOptions(command).option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", parseInt, 10).option("--dry-run", "Run the full pack pipeline against a temporary directory and discard the output. Catches pack-time failures; does not inspect the produced package contents.").examples(SOLUTION_PACK_EXAMPLES).trackedAction(processContext, async (solutionPath, outputPath, options) => {
2457
2443
  if (!options.dryRun && outputPath === undefined) {
2458
2444
  OutputFormatter.error({
@@ -2509,6 +2495,7 @@ var registerPackCommand = (program) => {
2509
2495
  signingCertificatePassword: resolveEnvReference(options.signingCertificatePassword),
2510
2496
  signingTimestampServer: options.signingTimestampServer,
2511
2497
  skipAnalyze: options.skipAnalyze,
2498
+ ignoredRules: options.ignoredRules,
2512
2499
  governanceFilePath: options.governanceFilePath,
2513
2500
  governanceProduct: product.value,
2514
2501
  ...mapPackageMetadataOptions(options)
@@ -6784,7 +6771,7 @@ var registerCommands = async (program) => {
6784
6771
  registerResourceCommand(program);
6785
6772
  registerDeleteCommand(program);
6786
6773
  if (isPreviewBuild()) {
6787
- const { registerListCommand } = await import("./list-ywqgzmw9.js");
6774
+ const { registerListCommand } = await import("./list-qe3p19sg.js");
6788
6775
  registerListCommand(program);
6789
6776
  }
6790
6777
  registerFeedsCommand(program);
@@ -6792,4 +6779,4 @@ var registerCommands = async (program) => {
6792
6779
 
6793
6780
  export { metadata, registerCommands };
6794
6781
 
6795
- //# debugId=0E13760A6E1B7F8F64756E2164756E21
6782
+ //# debugId=928F76DCDE02679264756E2164756E21
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SolutionDeploymentAction
3
- } from "./packager-tool-cwd20801.js";
3
+ } from "./packager-tool-fsmvencw.js";
4
4
  import {
5
5
  catchError
6
6
  } from "./packager-tool-kswwd3hp.js";
@@ -1039,7 +1039,7 @@ var package_default = {
1039
1039
  name: "@uipath/solution-sdk",
1040
1040
  author: "UiPath",
1041
1041
  license: "SEE LICENSE IN LICENSE.txt",
1042
- version: "1.204.0-preview.226",
1042
+ version: "1.204.0-preview.227",
1043
1043
  repository: {
1044
1044
  type: "git",
1045
1045
  url: "https://github.com/UiPath/cli.git",
@@ -3174,4 +3174,4 @@ async function overwriteSolution(config, organizationName, fileBuffer, fileName,
3174
3174
  }
3175
3175
  export { Configuration, getAvailablePublishLocationsV2, DeploymentActivationStatus, WorkflowAction, DeploymentOperationStatus, DeploymentSearchItemDto2FromJSON, SolutionDeploymentAction, DeploymentsApi, SearchApi, StudioWebIncompatibleProjectError, bundleSolution, isDebugProvisioningTerminal, isDebugProvisioningSucceeded, getProjectDebugStatus, getStudioWebSolutionProjects, listStudioWebSolutions, isSolutionUploadHttpError, buildSolutionUploadFailureOutput, solutionExistsOnStudioWeb, importSolution, overwriteSolution };
3176
3176
 
3177
- //# debugId=C37FA5A45B9C52A364756E2164756E21
3177
+ //# debugId=B6B03D204C08491364756E2164756E21
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  feedScopeInitOverride,
7
7
  resolveFeedScope
8
- } from "./packager-tool-66h82spw.js";
8
+ } from "./packager-tool-rf7x0a05.js";
9
9
  import {
10
10
  getSolutionAuthContext
11
11
  } from "./packager-tool-f5gq77m5.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getAvailablePublishLocationsV2
3
- } from "./packager-tool-cwd20801.js";
3
+ } from "./packager-tool-fsmvencw.js";
4
4
  import {
5
5
  classifyFeedSession
6
6
  } from "./packager-tool-bqre28m1.js";
@@ -2,12 +2,12 @@ import {
2
2
  INCOMPLETE_SWEEP_ADVICE,
3
3
  findDeploymentAcrossFeeds,
4
4
  reportIncompleteSweepAsync
5
- } from "./packager-tool-ny1naypq.js";
5
+ } from "./packager-tool-5ycnrx5p.js";
6
6
  import {
7
7
  Configuration,
8
8
  DeploymentsApi,
9
9
  WorkflowAction
10
- } from "./packager-tool-cwd20801.js";
10
+ } from "./packager-tool-fsmvencw.js";
11
11
  import {
12
12
  getSolutionAuthContext
13
13
  } from "./packager-tool-f5gq77m5.js";
package/dist/publish.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  publishSolutionAsync
3
- } from "./packager-tool-47qctspx.js";
3
+ } from "./packager-tool-gjk95q61.js";
4
4
  import"./packager-tool-7gr2nphb.js";
5
- import"./packager-tool-66h82spw.js";
6
- import"./packager-tool-cwd20801.js";
5
+ import"./packager-tool-rf7x0a05.js";
6
+ import"./packager-tool-fsmvencw.js";
7
7
  import"./packager-tool-bqre28m1.js";
8
8
  import"./packager-tool-f5gq77m5.js";
9
9
  import"./packager-tool-zdfn32bc.js";
@@ -213,25 +213,32 @@ That last flag is strict on purpose, and that is what makes it easy to get wrong
213
213
 
214
214
  ## Workflow Analyzer and Governance
215
215
 
216
- `solution pack` runs the workflow analyzer over every RPA project. Two things control it:
216
+ `solution pack` runs the workflow analyzer over every RPA project. These flags control it:
217
217
 
218
218
  ```bash
219
219
  uip solution pack . ./out --skip-analyze # don't run the analyzer at all
220
+ uip solution pack . ./out --ignored-rules ST-USG-034,ST-MRD-002 # run it, but drop these rules' findings
220
221
  uip solution pack . ./out --governance-file-path ./policy.json # analyze against a local policy file
221
222
  uip solution pack . ./out --governance-product StudioWeb # analyze against the tenant policy
222
223
  ```
223
224
 
224
225
  `--skip-analyze` turns off only the analyzer rules — the compiler still restores, compiles, and validates, so a broken project still fails the pack.
225
226
 
227
+ `--ignored-rules` keeps the analyzer on but drops the findings of the rules it names, for every RPA project in the solution: they are not reported and cannot fail the pack. It is the per-run escape hatch the legacy `uipcli --ignoredRules` was — use it for violations a pipeline has deliberately accepted, rather than editing a policy other people share. The value is a comma-separated list of rule IDs; repeat the flag to add more; IDs are trimmed and matched case-insensitively. Which rules it can lift depends on where the rules come from:
228
+
229
+ - **The signed-in tenant publishes an AutomationOps policy.** The list is not applied, even with a `--governance-file-path`: the organisation's policy stays enforced in full, and a warning names the rules that were not ignored. The pack does not fail because of the flag.
230
+ - **A `--governance-file-path` is used** (the tenant publishes nothing, could not be asked, or there is no signed-in tenant). The list applies on top of the file, even to rules the file raises to `Error`.
231
+ - **No policy at all.** The list applies on top of the rules shipped with the WorkflowCompiler.
232
+
226
233
  A failed pack says which project broke and where. Alongside `Message`, the envelope carries `Data.Projects` — one entry per member project with `Path` (its directory relative to the solution, `.` at the root), `Type`, `Result`, `Message` and `Findings`; each finding carries `Source` (`Analyzer`, `Validator`, `Compiler`, `Other`), `ErrorCode`, `Description`, `FilePath` and `ActivityIdRef` where the compiler reported one. Read `Data.Projects` rather than parsing `Message` — the message flattens every failed project into one sentence and names no file. A failure that belongs to no project at all (not logged in, no packager for a `Type`) has no `Data.Projects`.
227
234
 
228
- The analyzer rule configuration comes from whichever governance flag you use. `--governance-file-path` reads a local policy file — pass an AutomationOps policy **exactly as exported**, envelope and all: the analyzer reads the whole export, so handing it just the inner `data` object is rejected with a message telling you to pass the export instead. A file that cannot be read, or that is not JSON, fails the pack rather than falling back — you asked for a policy, so packing without one would be a silent pass. `--governance-product` downloads the policy published in AutomationOps for the signed-in tenant; its value is the product to fetch (`StudioWeb`, `Development`, `Business`, …). With neither flag the analyzer uses the rules shipped with the WorkflowCompiler. Pass `--governance-file-path` on its own and the tenant is still asked, about `StudioWeb`, so the file's standing can be decided — that is the only case with a product default.
235
+ The analyzer rule configuration comes from whichever governance flag you use. `--governance-file-path` reads a local policy file — pass an AutomationOps policy **exactly as exported**, envelope and all: the analyzer reads the whole export, so handing it just the inner `data` object is rejected with a message telling you to pass the export instead. A file that cannot be read, or that is not JSON, fails the pack rather than falling back — you asked for a policy, so packing without one would be a silent pass. `--governance-product` downloads the policy published in AutomationOps for the signed-in tenant; its value is the product to fetch (`StudioWeb`, `Development`, `Business`, …). With neither flag the analyzer uses the rules shipped with the WorkflowCompiler. Pass `--governance-file-path` or `--ignored-rules` without `--governance-product` and the tenant is still asked, about `StudioWeb`, so a governed tenant's policy can win over them — those are the only cases with a product default.
229
236
 
230
237
  `--automation-ops-profile` is the old name for `--governance-product`. It still works and still parses, but it is hidden from help and warns; passing both is rejected rather than resolved. Use `--governance-product` in anything new.
231
238
 
232
239
  Whenever you are signed in, the tenant is asked first — including when you pass `--governance-file-path`. There are three possible answers and each does something different:
233
240
 
234
- - **The tenant publishes a policy.** That policy is what the analyzer uses, whatever else you passed. A `--governance-file-path` alongside it is not used; you get a warning and the pack carries on — a flag in your own pipeline does not lift the organisation's policy.
241
+ - **The tenant publishes a policy.** That policy is what the analyzer uses, whatever else you passed. A `--governance-file-path` alongside it is not used, and `--ignored-rules` is not applied; each gets a warning and the pack carries on — a flag in your own pipeline does not lift the organisation's policy.
235
242
  - **The tenant publishes nothing.** The analyzer uses your `--governance-file-path` if you passed one, otherwise the rules shipped with the WorkflowCompiler.
236
243
  - **The question could not be answered** (expired token, no route, the service is down). The pack still succeeds and nothing fails: you get a warning naming the reason (`unauthorized`, `notFound`, `serverError`, `timedOut`, …), shown only at `--log-level warn` or lower (see below), and the analyzer uses your `--governance-file-path` if you passed one, otherwise the shipped rules. Not knowing whether you are governed is not a reason to break a build.
237
244
 
package/dist/tool.js CHANGED
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./packager-tool-s5gax7da.js";
4
+ } from "./packager-tool-d04rhvpr.js";
5
5
  import"./packager-tool-v8bkkqdb.js";
6
- import"./packager-tool-g1y2x0c7.js";
7
- import"./packager-tool-z68qpvrz.js";
8
- import"./packager-tool-cqzke7x7.js";
9
- import"./packager-tool-ny1naypq.js";
10
- import"./packager-tool-92sf52e6.js";
6
+ import"./packager-tool-6qnzwhkx.js";
7
+ import"./packager-tool-61kk26cq.js";
8
+ import"./packager-tool-f7zpwjem.js";
9
+ import"./packager-tool-5ycnrx5p.js";
10
+ import"./packager-tool-47jwfqx7.js";
11
11
  import"./packager-tool-px1j9kre.js";
12
- import"./packager-tool-5qgdfgx3.js";
12
+ import"./packager-tool-3455w9d9.js";
13
13
  import"./packager-tool-gab9y5ct.js";
14
14
  import"./packager-tool-1rzssy0x.js";
15
15
  import"./packager-tool-e2rtr49j.js";
16
16
  import"./packager-tool-zns6n8zp.js";
17
- import"./packager-tool-47qctspx.js";
17
+ import"./packager-tool-gjk95q61.js";
18
18
  import"./packager-tool-7gr2nphb.js";
19
- import"./packager-tool-66h82spw.js";
20
- import"./packager-tool-cwd20801.js";
19
+ import"./packager-tool-rf7x0a05.js";
20
+ import"./packager-tool-fsmvencw.js";
21
21
  import"./packager-tool-bqre28m1.js";
22
22
  import"./packager-tool-yrz4mwfn.js";
23
23
  import"./packager-tool-gdtpsdn7.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/solution-tool",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.204.0-preview.226",
5
+ "version": "1.204.0-preview.227",
6
6
  "description": "Create, pack, publish, and deploy UiPath Automation Solutions.",
7
7
  "repository": {
8
8
  "type": "git",
@@ -48,5 +48,5 @@
48
48
  "dist"
49
49
  ],
50
50
  "private": false,
51
- "gitHead": "e22d65729b93209a7708cdee79ab5da04c52b917"
51
+ "gitHead": "9e8b8976191e55dc098d9bc43fcbc07ffbb64c85"
52
52
  }