@uipath/solution-tool 1.205.0-preview.285 → 1.205.0-preview.293
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/THIRD-PARTY-NOTICES.md +4 -4
- package/dist/{cleanup-command-service-8z7xw8a9.js → cleanup-command-service-rsefmszs.js} +7 -7
- package/dist/{deploy-delete-service-epcjrskm.js → deploy-delete-service-qacjqzwy.js} +6 -6
- package/dist/{deploy-run-service-jktacv9k.js → deploy-run-service-a47gasyw.js} +6 -6
- package/dist/{deploy-status-service-bzn69gyq.js → deploy-status-service-76rqyp2h.js} +5 -5
- package/dist/deploy.js +10 -10
- package/dist/{deployment-search-9t5hrgzj.js → deployment-search-h3kqwheh.js} +2 -2
- package/dist/{embedded-file-reader-z4becc02.js → embedded-file-reader-1r9d51g0.js} +16 -16
- package/dist/{feed-resolver-a9mec50t.js → feed-resolver-ckj23rc3.js} +2 -2
- package/dist/{feed-scope-failure-dehzd2p0.js → feed-scope-failure-9z1w3010.js} +3 -3
- package/dist/{governance-options-5ktxe2bg.js → governance-options-1h7tcv14.js} +4 -4
- package/dist/{index-prm27bvm.js → index-h6trt49c.js} +2 -2
- package/dist/{index-30dbryst.js → index-k9h2jm8a.js} +1 -1
- package/dist/{index-dqa169gp.js → index-ys3gmgf0.js} +1 -1
- package/dist/index.js +11 -11
- package/dist/init.js +2 -2
- package/dist/{list-zgjhyhgd.js → list-djx90dcn.js} +1 -1
- package/dist/{node-wd1a0aa7.js → node-j43bgjjb.js} +2 -2
- package/dist/{pack-command-service-rcc3mxz1.js → pack-command-service-eredf98e.js} +12 -12
- package/dist/{pack-project-whtg8pa2.js → pack-project-6g49c5ex.js} +9 -9
- package/dist/pack.js +13 -13
- package/dist/{package-id-8a7yr8kk.js → package-id-vdhkkf18.js} +2 -2
- package/dist/{packager-tool-5ddtwzva.js → packager-tool-06fr6txq.js} +55 -7
- package/dist/{packager-tool-dyne4k25.js → packager-tool-0nxxpj8r.js} +7 -7
- package/dist/{packager-tool-wbwjp1n0.js → packager-tool-0tk9frmt.js} +2 -2
- package/dist/{packager-tool-v520kh1j.js → packager-tool-2ybcxjdj.js} +1 -1
- package/dist/{packager-tool-14n4hq93.js → packager-tool-3hm0j0g4.js} +2 -2
- package/dist/{packager-tool-kthxtxk9.js → packager-tool-a631zppz.js} +4 -4
- package/dist/{packager-tool-kva0djbt.js → packager-tool-drttrwth.js} +1 -1
- package/dist/{packager-tool-sm5v9nc2.js → packager-tool-es2m7dbr.js} +6 -6
- package/dist/{packager-tool-ppwb3a6v.js → packager-tool-etkf57w1.js} +1 -1
- package/dist/{packager-tool-g92tppdk.js → packager-tool-eya026vv.js} +58 -58
- package/dist/{packager-tool-cy42607p.js → packager-tool-g0pvfrrw.js} +1 -1
- package/dist/{packager-tool-y9r3xy3r.js → packager-tool-gbb2mw4n.js} +1 -1
- package/dist/{packager-tool-nwts1k73.js → packager-tool-h74544xc.js} +1 -1
- package/dist/{packager-tool-t8gh825q.js → packager-tool-hhj5mwve.js} +3 -3
- package/dist/{packager-tool-gdtpsdn7.js → packager-tool-j98qvwdt.js} +8 -2
- package/dist/{packager-tool-8ah483g8.js → packager-tool-njmmj3kc.js} +5 -5
- package/dist/{packager-tool-b2nhscfk.js → packager-tool-pf3h9a23.js} +1 -1
- package/dist/{packager-tool-rbwvqqzk.js → packager-tool-pg6v6c68.js} +3 -3
- package/dist/{packager-tool-wy4fx250.js → packager-tool-ppvys3zk.js} +1 -1
- package/dist/{packager-tool-resolver-994z3jkj.js → packager-tool-resolver-3v0a2hcy.js} +2 -2
- package/dist/{packager-tool-yd5cwtvn.js → packager-tool-sn71nwfr.js} +2 -2
- package/dist/{packager-tool-6kz1pv9f.js → packager-tool-w10zjzrs.js} +219 -70
- package/dist/{packager-tool-qqhsz12y.js → packager-tool-whwm57wn.js} +1 -1
- package/dist/{packager-tool-wzjxjrq8.js → packager-tool-wy3nvxzq.js} +1 -1
- package/dist/{packager-tool-yypzrwm4.js → packager-tool-xnhfcw5v.js} +4 -4
- package/dist/{packager-tool-ny92vpjy.js → packager-tool-yacjrg13.js} +3 -3
- package/dist/{packager-tool-qgc4czmg.js → packager-tool-yawd9de3.js} +1 -1
- package/dist/packager-tool.js +1 -1
- package/dist/{prepare-solution-resources-m1djfj62.js → prepare-solution-resources-fkbw2fz0.js} +6 -6
- package/dist/{project-command-utils-t6pmpvq3.js → project-command-utils-w5c2n5jr.js} +2 -2
- package/dist/{project-contributions-79ndycrx.js → project-contributions-ajeveb9j.js} +5 -5
- package/dist/publish.js +3 -3
- package/dist/{resource-mutations-c3krjqze.js → resource-mutations-ah1nxgt7.js} +2 -2
- package/dist/{resource-version-lookup-0e3e2j58.js → resource-version-lookup-928papte.js} +2 -2
- package/dist/resource.js +2 -2
- package/dist/{restore-command-service-dzp1jmb2.js → restore-command-service-epsmy977.js} +7 -7
- package/dist/{run-service-n7qwm36d.js → run-service-cg3jg3d6.js} +16 -16
- package/dist/tool.js +11 -11
- package/package.json +2 -2
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
feedSelectorFlag,
|
|
6
6
|
folderKeyInitOverride,
|
|
7
7
|
resolveFeedScope
|
|
8
|
-
} from "./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
8
|
+
} from "./packager-tool-whwm57wn.js";
|
|
9
|
+
import"./packager-tool-yacjrg13.js";
|
|
10
10
|
import"./packager-tool-qw47eyw7.js";
|
|
11
11
|
import"./packager-tool-8ptbmmmp.js";
|
|
12
12
|
import"./packager-tool-5edvzz80.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveFeedScopeOrFailureAsync
|
|
3
|
-
} from "./packager-tool-
|
|
4
|
-
import"./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
3
|
+
} from "./packager-tool-2ybcxjdj.js";
|
|
4
|
+
import"./packager-tool-whwm57wn.js";
|
|
5
|
+
import"./packager-tool-yacjrg13.js";
|
|
6
6
|
import"./packager-tool-qw47eyw7.js";
|
|
7
7
|
import"./packager-tool-8ptbmmmp.js";
|
|
8
8
|
import"./packager-tool-5edvzz80.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
resolveGovernanceFileTypeAsync,
|
|
9
9
|
validateGovernanceOptions
|
|
10
10
|
} from "./packager-tool-47wzvqw0.js";
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import"./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
11
|
+
import"./packager-tool-pg6v6c68.js";
|
|
12
|
+
import"./packager-tool-wy3nvxzq.js";
|
|
13
|
+
import"./packager-tool-etkf57w1.js";
|
|
14
|
+
import"./packager-tool-sn71nwfr.js";
|
|
15
15
|
import"./packager-tool-pbmqk39a.js";
|
|
16
16
|
import"./packager-tool-tx834spe.js";
|
|
17
17
|
import"./packager-tool-6ybywxxn.js";
|
|
@@ -59,8 +59,8 @@ import {
|
|
|
59
59
|
uniqueNameForResource,
|
|
60
60
|
validateResourceName,
|
|
61
61
|
writeSolutionFile
|
|
62
|
-
} from "./packager-tool-
|
|
63
|
-
import"./packager-tool-
|
|
62
|
+
} from "./packager-tool-w10zjzrs.js";
|
|
63
|
+
import"./packager-tool-j98qvwdt.js";
|
|
64
64
|
import"./packager-tool-53w8skv5.js";
|
|
65
65
|
import"./packager-tool-pbmqk39a.js";
|
|
66
66
|
import"./packager-tool-61pwb567.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES,
|
|
9
9
|
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
|
|
10
10
|
StreamSerializer
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-j98qvwdt.js";
|
|
12
12
|
import"./packager-tool-1de529jm.js";
|
|
13
13
|
export {
|
|
14
14
|
CAMEL_CASE_ENUM_PROPERTIES,
|
package/dist/index.js
CHANGED
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-eya026vv.js";
|
|
6
6
|
import"./packager-tool-kkfb5kgn.js";
|
|
7
7
|
import"./packager-tool-amhyxzz6.js";
|
|
8
8
|
import"./packager-tool-gmwva4yv.js";
|
|
9
|
-
import"./packager-tool-
|
|
10
|
-
import"./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import"./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
9
|
+
import"./packager-tool-2ybcxjdj.js";
|
|
10
|
+
import"./packager-tool-0nxxpj8r.js";
|
|
11
|
+
import"./packager-tool-yawd9de3.js";
|
|
12
|
+
import"./packager-tool-0tk9frmt.js";
|
|
13
|
+
import"./packager-tool-xnhfcw5v.js";
|
|
14
|
+
import"./packager-tool-g0pvfrrw.js";
|
|
15
15
|
import"./packager-tool-act5r386.js";
|
|
16
|
-
import"./packager-tool-
|
|
16
|
+
import"./packager-tool-drttrwth.js";
|
|
17
17
|
import"./packager-tool-3bwnkjdq.js";
|
|
18
18
|
import"./packager-tool-gs3f3tf7.js";
|
|
19
|
-
import"./packager-tool-
|
|
20
|
-
import"./packager-tool-
|
|
19
|
+
import"./packager-tool-h74544xc.js";
|
|
20
|
+
import"./packager-tool-whwm57wn.js";
|
|
21
21
|
import"./packager-tool-97rcgwvv.js";
|
|
22
|
-
import"./packager-tool-
|
|
22
|
+
import"./packager-tool-yacjrg13.js";
|
|
23
23
|
import"./packager-tool-qw47eyw7.js";
|
|
24
24
|
import"./packager-tool-61pwb567.js";
|
|
25
25
|
import"./packager-tool-8ptbmmmp.js";
|
package/dist/init.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./packager-tool-3bwnkjdq.js";
|
|
5
5
|
import {
|
|
6
6
|
addProjectArtifactsToSolutionAsync
|
|
7
|
-
} from "./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
7
|
+
} from "./packager-tool-w10zjzrs.js";
|
|
8
|
+
import"./packager-tool-j98qvwdt.js";
|
|
9
9
|
import"./packager-tool-53w8skv5.js";
|
|
10
10
|
import"./packager-tool-pbmqk39a.js";
|
|
11
11
|
import"./packager-tool-61pwb567.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
NodePackageSignService,
|
|
5
5
|
createNodeProjectPackager,
|
|
6
6
|
createNodeProjectPublisher
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-etkf57w1.js";
|
|
8
8
|
import {
|
|
9
9
|
GovernancePolicyService,
|
|
10
10
|
PACKAGE_ID_TOO_LONG,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveProducedNupkgsAsync,
|
|
33
33
|
setGlobalLogHandler,
|
|
34
34
|
signNupkgsAsync
|
|
35
|
-
} from "./packager-tool-
|
|
35
|
+
} from "./packager-tool-sn71nwfr.js";
|
|
36
36
|
import"./packager-tool-pbmqk39a.js";
|
|
37
37
|
import {
|
|
38
38
|
DebugTelemetryProvider,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PackCommandService,
|
|
3
3
|
packFailureEnvelope
|
|
4
|
-
} from "./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
4
|
+
} from "./packager-tool-es2m7dbr.js";
|
|
5
|
+
import"./packager-tool-hhj5mwve.js";
|
|
6
|
+
import"./packager-tool-ppvys3zk.js";
|
|
7
7
|
import"./packager-tool-47wzvqw0.js";
|
|
8
|
-
import"./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
8
|
+
import"./packager-tool-gbb2mw4n.js";
|
|
9
|
+
import"./packager-tool-pf3h9a23.js";
|
|
10
10
|
import"./packager-tool-60af1hw2.js";
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import"./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
11
|
+
import"./packager-tool-pg6v6c68.js";
|
|
12
|
+
import"./packager-tool-wy3nvxzq.js";
|
|
13
|
+
import"./packager-tool-etkf57w1.js";
|
|
14
|
+
import"./packager-tool-sn71nwfr.js";
|
|
15
|
+
import"./packager-tool-06fr6txq.js";
|
|
16
16
|
import"./packager-tool-gs3f3tf7.js";
|
|
17
|
-
import"./packager-tool-
|
|
18
|
-
import"./packager-tool-
|
|
17
|
+
import"./packager-tool-w10zjzrs.js";
|
|
18
|
+
import"./packager-tool-j98qvwdt.js";
|
|
19
19
|
import"./packager-tool-53w8skv5.js";
|
|
20
20
|
import"./packager-tool-pbmqk39a.js";
|
|
21
21
|
import"./packager-tool-61pwb567.js";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertNoContributionErrors,
|
|
3
3
|
collectProjectContributions
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-ppvys3zk.js";
|
|
5
5
|
import {
|
|
6
6
|
ensurePackagerTools
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-pf3h9a23.js";
|
|
8
8
|
import"./packager-tool-60af1hw2.js";
|
|
9
9
|
import {
|
|
10
10
|
toProjectDiagnostics
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-pg6v6c68.js";
|
|
12
12
|
import {
|
|
13
13
|
readMemberPackageIdAsync
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-wy3nvxzq.js";
|
|
15
15
|
import {
|
|
16
16
|
createNodeProjectPackager
|
|
17
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-etkf57w1.js";
|
|
18
18
|
import {
|
|
19
19
|
PackService,
|
|
20
20
|
isPackageIdTooLongError
|
|
21
|
-
} from "./packager-tool-
|
|
22
|
-
import"./packager-tool-
|
|
21
|
+
} from "./packager-tool-sn71nwfr.js";
|
|
22
|
+
import"./packager-tool-06fr6txq.js";
|
|
23
23
|
import {
|
|
24
24
|
PackProjectError,
|
|
25
25
|
projectFolder,
|
|
26
26
|
resolvePackProjectAsync
|
|
27
27
|
} from "./packager-tool-gs3f3tf7.js";
|
|
28
|
-
import"./packager-tool-
|
|
29
|
-
import"./packager-tool-
|
|
28
|
+
import"./packager-tool-w10zjzrs.js";
|
|
29
|
+
import"./packager-tool-j98qvwdt.js";
|
|
30
30
|
import"./packager-tool-53w8skv5.js";
|
|
31
31
|
import"./packager-tool-pbmqk39a.js";
|
|
32
32
|
import"./packager-tool-61pwb567.js";
|
package/dist/pack.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packSolutionAsync
|
|
3
|
-
} from "./packager-tool-
|
|
4
|
-
import"./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
3
|
+
} from "./packager-tool-3hm0j0g4.js";
|
|
4
|
+
import"./packager-tool-es2m7dbr.js";
|
|
5
|
+
import"./packager-tool-hhj5mwve.js";
|
|
6
|
+
import"./packager-tool-ppvys3zk.js";
|
|
7
7
|
import"./packager-tool-47wzvqw0.js";
|
|
8
|
-
import"./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
8
|
+
import"./packager-tool-gbb2mw4n.js";
|
|
9
|
+
import"./packager-tool-pf3h9a23.js";
|
|
10
10
|
import"./packager-tool-60af1hw2.js";
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import"./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
11
|
+
import"./packager-tool-pg6v6c68.js";
|
|
12
|
+
import"./packager-tool-wy3nvxzq.js";
|
|
13
|
+
import"./packager-tool-etkf57w1.js";
|
|
14
|
+
import"./packager-tool-sn71nwfr.js";
|
|
15
|
+
import"./packager-tool-06fr6txq.js";
|
|
16
16
|
import"./packager-tool-gs3f3tf7.js";
|
|
17
|
-
import"./packager-tool-
|
|
18
|
-
import"./packager-tool-
|
|
17
|
+
import"./packager-tool-w10zjzrs.js";
|
|
18
|
+
import"./packager-tool-j98qvwdt.js";
|
|
19
19
|
import"./packager-tool-53w8skv5.js";
|
|
20
20
|
import"./packager-tool-pbmqk39a.js";
|
|
21
21
|
import"./packager-tool-61pwb567.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readMemberPackageIdAsync
|
|
3
|
-
} from "./packager-tool-
|
|
4
|
-
import"./packager-tool-
|
|
3
|
+
} from "./packager-tool-wy3nvxzq.js";
|
|
4
|
+
import"./packager-tool-sn71nwfr.js";
|
|
5
5
|
import"./packager-tool-pbmqk39a.js";
|
|
6
6
|
import"./packager-tool-6ybywxxn.js";
|
|
7
7
|
import"./packager-tool-dfrk01gn.js";
|
|
@@ -144,7 +144,7 @@ class ConnectorToolFactory {
|
|
|
144
144
|
return new ConnectorTool(fileSystem, logger);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
//
|
|
147
|
+
// node_modules/@uipath/resource-builder-tool/dist/index.js
|
|
148
148
|
function _define_property(obj, key, value) {
|
|
149
149
|
if (key in obj)
|
|
150
150
|
Object.defineProperty(obj, key, {
|
|
@@ -165,6 +165,16 @@ var KNOWN_ARCHIVE_FOLDERS = {
|
|
|
165
165
|
files: "files",
|
|
166
166
|
resources: "resources"
|
|
167
167
|
};
|
|
168
|
+
var KNOWN_PACKAGE_TYPES = {
|
|
169
|
+
standard: "Standard",
|
|
170
|
+
vertical: "Vertical"
|
|
171
|
+
};
|
|
172
|
+
var WELL_KNOWN_PROJECT_TYPES = {
|
|
173
|
+
process: "process"
|
|
174
|
+
};
|
|
175
|
+
var WELL_KNOWN_PROPERTY_NAMES = {
|
|
176
|
+
packageName: "packageName"
|
|
177
|
+
};
|
|
168
178
|
var PACKAGE_DEFAULTS = {
|
|
169
179
|
currentVersion: "v1",
|
|
170
180
|
defaultPackageVersion: "1.0.0",
|
|
@@ -239,9 +249,38 @@ function buildFailureMessage(failures) {
|
|
|
239
249
|
return lines.join(`
|
|
240
250
|
`);
|
|
241
251
|
}
|
|
252
|
+
function toPackageType(solutionType) {
|
|
253
|
+
if (solutionType == null)
|
|
254
|
+
return;
|
|
255
|
+
const canonical = Object.values(KNOWN_PACKAGE_TYPES).find((knownType) => knownType.toLowerCase() === solutionType.toLowerCase());
|
|
256
|
+
return canonical ?? solutionType;
|
|
257
|
+
}
|
|
242
258
|
function isArtefactResource(resource) {
|
|
243
259
|
return resource.projectKey != null && resource.projectKey.trim() !== "";
|
|
244
260
|
}
|
|
261
|
+
function isProcessArtefact(resource) {
|
|
262
|
+
return isArtefactResource(resource) && resource.kind?.toLowerCase() === WELL_KNOWN_PROJECT_TYPES.process;
|
|
263
|
+
}
|
|
264
|
+
function findDuplicateProcessPackageNames(resources) {
|
|
265
|
+
const seen = new Set;
|
|
266
|
+
const duplicates = new Set;
|
|
267
|
+
for (const resource of resources) {
|
|
268
|
+
if (!isProcessArtefact(resource))
|
|
269
|
+
continue;
|
|
270
|
+
const packageName = resource.spec?.[WELL_KNOWN_PROPERTY_NAMES.packageName];
|
|
271
|
+
if (typeof packageName == "string" && packageName !== "")
|
|
272
|
+
if (seen.has(packageName))
|
|
273
|
+
duplicates.add(packageName);
|
|
274
|
+
else
|
|
275
|
+
seen.add(packageName);
|
|
276
|
+
}
|
|
277
|
+
return [
|
|
278
|
+
...duplicates
|
|
279
|
+
];
|
|
280
|
+
}
|
|
281
|
+
function duplicatePackageNameMessage(duplicates) {
|
|
282
|
+
return `The solution contains multiple process artefacts that resolve to the same package name: '${duplicates}'. Rename the affected projects so each package name is unique before publishing.`;
|
|
283
|
+
}
|
|
245
284
|
var JSON_INDENT = 2;
|
|
246
285
|
function shouldExcludeValue(value) {
|
|
247
286
|
return value == null;
|
|
@@ -470,6 +509,13 @@ class ResourceBuilderTool extends SolutionTool {
|
|
|
470
509
|
this.logger.error(`Invalid package version ${packageVersion}`);
|
|
471
510
|
return ToolResult.error("VALIDATION_ERROR", `Invalid package version: ${packageVersion}`);
|
|
472
511
|
}
|
|
512
|
+
const resources = await this.readFromDirectory(KNOWN_ARCHIVE_FOLDERS.resources, cancellationToken);
|
|
513
|
+
const duplicatePackageNames = findDuplicateProcessPackageNames(resources);
|
|
514
|
+
if (duplicatePackageNames.length > 0) {
|
|
515
|
+
const duplicates = duplicatePackageNames.join(", ");
|
|
516
|
+
this.logger.error(`Duplicate process package name(s) found in solution: ${duplicates}`);
|
|
517
|
+
return ToolResult.error("VALIDATION_ERROR", duplicatePackageNameMessage(duplicates));
|
|
518
|
+
}
|
|
473
519
|
this.logger.info("Validate finished.");
|
|
474
520
|
return ToolResult.success();
|
|
475
521
|
} catch (error) {
|
|
@@ -654,6 +700,7 @@ class ResourceBuilderTool extends SolutionTool {
|
|
|
654
700
|
projectKey: solutionId,
|
|
655
701
|
packageVersionKey,
|
|
656
702
|
origin: "Studio",
|
|
703
|
+
packageType: toPackageType(options.solutionType),
|
|
657
704
|
configuration: options.configuration
|
|
658
705
|
};
|
|
659
706
|
this.logger.info(`Creating solution package with name '${metadata.packageName}' and version '${metadata.packageVersion}'.`);
|
|
@@ -700,6 +747,8 @@ class ResourceBuilderTool extends SolutionTool {
|
|
|
700
747
|
try {
|
|
701
748
|
while (redirectCount < RESILIENCE_DEFAULTS.maxRedirectRetries) {
|
|
702
749
|
const response = await this.fetchWithRetry(currentUrl, accessToken, maxRetryAttempts, retryIntervalMs, file.name, cancellationToken);
|
|
750
|
+
if (response.type === "opaqueredirect" || response.status === 0)
|
|
751
|
+
return createFailure("TooManyRedirects", `Redirect to the file location was not followed (response type '${response.type}')`);
|
|
703
752
|
if (isRedirectStatusCode(response.status)) {
|
|
704
753
|
const location = response.headers.get("location");
|
|
705
754
|
if (!location)
|
|
@@ -723,13 +772,13 @@ class ResourceBuilderTool extends SolutionTool {
|
|
|
723
772
|
};
|
|
724
773
|
}
|
|
725
774
|
const retryServerMessage = await this.readResponseTextSafe(retryResponse);
|
|
726
|
-
return createFailure(mapHttpStatusCodeToReason(retryResponse.status), retryServerMessage
|
|
775
|
+
return createFailure(mapHttpStatusCodeToReason(retryResponse.status), retryServerMessage || `HTTP ${retryResponse.status}`);
|
|
727
776
|
}
|
|
728
|
-
return createFailure(mapHttpStatusCodeToReason(response.status), serverMessage
|
|
777
|
+
return createFailure(mapHttpStatusCodeToReason(response.status), serverMessage || `HTTP ${response.status}`);
|
|
729
778
|
}
|
|
730
779
|
if (!response.ok) {
|
|
731
780
|
const serverMessage = await this.readResponseTextSafe(response);
|
|
732
|
-
return createFailure(mapHttpStatusCodeToReason(response.status), serverMessage
|
|
781
|
+
return createFailure(mapHttpStatusCodeToReason(response.status), serverMessage || `HTTP ${response.status}: ${response.statusText}`);
|
|
733
782
|
}
|
|
734
783
|
const buffer = await response.arrayBuffer();
|
|
735
784
|
await this.fileSystem.writeFile(filePath, Buffer.from(buffer));
|
|
@@ -794,8 +843,7 @@ class ResourceBuilderTool extends SolutionTool {
|
|
|
794
843
|
signal: cancellationToken,
|
|
795
844
|
headers: accessToken ? {
|
|
796
845
|
Authorization: `Bearer ${accessToken}`
|
|
797
|
-
} : undefined
|
|
798
|
-
redirect: "manual"
|
|
846
|
+
} : undefined
|
|
799
847
|
});
|
|
800
848
|
if (isRetriableStatusCode(response.status) && attempt <= maxRetryAttempts) {
|
|
801
849
|
const delayMs = retryIntervalMs * attempt;
|
|
@@ -834,4 +882,4 @@ function registerPackagerFactories() {
|
|
|
834
882
|
|
|
835
883
|
export { registerPackagerFactories };
|
|
836
884
|
|
|
837
|
-
//# debugId=
|
|
885
|
+
//# debugId=74FBEFB69DDDB62B64756E2164756E21
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveFeedSelectionAsync
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-yawd9de3.js";
|
|
4
4
|
import {
|
|
5
5
|
INCOMPLETE_SWEEP_ADVICE,
|
|
6
6
|
findDeploymentAcrossFeeds,
|
|
7
7
|
isNameOrFeedRefusal,
|
|
8
8
|
reportIncompleteSweepAsync,
|
|
9
9
|
retryAdvice
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-0tk9frmt.js";
|
|
11
11
|
import {
|
|
12
12
|
ACKNOWLEDGE_PERMANENT_DELETION_FLAG,
|
|
13
13
|
NO_SERVER_REASON,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveParentFolder,
|
|
23
23
|
settlePermanentDeletionRefusalAsync,
|
|
24
24
|
stillRequiresConfirmation
|
|
25
|
-
} from "./packager-tool-
|
|
25
|
+
} from "./packager-tool-xnhfcw5v.js";
|
|
26
26
|
import {
|
|
27
27
|
deploymentNextSteps,
|
|
28
28
|
explainRefusal,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
pendingResourceApis,
|
|
32
32
|
readPendingResourcesAsync,
|
|
33
33
|
reportedActivationStatus
|
|
34
|
-
} from "./packager-tool-
|
|
34
|
+
} from "./packager-tool-g0pvfrrw.js";
|
|
35
35
|
import {
|
|
36
36
|
DRAFT_VERSION_MISMATCH_CODE,
|
|
37
37
|
coerceWorkflowErrorMessages,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
parseSearchPage,
|
|
56
56
|
readDeploymentByKeyAsync,
|
|
57
57
|
searchDeploymentsPage
|
|
58
|
-
} from "./packager-tool-
|
|
58
|
+
} from "./packager-tool-drttrwth.js";
|
|
59
59
|
import {
|
|
60
60
|
describeFeedResolutionFailureAsync,
|
|
61
61
|
feedScopeInitOverride,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
folderKeyInitOverride,
|
|
64
64
|
resolveFeedScope,
|
|
65
65
|
resolvePersonalWorkspace
|
|
66
|
-
} from "./packager-tool-
|
|
66
|
+
} from "./packager-tool-whwm57wn.js";
|
|
67
67
|
import {
|
|
68
68
|
Configuration,
|
|
69
69
|
DeploymentOperation,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
SearchApi,
|
|
78
78
|
SolutionDeploymentAction,
|
|
79
79
|
WorkflowAction
|
|
80
|
-
} from "./packager-tool-
|
|
80
|
+
} from "./packager-tool-yacjrg13.js";
|
|
81
81
|
import {
|
|
82
82
|
classifyFeedSession,
|
|
83
83
|
feedReadRefusalForApplication,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findDeploymentByName,
|
|
3
3
|
findLiveDeploymentByName
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-drttrwth.js";
|
|
5
5
|
import {
|
|
6
6
|
feedScopeInitOverride,
|
|
7
7
|
folderKeyInitOverride,
|
|
8
8
|
listSelectablePublishLocations,
|
|
9
9
|
resolvePersonalWorkspace
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-whwm57wn.js";
|
|
11
11
|
import {
|
|
12
12
|
catchError,
|
|
13
13
|
extractErrorDetails
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PackCommandService
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-es2m7dbr.js";
|
|
4
4
|
import {
|
|
5
5
|
isUnpackableProjectTypeError
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-pf3h9a23.js";
|
|
7
7
|
import {
|
|
8
8
|
carriedErrorCode
|
|
9
9
|
} from "./packager-tool-tx834spe.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveFeedSelectionAsync
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-yawd9de3.js";
|
|
4
4
|
import {
|
|
5
5
|
INCOMPLETE_SWEEP_ADVICE,
|
|
6
6
|
findDeploymentAcrossFeeds,
|
|
7
7
|
reportIncompleteSweepAsync
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-0tk9frmt.js";
|
|
9
9
|
import {
|
|
10
10
|
hasServerErrorCode,
|
|
11
11
|
isBareResponse
|
|
12
12
|
} from "./packager-tool-act5r386.js";
|
|
13
13
|
import {
|
|
14
14
|
feedSelectorFlag
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-whwm57wn.js";
|
|
16
16
|
import {
|
|
17
17
|
Configuration,
|
|
18
18
|
PipelinesApi
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
Configuration as Configuration2,
|
|
22
22
|
DeploymentsApi,
|
|
23
23
|
WorkflowAction
|
|
24
|
-
} from "./packager-tool-
|
|
24
|
+
} from "./packager-tool-yacjrg13.js";
|
|
25
25
|
import {
|
|
26
26
|
classifyFeedSession
|
|
27
27
|
} from "./packager-tool-qw47eyw7.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prepareSolutionResources
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-hhj5mwve.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveGovernanceFileTypeAsync,
|
|
6
6
|
validateGovernanceOptions
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
createSolutionPackager,
|
|
13
13
|
readSolutionFileAsUint8Array,
|
|
14
14
|
resolveSdkLogLevel
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-gbb2mw4n.js";
|
|
16
16
|
import {
|
|
17
17
|
ensurePackagerTools,
|
|
18
18
|
isUnpackableProjectTypeError
|
|
19
|
-
} from "./packager-tool-
|
|
19
|
+
} from "./packager-tool-pf3h9a23.js";
|
|
20
20
|
import {
|
|
21
21
|
INVALID_PACKAGE_ID,
|
|
22
22
|
SolutionPackOptions
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-pg6v6c68.js";
|
|
24
24
|
import {
|
|
25
25
|
PackProjectError,
|
|
26
26
|
validatePackProjectOptions
|
|
@@ -314,7 +314,7 @@ Packing project...
|
|
|
314
314
|
throw new PackProjectError("--project packs a project out of a solution folder, not out of a .uis file.", "Pass the solution folder instead: uip solution pack <solution-folder> <output-path> --project <id-or-path>.");
|
|
315
315
|
}
|
|
316
316
|
const [error, result] = await catchError(async () => {
|
|
317
|
-
const { prepareSolutionProjectAsync, packSolutionProjectAsync } = await import("./pack-project-
|
|
317
|
+
const { prepareSolutionProjectAsync, packSolutionProjectAsync } = await import("./pack-project-6g49c5ex.js");
|
|
318
318
|
const { project, packageId } = await prepareSolutionProjectAsync(this.fs, solutionDir, selector, options.packageId);
|
|
319
319
|
await this.fs.mkdir(outputPath);
|
|
320
320
|
const packOptions = await this.createProjectPackOptions(project, packageId, outputPath, options);
|
|
@@ -407,7 +407,7 @@ Packing project...
|
|
|
407
407
|
return packOptions;
|
|
408
408
|
}
|
|
409
409
|
async createProjectPackOptions(project, packageId, outputPath, options) {
|
|
410
|
-
const projectPackager = await import("./node-
|
|
410
|
+
const projectPackager = await import("./node-j43bgjjb.js");
|
|
411
411
|
const packOptions = new projectPackager.ProjectPackOptions;
|
|
412
412
|
packOptions.inputPath = project.ProjectPath ?? "";
|
|
413
413
|
packOptions.destinationPath = outputPath;
|