@uipath/solution-tool 1.202.0-preview.139 → 1.202.0-preview.141

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-ar7ae24x.js";
9
- import"./packager-tool-n3ch3v36.js";
10
- import"./packager-tool-qpfkpph4.js";
8
+ } from "./packager-tool-r90vpxet.js";
9
+ import"./packager-tool-2j3gyqmz.js";
10
+ import"./packager-tool-ak04arh2.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-12pcyrmh.js";
5
+ } from "./packager-tool-edq1xv43.js";
6
6
  import"./packager-tool-6bhx9vfz.js";
7
- import"./packager-tool-ar7ae24x.js";
7
+ import"./packager-tool-r90vpxet.js";
8
8
  import"./packager-tool-8t3sjyk9.js";
9
- import"./packager-tool-5e69wxe2.js";
10
- import"./packager-tool-9dx65z2d.js";
11
- import"./packager-tool-9ez6mf86.js";
12
- import"./packager-tool-n3ch3v36.js";
13
- import"./packager-tool-qpfkpph4.js";
9
+ import"./packager-tool-9kc07pqx.js";
10
+ import"./packager-tool-3bewrpq4.js";
11
+ import"./packager-tool-n392jwcv.js";
12
+ import"./packager-tool-2j3gyqmz.js";
13
+ import"./packager-tool-ak04arh2.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-qpfkpph4.js";
8
+ } from "./packager-tool-ak04arh2.js";
9
9
  import {
10
10
  DEFAULT_PAGE_SIZE,
11
11
  OutputFormatter,
package/dist/pack.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  packSolutionAsync
3
- } from "./packager-tool-5e69wxe2.js";
4
- import"./packager-tool-9dx65z2d.js";
3
+ } from "./packager-tool-9kc07pqx.js";
4
+ import"./packager-tool-3bewrpq4.js";
5
5
  import"./packager-tool-pc4hb3pv.js";
6
6
  import"./packager-tool-nzghfa48.js";
7
7
  import"./packager-tool-29bj4s4t.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getAvailablePublishLocationsV2
3
- } from "./packager-tool-qpfkpph4.js";
3
+ } from "./packager-tool-ak04arh2.js";
4
4
  import {
5
5
  PersonalWorkspacesApi,
6
6
  createOrchestratorConfig
@@ -2267,6 +2267,6 @@ function registerPackagerFactories() {
2267
2267
  toolsFactoryRepository.registerProjectToolFactory(new ConnectorToolFactory);
2268
2268
  }
2269
2269
 
2270
- export { Path, TemporaryStorageService, ZipService, I18nManager, translate, BuildConfiguration, LogLevel, LogMessage, TargetFramework, ToolErrorCodes, ToolResult, toolsFactoryRepository2 as toolsFactoryRepository, registerPackagerFactories };
2270
+ export { Path, TemporaryStorageService, ZipService, I18nManager, translate, BuildConfiguration, LogLevel, LogMessage, ProjectTypes, TargetFramework, ToolErrorCodes, ToolResult, ProjectTool, toolsFactoryRepository2 as toolsFactoryRepository, registerPackagerFactories };
2271
2271
 
2272
- //# debugId=1698A45CAE5F631764756E2164756E21
2272
+ //# debugId=380EC26ADC903B4F64756E2164756E21
@@ -4,6 +4,8 @@ import {
4
4
  LogLevel,
5
5
  LogMessage,
6
6
  Path,
7
+ ProjectTool,
8
+ ProjectTypes,
7
9
  TargetFramework,
8
10
  TemporaryStorageService,
9
11
  ToolErrorCodes,
@@ -12,7 +14,7 @@ import {
12
14
  registerPackagerFactories,
13
15
  toolsFactoryRepository,
14
16
  translate
15
- } from "./packager-tool-9dx65z2d.js";
17
+ } from "./packager-tool-3bewrpq4.js";
16
18
  import {
17
19
  Tokens,
18
20
  createResourceBuilderServices,
@@ -24191,7 +24193,7 @@ var sdkUserAgentHostToken2 = singleton2("SdkUserAgentHostToken");
24191
24193
  var package_default = {
24192
24194
  name: "@uipath/project-packager",
24193
24195
  license: "MIT",
24194
- version: "1.202.0-preview.139",
24196
+ version: "1.202.0-preview.141",
24195
24197
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
24196
24198
  type: "module",
24197
24199
  main: "./dist/index.js",
@@ -24556,6 +24558,77 @@ class PackagerParametersValidator {
24556
24558
  return ToolResult.success();
24557
24559
  }
24558
24560
  }
24561
+ class ProjectLoader {
24562
+ fileSystem;
24563
+ static WebAppManifestFileName = "webAppManifest.json";
24564
+ static ProjectJsonFileName = "project.json";
24565
+ constructor(fileSystem) {
24566
+ this.fileSystem = fileSystem;
24567
+ }
24568
+ async loadProject(projectPath) {
24569
+ if (!projectPath) {
24570
+ throw new Error(translate.t("solutionpackager.projectLoader.errors.pathRequired"));
24571
+ }
24572
+ const projectFilePath = Path.join(projectPath, ProjectTool.ProjectFileName);
24573
+ const projectFileExists = await this.fileSystem.exists(projectFilePath);
24574
+ if (projectFileExists) {
24575
+ return await this.loadFromProjectFile(projectPath, projectFilePath);
24576
+ }
24577
+ const projectJsonPath = Path.join(projectPath, ProjectLoader.ProjectJsonFileName);
24578
+ if (await this.fileSystem.exists(projectJsonPath)) {
24579
+ return await this.loadFromProjectFile(projectPath, projectJsonPath, true);
24580
+ }
24581
+ const webAppManifestPath = Path.join(projectPath, ProjectLoader.WebAppManifestFileName);
24582
+ const webAppManifestExists = await this.fileSystem.exists(webAppManifestPath);
24583
+ if (webAppManifestExists) {
24584
+ return this.loadFromWebAppManifest(projectPath, webAppManifestPath);
24585
+ }
24586
+ throw new Error(translate.t("solutionpackager.projectLoader.errors.noProjectFile", {
24587
+ projectFile: ProjectTool.ProjectFileName,
24588
+ projectJsonFile: ProjectLoader.ProjectJsonFileName,
24589
+ manifestFile: ProjectLoader.WebAppManifestFileName,
24590
+ path: projectPath
24591
+ }));
24592
+ }
24593
+ async loadFromProjectFile(projectPath, projectFilePath, useProjectJson = false) {
24594
+ const fileContent = await this.fileSystem.readFile(projectFilePath);
24595
+ if (!fileContent) {
24596
+ throw new Error(translate.t("solutionpackager.projectLoader.errors.readFailed", {
24597
+ path: projectFilePath
24598
+ }));
24599
+ }
24600
+ const json = typeof fileContent === "string" ? fileContent : new TextDecoder("utf-8").decode(fileContent);
24601
+ const projectData = JSON.parse(json);
24602
+ const projectJson = useProjectJson ? projectData : undefined;
24603
+ const outputType = projectJson?.designOptions?.outputType;
24604
+ const projectType = outputType ?? (projectData?.ProjectType || projectData?.type);
24605
+ if (!projectData || !projectType) {
24606
+ throw new Error(translate.t("solutionpackager.projectLoader.errors.invalidProject", {
24607
+ path: projectFilePath
24608
+ }));
24609
+ }
24610
+ const declaredName = projectJson?.name?.trim() || projectData.Name;
24611
+ const declaredDescription = projectJson?.description?.trim() || projectData.Description?.trim() || undefined;
24612
+ const declaredAuthor = projectJson?.author?.trim() || projectData.Author?.trim() || undefined;
24613
+ return {
24614
+ type: projectType,
24615
+ name: declaredName || Path.basename(projectPath),
24616
+ projectPath,
24617
+ projectFilePath,
24618
+ description: declaredDescription,
24619
+ author: declaredAuthor
24620
+ };
24621
+ }
24622
+ loadFromWebAppManifest(projectPath, webAppManifestPath) {
24623
+ const folderName = Path.basename(projectPath);
24624
+ return {
24625
+ type: ProjectTypes.AppV2,
24626
+ name: folderName,
24627
+ projectPath,
24628
+ projectFilePath: webAppManifestPath
24629
+ };
24630
+ }
24631
+ }
24559
24632
  var TelemetryNames;
24560
24633
  ((TelemetryNames2) => {
24561
24634
  TelemetryNames2["ProjectToolPack"] = "ProjectPackager.Tool.Pack";
@@ -37334,7 +37407,7 @@ var sdkUserAgentHostToken22 = singleton22("SdkUserAgentHostToken");
37334
37407
  var package_default2 = {
37335
37408
  name: "@uipath/project-packager",
37336
37409
  license: "MIT",
37337
- version: "1.202.0-preview.139",
37410
+ version: "1.202.0-preview.141",
37338
37411
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
37339
37412
  type: "module",
37340
37413
  main: "./dist/index.js",
@@ -37799,6 +37872,8 @@ class OptionsBuilder {
37799
37872
  this.fileSystem = fileSystem;
37800
37873
  }
37801
37874
  static FILES_DIRECTORY_NAME = "files";
37875
+ static DEFAULT_AUTHOR = "UiPath";
37876
+ static DEFAULT_DESCRIPTION = "Created by UiPath";
37802
37877
  async buildSolutionPackOptions(parameters, solution) {
37803
37878
  if (!parameters.outputPath) {
37804
37879
  throw new Error(translate.t("solutionpackager.optionsBuilder.errors.outputPathRequired"));
@@ -37817,16 +37892,34 @@ class OptionsBuilder {
37817
37892
  projectsToBuild: solution.Projects.map((p) => p.Id)
37818
37893
  };
37819
37894
  }
37895
+ async resolveMemberMetadataAsync(solutionOptions, projectPath) {
37896
+ const declared = await this.loadDeclaredMetadataAsync(projectPath);
37897
+ return {
37898
+ author: solutionOptions.package.author?.trim() || declared?.author || OptionsBuilder.DEFAULT_AUTHOR,
37899
+ description: solutionOptions.package.description?.trim() || declared?.description || OptionsBuilder.DEFAULT_DESCRIPTION
37900
+ };
37901
+ }
37902
+ async loadDeclaredMetadataAsync(projectPath) {
37903
+ try {
37904
+ const loaded = await new ProjectLoader(this.fileSystem).loadProject(projectPath);
37905
+ return {
37906
+ author: loaded.author,
37907
+ description: loaded.description
37908
+ };
37909
+ } catch {
37910
+ return;
37911
+ }
37912
+ }
37820
37913
  async createOutputFilesDirectoryAsync(outputPath) {
37821
37914
  const filesDir = Path.join(outputPath, OptionsBuilder.FILES_DIRECTORY_NAME);
37822
37915
  await this.fileSystem.mkdir(filesDir);
37823
37916
  }
37824
- async buildProjectPackOptions(solutionOptions, project) {
37917
+ async buildProjectPackOptions(solutionOptions, project, solutionName) {
37825
37918
  const projectPath = this.resolveProjectPath(solutionOptions, project);
37826
- const solutionName = solutionOptions.package.id || undefined;
37827
37919
  const packageInfo = {
37828
37920
  ...solutionOptions.package,
37829
- id: await this.packageIdReader.read(project, solutionOptions.inputPath, solutionName) || ""
37921
+ id: await this.packageIdReader.read(project, solutionOptions.inputPath, solutionName) || "",
37922
+ ...await this.resolveMemberMetadataAsync(solutionOptions, projectPath)
37830
37923
  };
37831
37924
  if (!solutionOptions.outputPath) {
37832
37925
  throw new Error(translate.t("solutionpackager.optionsBuilder.errors.outputPathRequired"));
@@ -38269,7 +38362,7 @@ class SolutionPackService {
38269
38362
  return await this.telemetry.trackDependencyOperation("SolutionPackager.Solution.Pack", "pack", async () => {
38270
38363
  const [restoreResult, ...projectResults] = await Promise.all([
38271
38364
  solutionTool.restoreAsync(solutionOptions, cancellationToken),
38272
- ...this.packAllProjectsAsync(parameters, solution.Projects, context, cancellationToken)
38365
+ ...this.packAllProjectsAsync(parameters, solution.Projects, solution.Name, context, cancellationToken)
38273
38366
  ]);
38274
38367
  const restoreAndPackResults = [
38275
38368
  restoreResult,
@@ -38301,12 +38394,12 @@ class SolutionPackService {
38301
38394
  }
38302
38395
  }
38303
38396
  }
38304
- packAllProjectsAsync(parameters, projects, context, cancellationToken) {
38305
- return projects.map((project) => this.packSingleProjectAsync(parameters, project, context, cancellationToken));
38397
+ packAllProjectsAsync(parameters, projects, solutionName, context, cancellationToken) {
38398
+ return projects.map((project) => this.packSingleProjectAsync(parameters, project, solutionName, context, cancellationToken));
38306
38399
  }
38307
- async packSingleProjectAsync(parameters, project, context, cancellationToken) {
38400
+ async packSingleProjectAsync(parameters, project, solutionName, context, cancellationToken) {
38308
38401
  try {
38309
- const projectOptions = await this.optionsBuilder.buildProjectPackOptions(parameters, project);
38402
+ const projectOptions = await this.optionsBuilder.buildProjectPackOptions(parameters, project, solutionName);
38310
38403
  return await this.projectExecutor.packAsync(projectOptions, project, context, cancellationToken);
38311
38404
  } catch (error) {
38312
38405
  const errorMessage2 = error instanceof Error ? error.message : String(error);
@@ -39150,7 +39243,7 @@ class PackCommandService {
39150
39243
  return;
39151
39244
  }
39152
39245
  const { absoluteSolutionPath, isUisFile, stats } = check;
39153
- const packageName = options.name || (isUisFile ? this.fs.path.basename(solutionPath, ".uis") : this.fs.path.basename(solutionPath));
39246
+ const packageName = this.resolvePackageName(absoluteSolutionPath, isUisFile, options);
39154
39247
  let resolvedOutput;
39155
39248
  let tempDir;
39156
39249
  if (options.dryRun) {
@@ -39286,7 +39379,7 @@ Packing solution...
39286
39379
  const { absoluteOutputPath, check } = inputs;
39287
39380
  const { absoluteSolutionPath, isUisFile, stats } = check;
39288
39381
  const isDirectory = stats.isDirectory();
39289
- const packageName = options.name || (isUisFile ? this.fs.path.basename(solutionPath, ".uis") : this.fs.path.basename(solutionPath));
39382
+ const packageName = this.resolvePackageName(absoluteSolutionPath, isUisFile, options);
39290
39383
  logger.debug(`Processing: ${absoluteSolutionPath}`);
39291
39384
  logger.debug(`Package: ${packageName}@${options.version}`);
39292
39385
  logger.debug(`Output: ${absoluteOutputPath}`);
@@ -39406,17 +39499,20 @@ Packing solution...
39406
39499
  }
39407
39500
  return this.packager;
39408
39501
  }
39409
- 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) {
39410
39506
  const packOptions = new SolutionPackOptions;
39411
39507
  packOptions.inputPath = inputPath;
39412
39508
  packOptions.destinationPath = outputPath;
39413
39509
  packOptions.configuration = "Release" /* Release */;
39414
- const packageName = options.name || (isUisFile ? this.fs.path.basename(solutionPath, ".uis") : this.fs.path.basename(solutionPath));
39510
+ const packageName = this.resolvePackageName(absoluteSolutionPath, isUisFile, options);
39415
39511
  packOptions.package = {
39416
39512
  id: packageName,
39417
39513
  version: options.version || "1.0.0",
39418
- author: options.author?.trim() || "UiPath",
39419
- description: options.description?.trim() || "Created by UiPath",
39514
+ author: options.author?.trim() || undefined,
39515
+ description: options.description?.trim() || undefined,
39420
39516
  releaseNotes: options.releaseNotes,
39421
39517
  projectUrl: options.projectUrl,
39422
39518
  repositoryType: options.repositoryType,
@@ -39490,4 +39586,4 @@ async function packSolutionAsync(solutionPath, options) {
39490
39586
 
39491
39587
  export { SolutionPackOptions, isUnpackableProjectTypeError, ensurePackagerTools, createSolutionPackager, readSolutionFileAsUint8Array, resolveSdkLogLevel, applyAuthConnection, SOLUTION_PATH_INSTRUCTIONS, checkSolutionPathAsync, GOVERNANCE_OPTION_INSTRUCTIONS, validateGovernanceOptions, PackCommandService, packSolutionAsync };
39492
39588
 
39493
- //# debugId=B812A63A80B57B6F64756E2164756E21
39589
+ //# debugId=E4D8B87EEBFD19EA64756E2164756E21
@@ -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.139",
3108
+ version: "1.202.0-preview.141",
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=2E318348F3A8BF3E64756E2164756E21
3498
+ //# debugId=AE75DCF88D549B5064756E2164756E21
@@ -11,7 +11,7 @@ import {
11
11
  listPackagesAsync,
12
12
  uninstallDeploymentAsync,
13
13
  upgradeDeploymentAsync
14
- } from "./packager-tool-ar7ae24x.js";
14
+ } from "./packager-tool-r90vpxet.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-5e69wxe2.js";
33
+ } from "./packager-tool-9kc07pqx.js";
34
34
  import {
35
35
  publishSolutionAsync
36
- } from "./packager-tool-9ez6mf86.js";
36
+ } from "./packager-tool-n392jwcv.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-n3ch3v36.js";
44
+ } from "./packager-tool-2j3gyqmz.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-qpfkpph4.js";
62
+ } from "./packager-tool-ak04arh2.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.139",
138
+ version: "1.202.0-preview.141",
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-ag3027x1.js");
6125
+ const { registerListCommand } = await import("./list-1q3cfk9z.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=DEF91C7BFB8FCA0A64756E2164756E21
6133
+ //# debugId=4287E45F6FA1BC9864756E2164756E21
@@ -3,11 +3,11 @@ import {
3
3
  PipelinesApi,
4
4
  feedScopeInitOverride,
5
5
  resolveFeedScope
6
- } from "./packager-tool-n3ch3v36.js";
6
+ } from "./packager-tool-2j3gyqmz.js";
7
7
  import {
8
8
  Configuration as Configuration2,
9
9
  PackagesApi
10
- } from "./packager-tool-qpfkpph4.js";
10
+ } from "./packager-tool-ak04arh2.js";
11
11
  import {
12
12
  getSolutionAuthContext
13
13
  } from "./packager-tool-29bj4s4t.js";
@@ -7,7 +7,7 @@ import {
7
7
  listSelectablePublishLocations,
8
8
  resolveFeedScope,
9
9
  resolvePersonalWorkspace
10
- } from "./packager-tool-n3ch3v36.js";
10
+ } from "./packager-tool-2j3gyqmz.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-qpfkpph4.js";
19
+ } from "./packager-tool-ak04arh2.js";
20
20
  import {
21
21
  getSolutionAuthContext,
22
22
  resolveFolder
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  registerPackagerFactories
3
- } from "./packager-tool-9dx65z2d.js";
3
+ } from "./packager-tool-3bewrpq4.js";
4
4
  import"./packager-tool-nzghfa48.js";
5
5
  import"./packager-tool-dfrk01gn.js";
6
6
  import"./packager-tool-1de529jm.js";
package/dist/publish.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  publishSolutionAsync
3
- } from "./packager-tool-9ez6mf86.js";
4
- import"./packager-tool-n3ch3v36.js";
5
- import"./packager-tool-qpfkpph4.js";
3
+ } from "./packager-tool-n392jwcv.js";
4
+ import"./packager-tool-2j3gyqmz.js";
5
+ import"./packager-tool-ak04arh2.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
  }
@@ -212,6 +212,10 @@ By default dependencies resolve against every tenant feed the session can see.
212
212
 
213
213
  `pack` also takes `-n, --name <name>` to override the package name (it defaults to the solution folder or `.uis` file name) and `-v, --version <version>` (defaults to `1.0.0`).
214
214
 
215
+ `--name` names the **solution archive only**. Each member project keeps its own NuGet id, anchored on the solution's `.uipx` name, so packing one solution twice under two names produces two archives holding members with the same ids — which is what lets an upgrade land on the same feed entries. Renaming the solution *directory* does not move member ids either; the `.uipx` travels with a checkout.
216
+
217
+ `--author` and `--description` apply to every member that declares neither. A project that declares its own `Description` / `Author` in its project file keeps them, so per-project provenance survives a solution pack; only when nothing declares either do the `UiPath` / `Created by UiPath` defaults apply.
218
+
215
219
  `publish` goes to the tenant feed by default:
216
220
 
217
221
  ```bash
package/dist/tool.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./packager-tool-12pcyrmh.js";
4
+ } from "./packager-tool-edq1xv43.js";
5
5
  import"./packager-tool-6bhx9vfz.js";
6
- import"./packager-tool-ar7ae24x.js";
6
+ import"./packager-tool-r90vpxet.js";
7
7
  import"./packager-tool-8t3sjyk9.js";
8
- import"./packager-tool-5e69wxe2.js";
9
- import"./packager-tool-9dx65z2d.js";
10
- import"./packager-tool-9ez6mf86.js";
11
- import"./packager-tool-n3ch3v36.js";
12
- import"./packager-tool-qpfkpph4.js";
8
+ import"./packager-tool-9kc07pqx.js";
9
+ import"./packager-tool-3bewrpq4.js";
10
+ import"./packager-tool-n392jwcv.js";
11
+ import"./packager-tool-2j3gyqmz.js";
12
+ import"./packager-tool-ak04arh2.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.139",
4
+ "version": "1.202.0-preview.141",
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": "fd9f8b8a05749404743763d22187b1b012c44274"
50
+ "gitHead": "2c2b4b3b218f18c26db78eb8cd9ab8002d2b5290"
51
51
  }