@uipath/solution-tool 1.204.0-preview.254 → 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.
- package/README.md +3 -3
- package/dist/THIRD-PARTY-NOTICES.md +2 -2
- package/dist/archive-extract-x35t9ktj.js +120 -0
- package/dist/cleanup-command-service-n4e7vxnw.js +149 -0
- package/dist/deploy-delete-service-cag0q8yx.js +25 -0
- package/dist/deploy-run-service-f0h8wb9w.js +25 -0
- package/dist/{deploy-status-service-sa302ab9.js → deploy-status-service-yh6xn6e0.js} +41 -33
- package/dist/deploy.js +23 -17
- package/dist/{deployment-search-692d15j3.js → deployment-search-mnywd9nc.js} +16 -10
- package/dist/{embedded-file-reader-rf2g1kfj.js → embedded-file-reader-z4becc02.js} +2 -2
- package/dist/{feed-resolver-yybwzmh6.js → feed-resolver-fve33dxq.js} +10 -9
- package/dist/feed-scope-failure-jmg4t1r1.js +19 -0
- package/dist/{feed-session-sxga31vn.js → feed-session-7xqphdrg.js} +3 -3
- package/dist/governance-options-4vxz7ekn.js +32 -0
- package/dist/index-g8c8nf1c.js +667 -0
- package/dist/index-prm27bvm.js +138 -0
- package/dist/index.js +27 -29
- package/dist/init.js +11 -10
- package/dist/{list-0qrxqrfn.js → list-50mepbed.js} +10 -8
- package/dist/models/pack-command-types.d.ts +15 -0
- package/dist/node-7jm7ksqa.js +86 -0
- package/dist/pack-command-service-dewf5vsq.js +35 -0
- package/dist/pack-project-xwd1rbaa.js +97 -0
- package/dist/pack.js +24 -14
- package/dist/package-id-1wr3cy9c.js +13 -0
- package/dist/packager-tool-09swr9cp.js +171 -0
- package/dist/{packager-tool-dapys0dd.js → packager-tool-2vmsh5pt.js} +196 -1519
- package/dist/{packager-tool-px1j9kre.js → packager-tool-3bwnkjdq.js} +2 -2
- package/dist/{packager-tool-gb35b4qs.js → packager-tool-43ahv5mn.js} +192 -96
- package/dist/{packager-tool-5v92rtp2.js → packager-tool-47by487p.js} +6 -4
- package/dist/packager-tool-47wzvqw0.js +86 -0
- package/dist/{packager-tool-zns6n8zp.js → packager-tool-5ddtwzva.js} +1 -1
- package/dist/packager-tool-5edvzz80.js +543 -0
- package/dist/{packager-tool-13dsb9e6.js → packager-tool-5n6jsn41.js} +104 -14
- package/dist/packager-tool-60af1hw2.js +26 -0
- package/dist/{packager-tool-f5gq77m5.js → packager-tool-61pwb567.js} +2 -2
- package/dist/{packager-tool-yrz4mwfn.js → packager-tool-6kz1pv9f.js} +1373 -486
- package/dist/packager-tool-6ybywxxn.js +1809 -0
- package/dist/packager-tool-8ptbmmmp.js +2132 -0
- package/dist/{packager-tool-7gr2nphb.js → packager-tool-97rcgwvv.js} +224 -6
- package/dist/{packager-tool-9z1yxjme.js → packager-tool-9t26kde1.js} +3556 -1646
- package/dist/packager-tool-act5r386.js +239 -0
- package/dist/packager-tool-amhyxzz6.js +125 -0
- package/dist/packager-tool-b03rva43.js +188 -0
- package/dist/{packager-tool-e2rtr49j.js → packager-tool-b2nhscfk.js} +15 -31
- package/dist/{packager-tool-v8rseyfk.js → packager-tool-d6rrfd46.js} +149 -53
- package/dist/packager-tool-frr2xmkr.js +445 -0
- package/dist/{packager-tool-v8bkkqdb.js → packager-tool-gmwva4yv.js} +5 -5
- package/dist/packager-tool-gs3f3tf7.js +103 -0
- package/dist/packager-tool-jg692f13.js +517 -0
- package/dist/packager-tool-jmpb786m.js +109 -0
- package/dist/{packager-tool-4ytxbjez.js → packager-tool-kds8ytzw.js} +74 -23
- package/dist/packager-tool-kkfb5kgn.js +182 -0
- package/dist/packager-tool-kvcxg0zv.js +1510 -0
- package/dist/packager-tool-n3jfjn5r.js +42 -0
- package/dist/{packager-tool-8sx1w3h1.js → packager-tool-n5d5dx5j.js} +2196 -3455
- package/dist/{packager-tool-97w8aw8y.js → packager-tool-nsya65z1.js} +357 -1370
- package/dist/{packager-tool-fv7xyzg2.js → packager-tool-pbmqk39a.js} +126 -128
- package/dist/{packager-tool-bqre28m1.js → packager-tool-qw47eyw7.js} +1 -1
- package/dist/{packager-tool-erp9bv22.js → packager-tool-rc3hwn4b.js} +25 -4
- package/dist/packager-tool-resolver-994z3jkj.js +23 -0
- package/dist/{packager-tool-d9ethrmn.js → packager-tool-rvt68c1t.js} +17 -8
- package/dist/{packager-tool-gab9y5ct.js → packager-tool-t8gh825q.js} +37 -13
- package/dist/{packager-tool-kswwd3hp.js → packager-tool-tx834spe.js} +2376 -4077
- package/dist/{packager-tool-zf3929se.js → packager-tool-v1f5e8t9.js} +11 -1
- package/dist/{packager-tool-wjk91v0q.js → packager-tool-w77d72a7.js} +13 -11
- package/dist/{packager-tool-1rzssy0x.js → packager-tool-wy4fx250.js} +19 -18
- package/dist/packager-tool-wz34ma3s.js +1333 -0
- package/dist/packager-tool-zq16e1xv.js +68 -0
- package/dist/packager-tool.js +2 -2
- package/dist/prepare-solution-resources-m1djfj62.js +29 -0
- package/dist/project-command-utils-t6pmpvq3.js +90 -0
- package/dist/project-contributions-79ndycrx.js +32 -0
- package/dist/publish.js +13 -12
- package/dist/resource-mutations-c3krjqze.js +36 -0
- package/dist/resource-version-lookup-0e3e2j58.js +99 -0
- package/dist/resource.js +10 -9
- package/dist/restore-command-service-5v0b9363.js +155 -0
- package/dist/run-service-tg6b67wp.js +428 -0
- package/dist/services/deploy-activate-service.d.ts +10 -5
- package/dist/services/deploy-delete-service.d.ts +8 -4
- package/dist/services/deploy-run-service.d.ts +34 -1
- package/dist/services/deploy-uninstall-service.d.ts +21 -3
- package/dist/services/deploy-upgrade-service.d.ts +35 -1
- package/dist/services/deployment-feed-locator.d.ts +15 -4
- package/dist/services/deployment-search-client.d.ts +5 -53
- package/dist/services/deployment-search.d.ts +58 -3
- package/dist/services/deployment-state.d.ts +84 -24
- package/dist/services/deployment-validation.d.ts +5 -0
- package/dist/services/emit-runtime-dependencies.d.ts +2 -1
- package/dist/services/feed-resolver.d.ts +6 -4
- package/dist/services/feed-selection.d.ts +47 -0
- package/dist/services/http-status.d.ts +2 -7
- package/dist/services/pack-command-service.d.ts +9 -0
- package/dist/services/pack-project-selection.d.ts +51 -0
- package/dist/services/pack-project.d.ts +26 -0
- package/dist/services/pack-service.d.ts +7 -3
- package/dist/services/package-search-client.d.ts +7 -0
- package/dist/services/packager-tool-resolver.d.ts +7 -1
- package/dist/services/packages-list-service.d.ts +1 -1
- package/dist/services/permanent-deletion-consent.d.ts +110 -0
- package/dist/services/pipeline-deploy-poll.d.ts +7 -0
- package/dist/services/prepare-solution-resources.d.ts +12 -2
- package/dist/services/project-contributions.d.ts +5 -4
- package/dist/services/search-failure.d.ts +9 -13
- package/dist/services/solution-packager-helpers.d.ts +5 -2
- package/dist/services/solution-path.d.ts +1 -1
- package/dist/services/uninstall-consent.d.ts +82 -0
- package/dist/ship-telemetry-myes7ak5.js +21 -0
- package/dist/solution-auth-aead70sw.js +11 -0
- package/dist/templates/AGENTS.md +125 -12
- package/dist/tool.js +27 -29
- package/dist/utils/deployment-errors.d.ts +9 -1
- package/package.json +2 -2
- package/dist/deploy-delete-service-7fms6rrp.js +0 -22
- package/dist/feed-scope-failure-kf94beem.js +0 -18
- package/dist/packager-tool-f2e9rzxk.js +0 -104
- package/dist/packager-tool-resolver-6zwhec62.js +0 -20
- package/dist/packager-tool-zdfn32bc.js +0 -4465
- package/dist/prepare-solution-resources-jpb5as2s.js +0 -25
- package/dist/project-contributions-6wpff2hm.js +0 -30
- 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=
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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=
|
|
339
|
+
//# debugId=20F0484E4118DAEE64756E2164756E21
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolVerbForProjectType
|
|
3
|
-
} from "./packager-tool-
|
|
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-
|
|
10
|
+
} from "./packager-tool-6kz1pv9f.js";
|
|
11
11
|
import {
|
|
12
12
|
toolsFactoryRepository
|
|
13
|
-
} from "./packager-tool-
|
|
13
|
+
} from "./packager-tool-pbmqk39a.js";
|
|
14
14
|
import {
|
|
15
|
-
catchError,
|
|
16
15
|
logger
|
|
17
|
-
} from "./packager-tool-
|
|
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-
|
|
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
|
|
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
|
-
|
|
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
|
|
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: [
|
|
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=
|
|
191
|
+
//# debugId=4C90A8D03AA20F3464756E2164756E21
|