@uipath/solution-tool 1.202.0-preview.140 → 1.202.0-preview.142

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/deploy.js CHANGED
@@ -5,9 +5,9 @@ import {
5
5
  listPackagesAsync,
6
6
  uninstallDeploymentAsync,
7
7
  upgradeDeploymentAsync
8
- } from "./packager-tool-3n5e7fkr.js";
9
- import"./packager-tool-x907fvkz.js";
10
- import"./packager-tool-40vamz9y.js";
8
+ } from "./packager-tool-r4knkmyy.js";
9
+ import"./packager-tool-rbj3fefx.js";
10
+ import"./packager-tool-8aa9smsk.js";
11
11
  import"./packager-tool-29bj4s4t.js";
12
12
  import"./packager-tool-1x1cc4qh.js";
13
13
  import"./packager-tool-dfrk01gn.js";
package/dist/index.js CHANGED
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./packager-tool-kpybyt0p.js";
5
+ } from "./packager-tool-q6r4a1wq.js";
6
6
  import"./packager-tool-6bhx9vfz.js";
7
- import"./packager-tool-3n5e7fkr.js";
7
+ import"./packager-tool-r4knkmyy.js";
8
8
  import"./packager-tool-8t3sjyk9.js";
9
- import"./packager-tool-2t1tzvbv.js";
9
+ import"./packager-tool-dm3kd7gt.js";
10
10
  import"./packager-tool-3bewrpq4.js";
11
- import"./packager-tool-ah6zzb55.js";
12
- import"./packager-tool-x907fvkz.js";
13
- import"./packager-tool-40vamz9y.js";
11
+ import"./packager-tool-d0z31awa.js";
12
+ import"./packager-tool-rbj3fefx.js";
13
+ import"./packager-tool-8aa9smsk.js";
14
14
  import"./packager-tool-pc4hb3pv.js";
15
15
  import"./packager-tool-nzghfa48.js";
16
16
  import"./packager-tool-29bj4s4t.js";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  getStudioWebSolutionProjects,
7
7
  listStudioWebSolutions
8
- } from "./packager-tool-40vamz9y.js";
8
+ } from "./packager-tool-8aa9smsk.js";
9
9
  import {
10
10
  DEFAULT_PAGE_SIZE,
11
11
  OutputFormatter,
package/dist/pack.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packSolutionAsync
3
- } from "./packager-tool-2t1tzvbv.js";
3
+ } from "./packager-tool-dm3kd7gt.js";
4
4
  import"./packager-tool-3bewrpq4.js";
5
5
  import"./packager-tool-pc4hb3pv.js";
6
6
  import"./packager-tool-nzghfa48.js";
@@ -3105,7 +3105,7 @@ async function listStudioWebSolutions(config, organizationName, options = {}) {
3105
3105
  var package_default = {
3106
3106
  name: "@uipath/solution-sdk",
3107
3107
  license: "MIT",
3108
- version: "1.202.0-preview.140",
3108
+ version: "1.202.0-preview.142",
3109
3109
  repository: {
3110
3110
  type: "git",
3111
3111
  url: "https://github.com/UiPath/cli.git",
@@ -3495,4 +3495,4 @@ async function searchPackageVersions(config, packageKey, filter, feedFolderKey)
3495
3495
  }
3496
3496
  export { Configuration, getAvailablePublishLocationsV2, DeploymentActivationStatus, DeploymentOperationStatus, SolutionDeploymentAction, DeploymentsApi, PackagesApi, SearchApi, StudioWebIncompatibleProjectError, bundleSolution, deploymentsAutoInstall, isDebugProvisioningTerminal, isDebugProvisioningSucceeded, getProjectDebugStatus, searchPackageVersions, getStudioWebSolutionProjects, listStudioWebSolutions, isSolutionUploadHttpError, buildSolutionUploadFailureOutput, solutionExistsOnStudioWeb, importSolution, overwriteSolution };
3497
3497
 
3498
- //# debugId=C2B9C3D9E8E0D45A64756E2164756E21
3498
+ //# debugId=E4F4EA6ADE2AA18B64756E2164756E21
@@ -3,11 +3,11 @@ import {
3
3
  PipelinesApi,
4
4
  feedScopeInitOverride,
5
5
  resolveFeedScope
6
- } from "./packager-tool-x907fvkz.js";
6
+ } from "./packager-tool-rbj3fefx.js";
7
7
  import {
8
8
  Configuration as Configuration2,
9
9
  PackagesApi
10
- } from "./packager-tool-40vamz9y.js";
10
+ } from "./packager-tool-8aa9smsk.js";
11
11
  import {
12
12
  getSolutionAuthContext
13
13
  } from "./packager-tool-29bj4s4t.js";
@@ -24193,7 +24193,7 @@ var sdkUserAgentHostToken2 = singleton2("SdkUserAgentHostToken");
24193
24193
  var package_default = {
24194
24194
  name: "@uipath/project-packager",
24195
24195
  license: "MIT",
24196
- version: "1.202.0-preview.140",
24196
+ version: "1.202.0-preview.142",
24197
24197
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
24198
24198
  type: "module",
24199
24199
  main: "./dist/index.js",
@@ -37407,7 +37407,7 @@ var sdkUserAgentHostToken22 = singleton22("SdkUserAgentHostToken");
37407
37407
  var package_default2 = {
37408
37408
  name: "@uipath/project-packager",
37409
37409
  license: "MIT",
37410
- version: "1.202.0-preview.140",
37410
+ version: "1.202.0-preview.142",
37411
37411
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
37412
37412
  type: "module",
37413
37413
  main: "./dist/index.js",
@@ -39243,7 +39243,7 @@ class PackCommandService {
39243
39243
  return;
39244
39244
  }
39245
39245
  const { absoluteSolutionPath, isUisFile, stats } = check;
39246
- const packageName = options.name || (isUisFile ? this.fs.path.basename(solutionPath, ".uis") : this.fs.path.basename(solutionPath));
39246
+ const packageName = this.resolvePackageName(absoluteSolutionPath, isUisFile, options);
39247
39247
  let resolvedOutput;
39248
39248
  let tempDir;
39249
39249
  if (options.dryRun) {
@@ -39379,7 +39379,7 @@ Packing solution...
39379
39379
  const { absoluteOutputPath, check } = inputs;
39380
39380
  const { absoluteSolutionPath, isUisFile, stats } = check;
39381
39381
  const isDirectory = stats.isDirectory();
39382
- const packageName = options.name || (isUisFile ? this.fs.path.basename(solutionPath, ".uis") : this.fs.path.basename(solutionPath));
39382
+ const packageName = this.resolvePackageName(absoluteSolutionPath, isUisFile, options);
39383
39383
  logger.debug(`Processing: ${absoluteSolutionPath}`);
39384
39384
  logger.debug(`Package: ${packageName}@${options.version}`);
39385
39385
  logger.debug(`Output: ${absoluteOutputPath}`);
@@ -39499,12 +39499,15 @@ Packing solution...
39499
39499
  }
39500
39500
  return this.packager;
39501
39501
  }
39502
- async createPackOptions(inputPath, outputPath, solutionPath, isUisFile, options) {
39502
+ resolvePackageName(absoluteSolutionPath, isUisFile, options) {
39503
+ return options.name || (isUisFile ? this.fs.path.basename(absoluteSolutionPath, ".uis") : this.fs.path.basename(absoluteSolutionPath));
39504
+ }
39505
+ async createPackOptions(inputPath, outputPath, absoluteSolutionPath, isUisFile, options) {
39503
39506
  const packOptions = new SolutionPackOptions;
39504
39507
  packOptions.inputPath = inputPath;
39505
39508
  packOptions.destinationPath = outputPath;
39506
39509
  packOptions.configuration = "Release" /* Release */;
39507
- const packageName = options.name || (isUisFile ? this.fs.path.basename(solutionPath, ".uis") : this.fs.path.basename(solutionPath));
39510
+ const packageName = this.resolvePackageName(absoluteSolutionPath, isUisFile, options);
39508
39511
  packOptions.package = {
39509
39512
  id: packageName,
39510
39513
  version: options.version || "1.0.0",
@@ -39583,4 +39586,4 @@ async function packSolutionAsync(solutionPath, options) {
39583
39586
 
39584
39587
  export { SolutionPackOptions, isUnpackableProjectTypeError, ensurePackagerTools, createSolutionPackager, readSolutionFileAsUint8Array, resolveSdkLogLevel, applyAuthConnection, SOLUTION_PATH_INSTRUCTIONS, checkSolutionPathAsync, GOVERNANCE_OPTION_INSTRUCTIONS, validateGovernanceOptions, PackCommandService, packSolutionAsync };
39585
39588
 
39586
- //# debugId=53B4FC3C36728CC064756E2164756E21
39589
+ //# debugId=A378C15026DA3C4C64756E2164756E21
@@ -11,7 +11,7 @@ import {
11
11
  listPackagesAsync,
12
12
  uninstallDeploymentAsync,
13
13
  upgradeDeploymentAsync
14
- } from "./packager-tool-3n5e7fkr.js";
14
+ } from "./packager-tool-r4knkmyy.js";
15
15
  import {
16
16
  SolutionInitError,
17
17
  solutionInitAsync
@@ -30,10 +30,10 @@ import {
30
30
  readSolutionFileAsUint8Array,
31
31
  resolveSdkLogLevel,
32
32
  validateGovernanceOptions
33
- } from "./packager-tool-2t1tzvbv.js";
33
+ } from "./packager-tool-dm3kd7gt.js";
34
34
  import {
35
35
  publishSolutionAsync
36
- } from "./packager-tool-ah6zzb55.js";
36
+ } from "./packager-tool-d0z31awa.js";
37
37
  import {
38
38
  Configuration,
39
39
  PipelinesApi,
@@ -41,7 +41,7 @@ import {
41
41
  feedScopeInitOverride,
42
42
  listSelectablePublishLocations,
43
43
  resolveFeedScope
44
- } from "./packager-tool-x907fvkz.js";
44
+ } from "./packager-tool-rbj3fefx.js";
45
45
  import {
46
46
  Configuration as Configuration2,
47
47
  DeploymentActivationStatus,
@@ -59,7 +59,7 @@ import {
59
59
  overwriteSolution,
60
60
  searchPackageVersions,
61
61
  solutionExistsOnStudioWeb
62
- } from "./packager-tool-40vamz9y.js";
62
+ } from "./packager-tool-8aa9smsk.js";
63
63
  import {
64
64
  Tokens,
65
65
  applyEntryPointEnhancementAsync,
@@ -135,7 +135,7 @@ import {
135
135
  var package_default = {
136
136
  name: "@uipath/solution-tool",
137
137
  license: "MIT",
138
- version: "1.202.0-preview.140",
138
+ version: "1.202.0-preview.142",
139
139
  description: "Create, pack, publish, and deploy UiPath Automation Solutions.",
140
140
  repository: {
141
141
  type: "git",
@@ -6122,7 +6122,7 @@ var registerCommands = async (program) => {
6122
6122
  registerResourceCommand(program);
6123
6123
  registerDeleteCommand(program);
6124
6124
  if (isPreviewBuild()) {
6125
- const { registerListCommand } = await import("./list-jqq1w9h5.js");
6125
+ const { registerListCommand } = await import("./list-k1kr92mr.js");
6126
6126
  registerListCommand(program);
6127
6127
  }
6128
6128
  registerFeedsCommand(program);
@@ -6130,4 +6130,4 @@ var registerCommands = async (program) => {
6130
6130
 
6131
6131
  export { metadata, registerCommands };
6132
6132
 
6133
- //# debugId=D3FFC293E996FA3164756E2164756E21
6133
+ //# debugId=682FD5CFEE771C3264756E2164756E21
@@ -7,7 +7,7 @@ import {
7
7
  listSelectablePublishLocations,
8
8
  resolveFeedScope,
9
9
  resolvePersonalWorkspace
10
- } from "./packager-tool-x907fvkz.js";
10
+ } from "./packager-tool-rbj3fefx.js";
11
11
  import {
12
12
  Configuration as Configuration2,
13
13
  DeploymentOperationStatus,
@@ -16,7 +16,7 @@ import {
16
16
  SolutionDeploymentAction,
17
17
  deploymentsAutoInstall,
18
18
  searchPackageVersions
19
- } from "./packager-tool-40vamz9y.js";
19
+ } from "./packager-tool-8aa9smsk.js";
20
20
  import {
21
21
  getSolutionAuthContext,
22
22
  resolveFolder
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getAvailablePublishLocationsV2
3
- } from "./packager-tool-40vamz9y.js";
3
+ } from "./packager-tool-8aa9smsk.js";
4
4
  import {
5
5
  PersonalWorkspacesApi,
6
6
  createOrchestratorConfig
package/dist/publish.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  publishSolutionAsync
3
- } from "./packager-tool-ah6zzb55.js";
4
- import"./packager-tool-x907fvkz.js";
5
- import"./packager-tool-40vamz9y.js";
3
+ } from "./packager-tool-d0z31awa.js";
4
+ import"./packager-tool-rbj3fefx.js";
5
+ import"./packager-tool-8aa9smsk.js";
6
6
  import"./packager-tool-29bj4s4t.js";
7
7
  import"./packager-tool-1x1cc4qh.js";
8
8
  import"./packager-tool-dfrk01gn.js";
@@ -58,5 +58,19 @@ export declare class PackCommandService {
58
58
  private readMemberProjectDirs;
59
59
  private prepareSolutionDirectoryForPack;
60
60
  private ensurePackagerAsync;
61
+ /**
62
+ * The package id a pack produces, and the `Data.Package` it reports.
63
+ *
64
+ * Derived from the RESOLVED solution path, never from the argument the
65
+ * user typed. `uip solution pack .` has to name the solution: deriving it
66
+ * from the raw argument reported `Package: ".@1.0.0"` while the archive
67
+ * on disk was named correctly, because only this path was resolved
68
+ * (UV-16594).
69
+ *
70
+ * A `.uipx` solution definition carries no name of its own, so for a
71
+ * directory the directory name IS the package identity, and `--name` is
72
+ * the only way to override it (UV-16595).
73
+ */
74
+ private resolvePackageName;
61
75
  private createPackOptions;
62
76
  }
package/dist/tool.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./packager-tool-kpybyt0p.js";
4
+ } from "./packager-tool-q6r4a1wq.js";
5
5
  import"./packager-tool-6bhx9vfz.js";
6
- import"./packager-tool-3n5e7fkr.js";
6
+ import"./packager-tool-r4knkmyy.js";
7
7
  import"./packager-tool-8t3sjyk9.js";
8
- import"./packager-tool-2t1tzvbv.js";
8
+ import"./packager-tool-dm3kd7gt.js";
9
9
  import"./packager-tool-3bewrpq4.js";
10
- import"./packager-tool-ah6zzb55.js";
11
- import"./packager-tool-x907fvkz.js";
12
- import"./packager-tool-40vamz9y.js";
10
+ import"./packager-tool-d0z31awa.js";
11
+ import"./packager-tool-rbj3fefx.js";
12
+ import"./packager-tool-8aa9smsk.js";
13
13
  import"./packager-tool-pc4hb3pv.js";
14
14
  import"./packager-tool-nzghfa48.js";
15
15
  import"./packager-tool-29bj4s4t.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/solution-tool",
3
3
  "license": "MIT",
4
- "version": "1.202.0-preview.140",
4
+ "version": "1.202.0-preview.142",
5
5
  "description": "Create, pack, publish, and deploy UiPath Automation Solutions.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -47,5 +47,5 @@
47
47
  "dist"
48
48
  ],
49
49
  "private": false,
50
- "gitHead": "1861498d8a158a710a718c04614523ba59c93781"
50
+ "gitHead": "2f7204440851d62ecc9f2d2e202c863293821d90"
51
51
  }