@uipath/solution-tool 1.204.0-preview.255 → 1.205.0-preview.256

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 (122) hide show
  1. package/README.md +3 -3
  2. package/dist/THIRD-PARTY-NOTICES.md +2 -2
  3. package/dist/archive-extract-x35t9ktj.js +120 -0
  4. package/dist/cleanup-command-service-n4e7vxnw.js +149 -0
  5. package/dist/deploy-delete-service-cag0q8yx.js +25 -0
  6. package/dist/deploy-run-service-f0h8wb9w.js +25 -0
  7. package/dist/{deploy-status-service-6svq7c6w.js → deploy-status-service-yh6xn6e0.js} +41 -33
  8. package/dist/deploy.js +23 -17
  9. package/dist/{deployment-search-v2qtz23x.js → deployment-search-mnywd9nc.js} +16 -10
  10. package/dist/{embedded-file-reader-rf2g1kfj.js → embedded-file-reader-z4becc02.js} +2 -2
  11. package/dist/{feed-resolver-xz3akamf.js → feed-resolver-fve33dxq.js} +10 -9
  12. package/dist/feed-scope-failure-jmg4t1r1.js +19 -0
  13. package/dist/{feed-session-sxga31vn.js → feed-session-7xqphdrg.js} +3 -3
  14. package/dist/governance-options-4vxz7ekn.js +32 -0
  15. package/dist/index-g8c8nf1c.js +667 -0
  16. package/dist/index-prm27bvm.js +138 -0
  17. package/dist/index.js +27 -29
  18. package/dist/init.js +11 -10
  19. package/dist/{list-tjetkspc.js → list-50mepbed.js} +10 -8
  20. package/dist/models/pack-command-types.d.ts +15 -0
  21. package/dist/node-7jm7ksqa.js +86 -0
  22. package/dist/pack-command-service-dewf5vsq.js +35 -0
  23. package/dist/pack-project-xwd1rbaa.js +97 -0
  24. package/dist/pack.js +24 -14
  25. package/dist/package-id-1wr3cy9c.js +13 -0
  26. package/dist/packager-tool-09swr9cp.js +171 -0
  27. package/dist/{packager-tool-a9jx8gf4.js → packager-tool-2vmsh5pt.js} +196 -1519
  28. package/dist/{packager-tool-px1j9kre.js → packager-tool-3bwnkjdq.js} +2 -2
  29. package/dist/{packager-tool-gb35b4qs.js → packager-tool-43ahv5mn.js} +192 -96
  30. package/dist/{packager-tool-9ha2z8h5.js → packager-tool-47by487p.js} +6 -4
  31. package/dist/packager-tool-47wzvqw0.js +86 -0
  32. package/dist/{packager-tool-zns6n8zp.js → packager-tool-5ddtwzva.js} +1 -1
  33. package/dist/packager-tool-5edvzz80.js +543 -0
  34. package/dist/{packager-tool-jq9zw82w.js → packager-tool-5n6jsn41.js} +104 -14
  35. package/dist/packager-tool-60af1hw2.js +26 -0
  36. package/dist/{packager-tool-f5gq77m5.js → packager-tool-61pwb567.js} +2 -2
  37. package/dist/{packager-tool-yrz4mwfn.js → packager-tool-6kz1pv9f.js} +1373 -486
  38. package/dist/packager-tool-6ybywxxn.js +1809 -0
  39. package/dist/packager-tool-8ptbmmmp.js +2132 -0
  40. package/dist/{packager-tool-7gr2nphb.js → packager-tool-97rcgwvv.js} +224 -6
  41. package/dist/{packager-tool-83m6ns0r.js → packager-tool-9t26kde1.js} +3556 -1646
  42. package/dist/packager-tool-act5r386.js +239 -0
  43. package/dist/packager-tool-amhyxzz6.js +125 -0
  44. package/dist/packager-tool-b03rva43.js +188 -0
  45. package/dist/{packager-tool-e2rtr49j.js → packager-tool-b2nhscfk.js} +15 -31
  46. package/dist/{packager-tool-tv9c1e80.js → packager-tool-d6rrfd46.js} +149 -53
  47. package/dist/packager-tool-frr2xmkr.js +445 -0
  48. package/dist/{packager-tool-v8bkkqdb.js → packager-tool-gmwva4yv.js} +5 -5
  49. package/dist/packager-tool-gs3f3tf7.js +103 -0
  50. package/dist/packager-tool-jg692f13.js +517 -0
  51. package/dist/packager-tool-jmpb786m.js +109 -0
  52. package/dist/{packager-tool-5sex4a1h.js → packager-tool-kds8ytzw.js} +74 -23
  53. package/dist/packager-tool-kkfb5kgn.js +182 -0
  54. package/dist/packager-tool-kvcxg0zv.js +1510 -0
  55. package/dist/packager-tool-n3jfjn5r.js +42 -0
  56. package/dist/{packager-tool-fjsn5h8s.js → packager-tool-n5d5dx5j.js} +2196 -3455
  57. package/dist/{packager-tool-yfpcvdpm.js → packager-tool-nsya65z1.js} +357 -1370
  58. package/dist/{packager-tool-fv7xyzg2.js → packager-tool-pbmqk39a.js} +126 -128
  59. package/dist/{packager-tool-bqre28m1.js → packager-tool-qw47eyw7.js} +1 -1
  60. package/dist/{packager-tool-9qgmwy21.js → packager-tool-rc3hwn4b.js} +25 -4
  61. package/dist/packager-tool-resolver-994z3jkj.js +23 -0
  62. package/dist/{packager-tool-tgw5x6vx.js → packager-tool-rvt68c1t.js} +17 -8
  63. package/dist/{packager-tool-gab9y5ct.js → packager-tool-t8gh825q.js} +37 -13
  64. package/dist/{packager-tool-kswwd3hp.js → packager-tool-tx834spe.js} +2376 -4077
  65. package/dist/{packager-tool-zf3929se.js → packager-tool-v1f5e8t9.js} +11 -1
  66. package/dist/{packager-tool-ssq2kzqm.js → packager-tool-w77d72a7.js} +13 -11
  67. package/dist/{packager-tool-1rzssy0x.js → packager-tool-wy4fx250.js} +19 -18
  68. package/dist/packager-tool-wz34ma3s.js +1333 -0
  69. package/dist/packager-tool-zq16e1xv.js +68 -0
  70. package/dist/packager-tool.js +2 -2
  71. package/dist/prepare-solution-resources-m1djfj62.js +29 -0
  72. package/dist/project-command-utils-t6pmpvq3.js +90 -0
  73. package/dist/project-contributions-79ndycrx.js +32 -0
  74. package/dist/publish.js +13 -12
  75. package/dist/resource-mutations-c3krjqze.js +36 -0
  76. package/dist/resource-version-lookup-0e3e2j58.js +99 -0
  77. package/dist/resource.js +10 -9
  78. package/dist/restore-command-service-5v0b9363.js +155 -0
  79. package/dist/run-service-tg6b67wp.js +428 -0
  80. package/dist/services/deploy-activate-service.d.ts +10 -5
  81. package/dist/services/deploy-delete-service.d.ts +8 -4
  82. package/dist/services/deploy-run-service.d.ts +34 -1
  83. package/dist/services/deploy-uninstall-service.d.ts +21 -3
  84. package/dist/services/deploy-upgrade-service.d.ts +35 -1
  85. package/dist/services/deployment-feed-locator.d.ts +15 -4
  86. package/dist/services/deployment-search-client.d.ts +5 -53
  87. package/dist/services/deployment-search.d.ts +58 -3
  88. package/dist/services/deployment-state.d.ts +84 -24
  89. package/dist/services/deployment-validation.d.ts +5 -0
  90. package/dist/services/emit-runtime-dependencies.d.ts +2 -1
  91. package/dist/services/feed-resolver.d.ts +6 -4
  92. package/dist/services/feed-selection.d.ts +47 -0
  93. package/dist/services/http-status.d.ts +2 -7
  94. package/dist/services/pack-command-service.d.ts +9 -0
  95. package/dist/services/pack-project-selection.d.ts +51 -0
  96. package/dist/services/pack-project.d.ts +26 -0
  97. package/dist/services/pack-service.d.ts +7 -3
  98. package/dist/services/package-search-client.d.ts +7 -0
  99. package/dist/services/packager-tool-resolver.d.ts +7 -1
  100. package/dist/services/packages-list-service.d.ts +1 -1
  101. package/dist/services/permanent-deletion-consent.d.ts +110 -0
  102. package/dist/services/pipeline-deploy-poll.d.ts +7 -0
  103. package/dist/services/prepare-solution-resources.d.ts +12 -2
  104. package/dist/services/project-contributions.d.ts +5 -4
  105. package/dist/services/search-failure.d.ts +9 -13
  106. package/dist/services/solution-packager-helpers.d.ts +5 -2
  107. package/dist/services/solution-path.d.ts +1 -1
  108. package/dist/services/uninstall-consent.d.ts +82 -0
  109. package/dist/ship-telemetry-myes7ak5.js +21 -0
  110. package/dist/solution-auth-aead70sw.js +11 -0
  111. package/dist/templates/AGENTS.md +125 -12
  112. package/dist/tool.js +27 -29
  113. package/dist/utils/deployment-errors.d.ts +9 -1
  114. package/package.json +2 -2
  115. package/dist/deploy-delete-service-w3e8x1kq.js +0 -22
  116. package/dist/feed-scope-failure-0j5byccb.js +0 -18
  117. package/dist/packager-tool-f2e9rzxk.js +0 -104
  118. package/dist/packager-tool-resolver-6zwhec62.js +0 -20
  119. package/dist/packager-tool-zdfn32bc.js +0 -4465
  120. package/dist/prepare-solution-resources-jpb5as2s.js +0 -25
  121. package/dist/project-contributions-6wpff2hm.js +0 -30
  122. package/dist/services/legacy-deployment-search-v3.d.ts +0 -23
@@ -182,6 +182,16 @@ class NodeFileSystem {
182
182
  async rename(oldPath, newPath) {
183
183
  await fs.rename(oldPath, newPath);
184
184
  }
185
+ async isSymbolicLink(filePath) {
186
+ try {
187
+ return (await fs.lstat(filePath)).isSymbolicLink();
188
+ } catch (error) {
189
+ if (this.isEnoent(error) || this.hasErrnoCode(error, "ENOTDIR")) {
190
+ return false;
191
+ }
192
+ throw error;
193
+ }
194
+ }
185
195
  async realpath(filePath) {
186
196
  try {
187
197
  return await fs.realpath(filePath);
@@ -234,4 +244,4 @@ var getFileSystem = () => fsInstance;
234
244
 
235
245
  export { NodeFileSystem, getFileSystem };
236
246
 
237
- //# debugId=E06D65CFBE49DC8C64756E2164756E21
247
+ //# debugId=C097B4FF8DD97C0C64756E2164756E21
@@ -1,25 +1,27 @@
1
- import {
2
- Configuration,
3
- PipelinesApi
4
- } from "./packager-tool-7gr2nphb.js";
5
1
  import {
6
2
  feedScopeInitOverride,
7
3
  resolveFeedScope
8
- } from "./packager-tool-tgw5x6vx.js";
4
+ } from "./packager-tool-rvt68c1t.js";
5
+ import {
6
+ Configuration,
7
+ PipelinesApi
8
+ } from "./packager-tool-97rcgwvv.js";
9
9
  import {
10
10
  getSolutionAuthContext
11
- } from "./packager-tool-f5gq77m5.js";
11
+ } from "./packager-tool-61pwb567.js";
12
12
  import {
13
13
  PollOutcome,
14
- catchError,
15
- extractErrorDetails,
16
14
  logger,
17
15
  mapPollFailure,
18
16
  pollUntil
19
- } from "./packager-tool-kswwd3hp.js";
17
+ } from "./packager-tool-tx834spe.js";
18
+ import {
19
+ catchError,
20
+ extractErrorDetails
21
+ } from "./packager-tool-6ybywxxn.js";
20
22
  import {
21
23
  getFileSystem
22
- } from "./packager-tool-zf3929se.js";
24
+ } from "./packager-tool-v1f5e8t9.js";
23
25
  import {
24
26
  strFromU8,
25
27
  strToU8,
@@ -334,4 +336,4 @@ async function mapUploadError(uploadError) {
334
336
 
335
337
  export { publishSolutionAsync };
336
338
 
337
- //# debugId=1A9ADF95167C0E9D64756E2164756E21
339
+ //# debugId=20F0484E4118DAEE64756E2164756E21
@@ -1,23 +1,25 @@
1
1
  import {
2
2
  toolVerbForProjectType
3
- } from "./packager-tool-e2rtr49j.js";
3
+ } from "./packager-tool-60af1hw2.js";
4
4
  import {
5
5
  computeEntryPointSpec,
6
6
  createResourceBuilderServices,
7
7
  hasAnyTemplateRow,
8
8
  hasBareTemplateRow,
9
9
  readUipxProjects
10
- } from "./packager-tool-yrz4mwfn.js";
10
+ } from "./packager-tool-6kz1pv9f.js";
11
11
  import {
12
12
  toolsFactoryRepository
13
- } from "./packager-tool-fv7xyzg2.js";
13
+ } from "./packager-tool-pbmqk39a.js";
14
14
  import {
15
- catchError,
16
15
  logger
17
- } from "./packager-tool-kswwd3hp.js";
16
+ } from "./packager-tool-tx834spe.js";
17
+ import {
18
+ catchError
19
+ } from "./packager-tool-6ybywxxn.js";
18
20
  import {
19
21
  getFileSystem
20
- } from "./packager-tool-zf3929se.js";
22
+ } from "./packager-tool-v1f5e8t9.js";
21
23
 
22
24
  // src/services/project-contributions.ts
23
25
  var ENTRY_POINT_RESOURCE_KIND = "process";
@@ -39,18 +41,17 @@ class ProjectContributionsError extends Error {
39
41
  this.contributionCode = everyCoded && new Set(codes).size === 1 ? codes[0] : undefined;
40
42
  }
41
43
  }
42
- async function collectProjectContributions(solutionDir, fs = getFileSystem()) {
44
+ async function collectProjectContributions(solutionDir, fs = getFileSystem(), onlyProjectId) {
43
45
  const byProject = new Map;
44
- const skipped = [];
45
- const projects = await readUipxProjects(solutionDir);
46
+ const projects = (await readUipxProjects(solutionDir)).filter((project) => onlyProjectId === undefined || project.id === onlyProjectId);
46
47
  for (const project of projects) {
47
48
  if (!toolsFactoryRepository.canHandleProject(project.type))
48
49
  continue;
49
50
  const factory = toolsFactoryRepository.getProjectToolFactory(project.type);
50
51
  if (typeof factory.describeResourcesAsync !== "function") {
51
- const verb = toolVerbForProjectType(project.type);
52
- const update = verb ? `update the tool that provides it ('uip tools install ${verb}')` : "update the tool that provides it";
53
52
  if (!hasBareTemplateRow(project.type) && hasAnyTemplateRow(project.type)) {
53
+ const verb = toolVerbForProjectType(project.type);
54
+ const update = verb ? `update the tool that provides it ('uip tools install ${verb}')` : "update the tool that provides it";
54
55
  byProject.set(project.id, {
55
56
  errors: [
56
57
  {
@@ -62,12 +63,12 @@ async function collectProjectContributions(solutionDir, fs = getFileSystem()) {
62
63
  });
63
64
  continue;
64
65
  }
65
- const notice = `Project '${project.name}' (${project.type}) was not checked for resource contributions; ${update}.`;
66
- skipped.push(notice);
67
- logger.warn(notice);
66
+ logger.debug(`Project '${project.name}' (${project.type}) contributed nothing: its registered tool factory does not implement describeResourcesAsync.`);
68
67
  continue;
69
68
  }
70
- const [describeError, contribution] = await catchError(factory.describeResourcesAsync(project.path, fs));
69
+ const [describeError, contribution] = await catchError(factory.describeResourcesAsync(project.path, fs, {
70
+ sharesSolutionDirectory: fs.path.resolve(project.path) === fs.path.resolve(solutionDir)
71
+ }));
71
72
  if (describeError) {
72
73
  byProject.set(project.id, {
73
74
  errors: [
@@ -83,7 +84,7 @@ async function collectProjectContributions(solutionDir, fs = getFileSystem()) {
83
84
  if (contribution)
84
85
  byProject.set(project.id, contribution);
85
86
  }
86
- return { byProject, skipped };
87
+ return { byProject };
87
88
  }
88
89
  function assertNoContributionErrors(contributions) {
89
90
  const errors = [...contributions.byProject.values()].flatMap((c) => c.errors ?? []);
@@ -97,7 +98,7 @@ function contributionErrorMessages(contributions) {
97
98
  async function applyProjectContributions(solutionDir, contributions, options, fs = getFileSystem()) {
98
99
  const result = {
99
100
  updated: 0,
100
- warnings: [...contributions.skipped]
101
+ warnings: []
101
102
  };
102
103
  const services = await createResourceBuilderServices();
103
104
  const builder = await services.getSolutionBuilder(solutionDir);
@@ -187,4 +188,4 @@ function isSameSpecValue(a, b) {
187
188
 
188
189
  export { ProjectContributionsError, collectProjectContributions, assertNoContributionErrors, contributionErrorMessages, applyProjectContributions };
189
190
 
190
- //# debugId=44C1EE84E4A52AC964756E2164756E21
191
+ //# debugId=4C90A8D03AA20F3464756E2164756E21