@uipath/solution-tool 1.199.0-preview.111 → 1.199.0-preview.112

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
@@ -37772,7 +37772,7 @@ class JSONApiResponse2 {
37772
37772
  var package_default2 = {
37773
37773
  name: "@uipath/solution-sdk",
37774
37774
  license: "MIT",
37775
- version: "1.199.0-preview.111",
37775
+ version: "1.199.0-preview.112",
37776
37776
  repository: {
37777
37777
  type: "git",
37778
37778
  url: "https://github.com/UiPath/cli.git",
@@ -43452,4 +43452,4 @@ export {
43452
43452
  activateDeploymentAsync
43453
43453
  };
43454
43454
 
43455
- //# debugId=8B17B5E653F07A2064756E2164756E21
43455
+ //# debugId=A90417F391512DA964756E2164756E21
package/dist/init.js CHANGED
@@ -31019,7 +31019,7 @@ function querystringSingleKey(key, value, keyPrefix = "") {
31019
31019
  var package_default = {
31020
31020
  name: "@uipath/solution-sdk",
31021
31021
  license: "MIT",
31022
- version: "1.199.0-preview.111",
31022
+ version: "1.199.0-preview.112",
31023
31023
  repository: {
31024
31024
  type: "git",
31025
31025
  url: "https://github.com/UiPath/cli.git",
@@ -48844,4 +48844,4 @@ export {
48844
48844
  SolutionInitError
48845
48845
  };
48846
48846
 
48847
- //# debugId=84A07F46B7BCF29264756E2164756E21
48847
+ //# debugId=D232AB9BD5575CC264756E2164756E21
package/dist/pack.js CHANGED
@@ -214109,7 +214109,7 @@ init_dist();
214109
214109
  // ../packager/packager-tool-flow/package.json
214110
214110
  var package_default = {
214111
214111
  name: "@uipath/packager-tool-flow",
214112
- version: "1.199.0-preview.111",
214112
+ version: "1.199.0-preview.112",
214113
214113
  description: "UiPath Flow tool implementation",
214114
214114
  type: "module",
214115
214115
  exports: {
@@ -250674,7 +250674,7 @@ var sdkUserAgentHostToken22 = singleton22("SdkUserAgentHostToken");
250674
250674
  var package_default3 = {
250675
250675
  name: "@uipath/project-packager",
250676
250676
  license: "MIT",
250677
- version: "1.199.0-preview.111",
250677
+ version: "1.199.0-preview.112",
250678
250678
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
250679
250679
  type: "module",
250680
250680
  main: "./dist/index.js",
@@ -262839,7 +262839,7 @@ var sdkUserAgentHostToken23 = singleton23("SdkUserAgentHostToken");
262839
262839
  var package_default4 = {
262840
262840
  name: "@uipath/project-packager",
262841
262841
  license: "MIT",
262842
- version: "1.199.0-preview.111",
262842
+ version: "1.199.0-preview.112",
262843
262843
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
262844
262844
  type: "module",
262845
262845
  main: "./dist/index.js",
@@ -281264,20 +281264,27 @@ async function ensurePackagerTools(solutionDir, fs8) {
281264
281264
  const projectTypes = await readProjectTypes(solutionDir, fs8);
281265
281265
  if (projectTypes.length === 0)
281266
281266
  return;
281267
- const neededTools = new Set;
281267
+ const neededTools = new Map;
281268
281268
  for (const type3 of projectTypes) {
281269
281269
  if (toolsFactoryRepository2.canHandleProject(type3))
281270
281270
  continue;
281271
281271
  const toolVerb = PROJECT_TYPE_TO_TOOL.get(type3);
281272
281272
  if (toolVerb) {
281273
- neededTools.add(toolVerb);
281273
+ const types5 = neededTools.get(toolVerb) ?? [];
281274
+ if (!types5.includes(type3))
281275
+ types5.push(type3);
281276
+ neededTools.set(toolVerb, types5);
281274
281277
  } else {
281275
281278
  logger.warn(`No CLI tool mapping found for project type '${type3}'. Pack may fail.`);
281276
281279
  }
281277
281280
  }
281278
- for (const toolVerb of neededTools) {
281281
+ for (const [toolVerb, types5] of neededTools) {
281279
281282
  logger.info(`Loading packager factory for '${toolVerb}' to handle project types...`);
281280
281283
  await ensurePackagerFactory(toolVerb);
281284
+ const stillMissing = types5.filter((type3) => !toolsFactoryRepository2.canHandleProject(type3));
281285
+ if (stillMissing.length > 0) {
281286
+ throw new Error(`Loaded '${toolVerb}' but it registered no packager factory for ` + `project type${stillMissing.length > 1 ? "s" : ""} ` + `${stillMissing.map((t13) => `'${t13}'`).join(", ")}. ` + `Reinstall it with 'uip tools install ${toolVerb}' — the ` + `copy on disk is missing its packager entry point or is off ` + `the CLI's release line.`);
281287
+ }
281281
281288
  }
281282
281289
  }
281283
281290
 
@@ -281630,4 +281637,4 @@ export {
281630
281637
  packSolutionAsync
281631
281638
  };
281632
281639
 
281633
- //# debugId=80FF8D55B7F27A8D64756E2164756E21
281640
+ //# debugId=B90A7D923DC8ACD464756E2164756E21
package/dist/publish.js CHANGED
@@ -30734,7 +30734,7 @@ class TextApiResponse2 {
30734
30734
  var package_default2 = {
30735
30735
  name: "@uipath/solution-sdk",
30736
30736
  license: "MIT",
30737
- version: "1.199.0-preview.111",
30737
+ version: "1.199.0-preview.112",
30738
30738
  repository: {
30739
30739
  type: "git",
30740
30740
  url: "https://github.com/UiPath/cli.git",
@@ -33509,4 +33509,4 @@ export {
33509
33509
  publishSolutionAsync
33510
33510
  };
33511
33511
 
33512
- //# debugId=2BBE8EC2C725495564756E2164756E21
33512
+ //# debugId=575B52AC6CE0A66F64756E2164756E21
package/dist/tool.js CHANGED
@@ -30536,7 +30536,7 @@ import"./packager-tool.js";
30536
30536
  var package_default = {
30537
30537
  name: "@uipath/solution-tool",
30538
30538
  license: "MIT",
30539
- version: "1.199.0-preview.111",
30539
+ version: "1.199.0-preview.112",
30540
30540
  description: "Create, pack, publish, and deploy UiPath Automation Solutions.",
30541
30541
  repository: {
30542
30542
  type: "git",
@@ -64413,7 +64413,7 @@ var sdkUserAgentHostToken22 = singleton22("SdkUserAgentHostToken");
64413
64413
  var package_default2 = {
64414
64414
  name: "@uipath/project-packager",
64415
64415
  license: "MIT",
64416
- version: "1.199.0-preview.111",
64416
+ version: "1.199.0-preview.112",
64417
64417
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
64418
64418
  type: "module",
64419
64419
  main: "./dist/index.js",
@@ -76559,7 +76559,7 @@ var sdkUserAgentHostToken23 = singleton23("SdkUserAgentHostToken");
76559
76559
  var package_default3 = {
76560
76560
  name: "@uipath/project-packager",
76561
76561
  license: "MIT",
76562
- version: "1.199.0-preview.111",
76562
+ version: "1.199.0-preview.112",
76563
76563
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
76564
76564
  type: "module",
76565
76565
  main: "./dist/index.js",
@@ -78819,20 +78819,27 @@ async function ensurePackagerTools(solutionDir, fs9) {
78819
78819
  const projectTypes = await readProjectTypes(solutionDir, fs9);
78820
78820
  if (projectTypes.length === 0)
78821
78821
  return;
78822
- const neededTools = new Set;
78822
+ const neededTools = new Map;
78823
78823
  for (const type3 of projectTypes) {
78824
78824
  if (toolsFactoryRepository2.canHandleProject(type3))
78825
78825
  continue;
78826
78826
  const toolVerb = PROJECT_TYPE_TO_TOOL.get(type3);
78827
78827
  if (toolVerb) {
78828
- neededTools.add(toolVerb);
78828
+ const types4 = neededTools.get(toolVerb) ?? [];
78829
+ if (!types4.includes(type3))
78830
+ types4.push(type3);
78831
+ neededTools.set(toolVerb, types4);
78829
78832
  } else {
78830
78833
  logger.warn(`No CLI tool mapping found for project type '${type3}'. Pack may fail.`);
78831
78834
  }
78832
78835
  }
78833
- for (const toolVerb of neededTools) {
78836
+ for (const [toolVerb, types4] of neededTools) {
78834
78837
  logger.info(`Loading packager factory for '${toolVerb}' to handle project types...`);
78835
78838
  await ensurePackagerFactory(toolVerb);
78839
+ const stillMissing = types4.filter((type3) => !toolsFactoryRepository2.canHandleProject(type3));
78840
+ if (stillMissing.length > 0) {
78841
+ throw new Error(`Loaded '${toolVerb}' but it registered no packager factory for ` + `project type${stillMissing.length > 1 ? "s" : ""} ` + `${stillMissing.map((t3) => `'${t3}'`).join(", ")}. ` + `Reinstall it with 'uip tools install ${toolVerb}' — the ` + `copy on disk is missing its packager entry point or is off ` + `the CLI's release line.`);
78842
+ }
78836
78843
  }
78837
78844
  }
78838
78845
 
@@ -82113,7 +82120,7 @@ class TextApiResponse2 {
82113
82120
  var package_default5 = {
82114
82121
  name: "@uipath/solution-sdk",
82115
82122
  license: "MIT",
82116
- version: "1.199.0-preview.111",
82123
+ version: "1.199.0-preview.112",
82117
82124
  repository: {
82118
82125
  type: "git",
82119
82126
  url: "https://github.com/UiPath/cli.git",
@@ -108778,4 +108785,4 @@ export {
108778
108785
  metadata
108779
108786
  };
108780
108787
 
108781
- //# debugId=EC0848FA0FED428264756E2164756E21
108788
+ //# debugId=C22B4EA0070964D664756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/solution-tool",
3
3
  "license": "MIT",
4
- "version": "1.199.0-preview.111",
4
+ "version": "1.199.0-preview.112",
5
5
  "description": "Create, pack, publish, and deploy UiPath Automation Solutions.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -46,5 +46,5 @@
46
46
  "dist"
47
47
  ],
48
48
  "private": false,
49
- "gitHead": "1a86625f94b9abd4d02444b8c5deec7e9d08d210"
49
+ "gitHead": "6c234a4d766b301221d9de923043594002836554"
50
50
  }