@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
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CatalogLookupError,
|
|
3
|
+
EntryPointSpecEnhancer,
|
|
4
|
+
MAX_RESOURCE_NAME_LENGTH,
|
|
5
|
+
ProjectManifestError,
|
|
6
|
+
addProjectArtifactsToSolutionAsync,
|
|
7
|
+
applyEntryPointEnhancementAsync,
|
|
8
|
+
assertSolutionManifest,
|
|
9
|
+
assertValidResourceName,
|
|
10
|
+
computeEntryPointSpec,
|
|
11
|
+
createLocalResource,
|
|
12
|
+
createProjectInSolutionBuilder,
|
|
13
|
+
createResourceBuilderServices,
|
|
14
|
+
createResourceKindMetadataResolver,
|
|
15
|
+
exportResourceConfigurationsAsync,
|
|
16
|
+
exportResourceDefinitionAsync,
|
|
17
|
+
findCatalogEntitiesAsync,
|
|
18
|
+
findCatalogEntityAsync,
|
|
19
|
+
findMatchingLocalResource,
|
|
20
|
+
findMatchingMemberResource,
|
|
21
|
+
findMemberCloneResources,
|
|
22
|
+
findProjectFile,
|
|
23
|
+
findResourceByKeyInRcs,
|
|
24
|
+
findResourceInRcs,
|
|
25
|
+
findResourcesByNameAsync,
|
|
26
|
+
formatResourceSubtypes,
|
|
27
|
+
getRemoteResourceClients,
|
|
28
|
+
hasAnyTemplateRow,
|
|
29
|
+
hasBareTemplateRow,
|
|
30
|
+
isMissingProjectTypeError,
|
|
31
|
+
isProjectManifestError,
|
|
32
|
+
isResourceKeyNotFound,
|
|
33
|
+
normalizeFolderPath,
|
|
34
|
+
normalizeResourceCasing,
|
|
35
|
+
normalizeResourceFileCasing,
|
|
36
|
+
readProjectFile,
|
|
37
|
+
readResourceConfigurationAsync,
|
|
38
|
+
readResourceConfigurationsAsync,
|
|
39
|
+
readSolutionFile,
|
|
40
|
+
readSolutionManifest,
|
|
41
|
+
readSpecEntryPoints,
|
|
42
|
+
readSpecProperty,
|
|
43
|
+
readUipxProjects,
|
|
44
|
+
refreshArtefactSpecsAsync,
|
|
45
|
+
resolveProjectDirFromManifest,
|
|
46
|
+
resolveResourceKindMetadata,
|
|
47
|
+
resolveSolutionFilePath,
|
|
48
|
+
resourceRefreshAsync,
|
|
49
|
+
resourceRemoteSyncAsync,
|
|
50
|
+
restoreSolutionFile,
|
|
51
|
+
sameResourceSubtype,
|
|
52
|
+
saveCasingNormalized,
|
|
53
|
+
searchRcsResources,
|
|
54
|
+
searchRcsResourcesStrict,
|
|
55
|
+
syncAndLog,
|
|
56
|
+
syncResourcesFromBindings,
|
|
57
|
+
toCatalogReference,
|
|
58
|
+
toResourceReference,
|
|
59
|
+
uniqueNameForResource,
|
|
60
|
+
validateResourceName,
|
|
61
|
+
writeSolutionFile
|
|
62
|
+
} from "./packager-tool-6kz1pv9f.js";
|
|
63
|
+
import"./packager-tool-gdtpsdn7.js";
|
|
64
|
+
import"./packager-tool-53w8skv5.js";
|
|
65
|
+
import"./packager-tool-pbmqk39a.js";
|
|
66
|
+
import"./packager-tool-61pwb567.js";
|
|
67
|
+
import"./packager-tool-8ptbmmmp.js";
|
|
68
|
+
import"./packager-tool-5edvzz80.js";
|
|
69
|
+
import"./packager-tool-43ahv5mn.js";
|
|
70
|
+
import"./packager-tool-tx834spe.js";
|
|
71
|
+
import"./packager-tool-6ybywxxn.js";
|
|
72
|
+
import"./packager-tool-v1f5e8t9.js";
|
|
73
|
+
import"./packager-tool-dfrk01gn.js";
|
|
74
|
+
import"./packager-tool-1de529jm.js";
|
|
75
|
+
export {
|
|
76
|
+
CatalogLookupError,
|
|
77
|
+
EntryPointSpecEnhancer,
|
|
78
|
+
MAX_RESOURCE_NAME_LENGTH,
|
|
79
|
+
ProjectManifestError,
|
|
80
|
+
addProjectArtifactsToSolutionAsync,
|
|
81
|
+
applyEntryPointEnhancementAsync,
|
|
82
|
+
assertSolutionManifest,
|
|
83
|
+
assertValidResourceName,
|
|
84
|
+
computeEntryPointSpec,
|
|
85
|
+
createLocalResource,
|
|
86
|
+
createProjectInSolutionBuilder,
|
|
87
|
+
createResourceBuilderServices,
|
|
88
|
+
createResourceKindMetadataResolver,
|
|
89
|
+
exportResourceConfigurationsAsync,
|
|
90
|
+
exportResourceDefinitionAsync,
|
|
91
|
+
findCatalogEntitiesAsync,
|
|
92
|
+
findCatalogEntityAsync,
|
|
93
|
+
findMatchingLocalResource,
|
|
94
|
+
findMatchingMemberResource,
|
|
95
|
+
findMemberCloneResources,
|
|
96
|
+
findProjectFile,
|
|
97
|
+
findResourceByKeyInRcs,
|
|
98
|
+
findResourceInRcs,
|
|
99
|
+
findResourcesByNameAsync,
|
|
100
|
+
formatResourceSubtypes,
|
|
101
|
+
getRemoteResourceClients,
|
|
102
|
+
hasAnyTemplateRow,
|
|
103
|
+
hasBareTemplateRow,
|
|
104
|
+
isMissingProjectTypeError,
|
|
105
|
+
isProjectManifestError,
|
|
106
|
+
isResourceKeyNotFound,
|
|
107
|
+
normalizeFolderPath,
|
|
108
|
+
normalizeResourceCasing,
|
|
109
|
+
normalizeResourceFileCasing,
|
|
110
|
+
readProjectFile,
|
|
111
|
+
readResourceConfigurationAsync,
|
|
112
|
+
readResourceConfigurationsAsync,
|
|
113
|
+
readSolutionFile,
|
|
114
|
+
readSolutionManifest,
|
|
115
|
+
readSpecEntryPoints,
|
|
116
|
+
readSpecProperty,
|
|
117
|
+
readUipxProjects,
|
|
118
|
+
refreshArtefactSpecsAsync,
|
|
119
|
+
resolveProjectDirFromManifest,
|
|
120
|
+
resolveResourceKindMetadata,
|
|
121
|
+
resolveSolutionFilePath,
|
|
122
|
+
resourceRefreshAsync,
|
|
123
|
+
resourceRemoteSyncAsync,
|
|
124
|
+
restoreSolutionFile,
|
|
125
|
+
sameResourceSubtype,
|
|
126
|
+
saveCasingNormalized,
|
|
127
|
+
searchRcsResources,
|
|
128
|
+
searchRcsResourcesStrict,
|
|
129
|
+
syncAndLog,
|
|
130
|
+
syncResourcesFromBindings,
|
|
131
|
+
toCatalogReference,
|
|
132
|
+
toResourceReference,
|
|
133
|
+
uniqueNameForResource,
|
|
134
|
+
validateResourceName,
|
|
135
|
+
writeSolutionFile
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
//# debugId=D17BC75F0862FBF164756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -2,36 +2,34 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
10
|
-
import"./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import"./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
16
|
-
import"./packager-tool-
|
|
17
|
-
import"./packager-tool-
|
|
18
|
-
import"./packager-tool-
|
|
19
|
-
import"./packager-tool-
|
|
20
|
-
import"./packager-tool-
|
|
21
|
-
import"./packager-tool-
|
|
22
|
-
import"./packager-tool-
|
|
23
|
-
import"./packager-tool-
|
|
24
|
-
import"./packager-tool-
|
|
25
|
-
import"./packager-tool-
|
|
26
|
-
import"./packager-tool-
|
|
27
|
-
import"./packager-tool-
|
|
28
|
-
import"./packager-tool-zdfn32bc.js";
|
|
29
|
-
import"./packager-tool-f2e9rzxk.js";
|
|
5
|
+
} from "./packager-tool-nsya65z1.js";
|
|
6
|
+
import"./packager-tool-kkfb5kgn.js";
|
|
7
|
+
import"./packager-tool-amhyxzz6.js";
|
|
8
|
+
import"./packager-tool-gmwva4yv.js";
|
|
9
|
+
import"./packager-tool-47by487p.js";
|
|
10
|
+
import"./packager-tool-kvcxg0zv.js";
|
|
11
|
+
import"./packager-tool-zq16e1xv.js";
|
|
12
|
+
import"./packager-tool-rc3hwn4b.js";
|
|
13
|
+
import"./packager-tool-frr2xmkr.js";
|
|
14
|
+
import"./packager-tool-5n6jsn41.js";
|
|
15
|
+
import"./packager-tool-act5r386.js";
|
|
16
|
+
import"./packager-tool-d6rrfd46.js";
|
|
17
|
+
import"./packager-tool-3bwnkjdq.js";
|
|
18
|
+
import"./packager-tool-gs3f3tf7.js";
|
|
19
|
+
import"./packager-tool-w77d72a7.js";
|
|
20
|
+
import"./packager-tool-rvt68c1t.js";
|
|
21
|
+
import"./packager-tool-97rcgwvv.js";
|
|
22
|
+
import"./packager-tool-9t26kde1.js";
|
|
23
|
+
import"./packager-tool-qw47eyw7.js";
|
|
24
|
+
import"./packager-tool-61pwb567.js";
|
|
25
|
+
import"./packager-tool-8ptbmmmp.js";
|
|
26
|
+
import"./packager-tool-5edvzz80.js";
|
|
27
|
+
import"./packager-tool-43ahv5mn.js";
|
|
30
28
|
import {
|
|
31
29
|
Command
|
|
32
|
-
} from "./packager-tool-
|
|
33
|
-
import"./packager-tool-
|
|
34
|
-
import"./packager-tool-
|
|
30
|
+
} from "./packager-tool-tx834spe.js";
|
|
31
|
+
import"./packager-tool-6ybywxxn.js";
|
|
32
|
+
import"./packager-tool-v1f5e8t9.js";
|
|
35
33
|
import"./packager-tool-dfrk01gn.js";
|
|
36
34
|
import"./packager-tool-1de529jm.js";
|
|
37
35
|
|
|
@@ -41,4 +39,4 @@ program.name(metadata.commandPrefix).description(metadata.description).version(m
|
|
|
41
39
|
await registerCommands(program);
|
|
42
40
|
program.parse(process.argv);
|
|
43
41
|
|
|
44
|
-
//# debugId=
|
|
42
|
+
//# debugId=B153CA8B72844B9564756E2164756E21
|
package/dist/init.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolutionInitError,
|
|
3
3
|
solutionInitAsync
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-3bwnkjdq.js";
|
|
5
5
|
import {
|
|
6
6
|
addProjectArtifactsToSolutionAsync
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-6kz1pv9f.js";
|
|
8
8
|
import"./packager-tool-gdtpsdn7.js";
|
|
9
9
|
import"./packager-tool-53w8skv5.js";
|
|
10
|
-
import"./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import"./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
16
|
-
import"./packager-tool-
|
|
10
|
+
import"./packager-tool-pbmqk39a.js";
|
|
11
|
+
import"./packager-tool-61pwb567.js";
|
|
12
|
+
import"./packager-tool-8ptbmmmp.js";
|
|
13
|
+
import"./packager-tool-5edvzz80.js";
|
|
14
|
+
import"./packager-tool-43ahv5mn.js";
|
|
15
|
+
import"./packager-tool-tx834spe.js";
|
|
16
|
+
import"./packager-tool-6ybywxxn.js";
|
|
17
|
+
import"./packager-tool-v1f5e8t9.js";
|
|
17
18
|
import"./packager-tool-dfrk01gn.js";
|
|
18
19
|
import"./packager-tool-1de529jm.js";
|
|
19
20
|
export {
|
|
@@ -22,4 +23,4 @@ export {
|
|
|
22
23
|
solutionInitAsync
|
|
23
24
|
};
|
|
24
25
|
|
|
25
|
-
//# debugId=
|
|
26
|
+
//# debugId=FCBE294BC426939E64756E2164756E21
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getStudioWebAuth,
|
|
3
3
|
useStudioWebAuth
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-gmwva4yv.js";
|
|
5
5
|
import {
|
|
6
6
|
getStudioWebSolutionProjects,
|
|
7
7
|
listStudioWebSolutions
|
|
8
|
-
} from "./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
8
|
+
} from "./packager-tool-9t26kde1.js";
|
|
9
|
+
import"./packager-tool-5edvzz80.js";
|
|
10
|
+
import"./packager-tool-43ahv5mn.js";
|
|
10
11
|
import {
|
|
11
12
|
DEFAULT_PAGE_SIZE,
|
|
12
13
|
OutputFormatter,
|
|
13
14
|
Pagination,
|
|
14
15
|
RESULTS,
|
|
15
|
-
catchError,
|
|
16
16
|
parseBoundedInt,
|
|
17
17
|
parseOffset,
|
|
18
18
|
processContext
|
|
19
|
-
} from "./packager-tool-
|
|
20
|
-
import
|
|
19
|
+
} from "./packager-tool-tx834spe.js";
|
|
20
|
+
import {
|
|
21
|
+
catchError
|
|
22
|
+
} from "./packager-tool-6ybywxxn.js";
|
|
21
23
|
import {
|
|
22
24
|
getFileSystem
|
|
23
|
-
} from "./packager-tool-
|
|
25
|
+
} from "./packager-tool-v1f5e8t9.js";
|
|
24
26
|
import"./packager-tool-dfrk01gn.js";
|
|
25
27
|
import"./packager-tool-1de529jm.js";
|
|
26
28
|
|
|
@@ -375,4 +377,4 @@ export {
|
|
|
375
377
|
registerListCommand
|
|
376
378
|
};
|
|
377
379
|
|
|
378
|
-
//# debugId=
|
|
380
|
+
//# debugId=2EAE925DC9B3EF2164756E2164756E21
|
|
@@ -16,6 +16,21 @@ export interface PackCommandOptions extends PackageMetadataFields {
|
|
|
16
16
|
version?: string;
|
|
17
17
|
/** Solution classification — `standard` or `vertical`. Absent means standard. */
|
|
18
18
|
solutionType?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Pack only this project of the solution into its own `.nupkg`, instead of
|
|
21
|
+
* packing the whole solution into a `.zip`: the `.uipx` project `Id`, or its
|
|
22
|
+
* path relative to the solution (the project folder or its
|
|
23
|
+
* `ProjectRelativePath`). It packs as a stand-alone project would, with no
|
|
24
|
+
* solution context — no resource sync, and no solution resources in the
|
|
25
|
+
* package. Only its default package id comes from the solution.
|
|
26
|
+
*/
|
|
27
|
+
project?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Package id for the project packed with {@link PackCommandOptions.project},
|
|
30
|
+
* instead of the id a whole-solution pack gives it. Rejected without
|
|
31
|
+
* `project`.
|
|
32
|
+
*/
|
|
33
|
+
packageId?: string;
|
|
19
34
|
/** Minimum minutes before token expiration to trigger a refresh (default: 10) */
|
|
20
35
|
loginValidity?: number;
|
|
21
36
|
/**
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BaseNodePackagerFactory,
|
|
3
|
+
DotnetDiscoveryService,
|
|
4
|
+
NodePackageSignService,
|
|
5
|
+
createNodeProjectPackager,
|
|
6
|
+
createNodeProjectPublisher
|
|
7
|
+
} from "./packager-tool-b03rva43.js";
|
|
8
|
+
import {
|
|
9
|
+
GovernancePolicyService,
|
|
10
|
+
PACKAGE_ID_TOO_LONG,
|
|
11
|
+
PackService,
|
|
12
|
+
PackagerParameters,
|
|
13
|
+
PackagerParametersValidator,
|
|
14
|
+
ProjectBuildOptions,
|
|
15
|
+
ProjectBuildOptionsValidator,
|
|
16
|
+
ProjectCleanupOptions,
|
|
17
|
+
ProjectLoader,
|
|
18
|
+
ProjectPackOptions,
|
|
19
|
+
ProjectPackager,
|
|
20
|
+
ProjectPublishOptions,
|
|
21
|
+
ProjectPublisher,
|
|
22
|
+
ProjectRestoreOptions,
|
|
23
|
+
ProjectToolExecutor,
|
|
24
|
+
ProjectValidateOptions,
|
|
25
|
+
ProjectValidateOptionsValidator,
|
|
26
|
+
PublishDestinationKind,
|
|
27
|
+
RulesConfigFileType,
|
|
28
|
+
TelemetryNames,
|
|
29
|
+
ToolLogger,
|
|
30
|
+
ToolsFactory,
|
|
31
|
+
isPackageIdTooLongError,
|
|
32
|
+
resolveProducedNupkgsAsync,
|
|
33
|
+
setGlobalLogHandler,
|
|
34
|
+
signNupkgsAsync
|
|
35
|
+
} from "./packager-tool-n5d5dx5j.js";
|
|
36
|
+
import"./packager-tool-pbmqk39a.js";
|
|
37
|
+
import {
|
|
38
|
+
DebugTelemetryProvider,
|
|
39
|
+
NodeContextStorage
|
|
40
|
+
} from "./packager-tool-tx834spe.js";
|
|
41
|
+
import {
|
|
42
|
+
ConsoleTelemetryProvider,
|
|
43
|
+
TelemetryService
|
|
44
|
+
} from "./packager-tool-6ybywxxn.js";
|
|
45
|
+
import"./packager-tool-v1f5e8t9.js";
|
|
46
|
+
import"./packager-tool-dfrk01gn.js";
|
|
47
|
+
import"./packager-tool-1de529jm.js";
|
|
48
|
+
export {
|
|
49
|
+
BaseNodePackagerFactory,
|
|
50
|
+
ConsoleTelemetryProvider,
|
|
51
|
+
DebugTelemetryProvider,
|
|
52
|
+
DotnetDiscoveryService,
|
|
53
|
+
GovernancePolicyService,
|
|
54
|
+
NodeContextStorage,
|
|
55
|
+
NodePackageSignService,
|
|
56
|
+
PACKAGE_ID_TOO_LONG,
|
|
57
|
+
PackService,
|
|
58
|
+
PackagerParameters,
|
|
59
|
+
PackagerParametersValidator,
|
|
60
|
+
ProjectBuildOptions,
|
|
61
|
+
ProjectBuildOptionsValidator,
|
|
62
|
+
ProjectCleanupOptions,
|
|
63
|
+
ProjectLoader,
|
|
64
|
+
ProjectPackOptions,
|
|
65
|
+
ProjectPackager,
|
|
66
|
+
ProjectPublishOptions,
|
|
67
|
+
ProjectPublisher,
|
|
68
|
+
ProjectRestoreOptions,
|
|
69
|
+
ProjectToolExecutor,
|
|
70
|
+
ProjectValidateOptions,
|
|
71
|
+
ProjectValidateOptionsValidator,
|
|
72
|
+
PublishDestinationKind,
|
|
73
|
+
RulesConfigFileType,
|
|
74
|
+
TelemetryNames,
|
|
75
|
+
TelemetryService,
|
|
76
|
+
ToolLogger,
|
|
77
|
+
ToolsFactory,
|
|
78
|
+
createNodeProjectPackager,
|
|
79
|
+
createNodeProjectPublisher,
|
|
80
|
+
isPackageIdTooLongError,
|
|
81
|
+
resolveProducedNupkgsAsync,
|
|
82
|
+
setGlobalLogHandler,
|
|
83
|
+
signNupkgsAsync
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
//# debugId=143D714D43C8ECA364756E2164756E21
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PackCommandService,
|
|
3
|
+
packFailureEnvelope
|
|
4
|
+
} from "./packager-tool-jg692f13.js";
|
|
5
|
+
import"./packager-tool-t8gh825q.js";
|
|
6
|
+
import"./packager-tool-wy4fx250.js";
|
|
7
|
+
import"./packager-tool-47wzvqw0.js";
|
|
8
|
+
import"./packager-tool-jmpb786m.js";
|
|
9
|
+
import"./packager-tool-b2nhscfk.js";
|
|
10
|
+
import"./packager-tool-60af1hw2.js";
|
|
11
|
+
import"./packager-tool-wz34ma3s.js";
|
|
12
|
+
import"./packager-tool-09swr9cp.js";
|
|
13
|
+
import"./packager-tool-b03rva43.js";
|
|
14
|
+
import"./packager-tool-n5d5dx5j.js";
|
|
15
|
+
import"./packager-tool-5ddtwzva.js";
|
|
16
|
+
import"./packager-tool-gs3f3tf7.js";
|
|
17
|
+
import"./packager-tool-6kz1pv9f.js";
|
|
18
|
+
import"./packager-tool-gdtpsdn7.js";
|
|
19
|
+
import"./packager-tool-53w8skv5.js";
|
|
20
|
+
import"./packager-tool-pbmqk39a.js";
|
|
21
|
+
import"./packager-tool-61pwb567.js";
|
|
22
|
+
import"./packager-tool-8ptbmmmp.js";
|
|
23
|
+
import"./packager-tool-5edvzz80.js";
|
|
24
|
+
import"./packager-tool-43ahv5mn.js";
|
|
25
|
+
import"./packager-tool-tx834spe.js";
|
|
26
|
+
import"./packager-tool-6ybywxxn.js";
|
|
27
|
+
import"./packager-tool-v1f5e8t9.js";
|
|
28
|
+
import"./packager-tool-dfrk01gn.js";
|
|
29
|
+
import"./packager-tool-1de529jm.js";
|
|
30
|
+
export {
|
|
31
|
+
PackCommandService,
|
|
32
|
+
packFailureEnvelope
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
//# debugId=046F353DFA8C2E1C64756E2164756E21
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import {
|
|
2
|
+
assertNoContributionErrors,
|
|
3
|
+
collectProjectContributions
|
|
4
|
+
} from "./packager-tool-wy4fx250.js";
|
|
5
|
+
import {
|
|
6
|
+
ensurePackagerTools
|
|
7
|
+
} from "./packager-tool-b2nhscfk.js";
|
|
8
|
+
import"./packager-tool-60af1hw2.js";
|
|
9
|
+
import {
|
|
10
|
+
toProjectDiagnostics
|
|
11
|
+
} from "./packager-tool-wz34ma3s.js";
|
|
12
|
+
import {
|
|
13
|
+
readMemberPackageIdAsync
|
|
14
|
+
} from "./packager-tool-09swr9cp.js";
|
|
15
|
+
import {
|
|
16
|
+
createNodeProjectPackager
|
|
17
|
+
} from "./packager-tool-b03rva43.js";
|
|
18
|
+
import {
|
|
19
|
+
PackService,
|
|
20
|
+
isPackageIdTooLongError
|
|
21
|
+
} from "./packager-tool-n5d5dx5j.js";
|
|
22
|
+
import"./packager-tool-5ddtwzva.js";
|
|
23
|
+
import {
|
|
24
|
+
PackProjectError,
|
|
25
|
+
projectFolder,
|
|
26
|
+
resolvePackProjectAsync
|
|
27
|
+
} from "./packager-tool-gs3f3tf7.js";
|
|
28
|
+
import"./packager-tool-6kz1pv9f.js";
|
|
29
|
+
import"./packager-tool-gdtpsdn7.js";
|
|
30
|
+
import"./packager-tool-53w8skv5.js";
|
|
31
|
+
import"./packager-tool-pbmqk39a.js";
|
|
32
|
+
import"./packager-tool-61pwb567.js";
|
|
33
|
+
import"./packager-tool-8ptbmmmp.js";
|
|
34
|
+
import"./packager-tool-5edvzz80.js";
|
|
35
|
+
import"./packager-tool-43ahv5mn.js";
|
|
36
|
+
import {
|
|
37
|
+
logger,
|
|
38
|
+
telemetry
|
|
39
|
+
} from "./packager-tool-tx834spe.js";
|
|
40
|
+
import"./packager-tool-6ybywxxn.js";
|
|
41
|
+
import"./packager-tool-v1f5e8t9.js";
|
|
42
|
+
import"./packager-tool-dfrk01gn.js";
|
|
43
|
+
import"./packager-tool-1de529jm.js";
|
|
44
|
+
|
|
45
|
+
// src/services/pack-project.ts
|
|
46
|
+
async function prepareSolutionProjectAsync(fs, solutionDir, selector, packageIdOverride) {
|
|
47
|
+
const { project: entry, solutionName } = await resolvePackProjectAsync(fs, solutionDir, selector);
|
|
48
|
+
await ensurePackagerTools(solutionDir, fs, {
|
|
49
|
+
onlyProjectRelativePath: entry.relativePath
|
|
50
|
+
});
|
|
51
|
+
assertNoContributionErrors(await collectProjectContributions(solutionDir, fs, entry.id));
|
|
52
|
+
const project = {
|
|
53
|
+
Id: entry.id,
|
|
54
|
+
Type: entry.type,
|
|
55
|
+
ProjectRelativePath: entry.relativePath,
|
|
56
|
+
ProjectPath: fs.path.join(solutionDir, projectFolder(entry.relativePath))
|
|
57
|
+
};
|
|
58
|
+
const packageId = await resolvePackageIdAsync(fs, project, solutionDir, solutionName, packageIdOverride);
|
|
59
|
+
return { project, packageId };
|
|
60
|
+
}
|
|
61
|
+
async function packSolutionProjectAsync(fs, project, packOptions) {
|
|
62
|
+
const packager = await createNodeProjectPackager({
|
|
63
|
+
logHandler: logger.handleLog,
|
|
64
|
+
telemetryService: telemetry
|
|
65
|
+
});
|
|
66
|
+
const result = await packager.packProjectAsync(packOptions);
|
|
67
|
+
if (!result.isSuccess) {
|
|
68
|
+
result.details = {
|
|
69
|
+
...result.details,
|
|
70
|
+
projects: toProjectDiagnostics([project], [result])
|
|
71
|
+
};
|
|
72
|
+
return result;
|
|
73
|
+
}
|
|
74
|
+
result.packages = result.packages.map((p) => fs.path.resolve(p));
|
|
75
|
+
result.details = {
|
|
76
|
+
...result.details,
|
|
77
|
+
packageIds: [packOptions.package.id]
|
|
78
|
+
};
|
|
79
|
+
return result;
|
|
80
|
+
}
|
|
81
|
+
async function resolvePackageIdAsync(fs, project, solutionDir, solutionName, packageIdOverride) {
|
|
82
|
+
const override = packageIdOverride?.trim();
|
|
83
|
+
try {
|
|
84
|
+
return override ? new PackService().sanitizePackageId(override) : await readMemberPackageIdAsync(fs, project, solutionDir, solutionName) ?? "";
|
|
85
|
+
} catch (error) {
|
|
86
|
+
if (isPackageIdTooLongError(error)) {
|
|
87
|
+
throw new PackProjectError(error.message, "Pass a shorter --package-id, or rename the project folder or the .uipx, then rerun.");
|
|
88
|
+
}
|
|
89
|
+
throw error;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
export {
|
|
93
|
+
packSolutionProjectAsync,
|
|
94
|
+
prepareSolutionProjectAsync
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
//# debugId=8F3116C7C9AB4AAB64756E2164756E21
|
package/dist/pack.js
CHANGED
|
@@ -1,24 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packSolutionAsync
|
|
3
|
-
} from "./packager-tool-
|
|
4
|
-
import"./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
3
|
+
} from "./packager-tool-n3jfjn5r.js";
|
|
4
|
+
import"./packager-tool-jg692f13.js";
|
|
5
|
+
import"./packager-tool-t8gh825q.js";
|
|
6
|
+
import"./packager-tool-wy4fx250.js";
|
|
7
|
+
import"./packager-tool-47wzvqw0.js";
|
|
8
|
+
import"./packager-tool-jmpb786m.js";
|
|
9
|
+
import"./packager-tool-b2nhscfk.js";
|
|
10
|
+
import"./packager-tool-60af1hw2.js";
|
|
11
|
+
import"./packager-tool-wz34ma3s.js";
|
|
12
|
+
import"./packager-tool-09swr9cp.js";
|
|
13
|
+
import"./packager-tool-b03rva43.js";
|
|
14
|
+
import"./packager-tool-n5d5dx5j.js";
|
|
15
|
+
import"./packager-tool-5ddtwzva.js";
|
|
16
|
+
import"./packager-tool-gs3f3tf7.js";
|
|
17
|
+
import"./packager-tool-6kz1pv9f.js";
|
|
9
18
|
import"./packager-tool-gdtpsdn7.js";
|
|
10
19
|
import"./packager-tool-53w8skv5.js";
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import"./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
16
|
-
import"./packager-tool-
|
|
17
|
-
import"./packager-tool-
|
|
20
|
+
import"./packager-tool-pbmqk39a.js";
|
|
21
|
+
import"./packager-tool-61pwb567.js";
|
|
22
|
+
import"./packager-tool-8ptbmmmp.js";
|
|
23
|
+
import"./packager-tool-5edvzz80.js";
|
|
24
|
+
import"./packager-tool-43ahv5mn.js";
|
|
25
|
+
import"./packager-tool-tx834spe.js";
|
|
26
|
+
import"./packager-tool-6ybywxxn.js";
|
|
27
|
+
import"./packager-tool-v1f5e8t9.js";
|
|
18
28
|
import"./packager-tool-dfrk01gn.js";
|
|
19
29
|
import"./packager-tool-1de529jm.js";
|
|
20
30
|
export {
|
|
21
31
|
packSolutionAsync
|
|
22
32
|
};
|
|
23
33
|
|
|
24
|
-
//# debugId=
|
|
34
|
+
//# debugId=DCB45FA160F1FC3464756E2164756E21
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
readMemberPackageIdAsync
|
|
3
|
+
} from "./packager-tool-09swr9cp.js";
|
|
4
|
+
import"./packager-tool-n5d5dx5j.js";
|
|
5
|
+
import"./packager-tool-pbmqk39a.js";
|
|
6
|
+
import"./packager-tool-6ybywxxn.js";
|
|
7
|
+
import"./packager-tool-dfrk01gn.js";
|
|
8
|
+
import"./packager-tool-1de529jm.js";
|
|
9
|
+
export {
|
|
10
|
+
readMemberPackageIdAsync
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
//# debugId=E32BD530C9E8743C64756E2164756E21
|