@uipath/solution-tool 1.206.0-preview.312 → 1.206.0-preview.323
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/{archive-extract-ma0gy822.js → archive-extract-6j1y1991.js} +2 -2
- package/dist/{cleanup-command-service-1wbgrb9h.js → cleanup-command-service-p64wz7bv.js} +8 -8
- package/dist/deploy-delete-service-maz18e3r.js +23 -0
- package/dist/deploy-run-service-ecy0ekbk.js +23 -0
- package/dist/{deploy-status-service-7xky246y.js → deploy-status-service-3v2qmc36.js} +13 -13
- package/dist/deploy.js +18 -18
- package/dist/{deployment-search-t0tqa25h.js → deployment-search-msejqagr.js} +8 -8
- package/dist/{feed-resolver-dzfkpp77.js → feed-resolver-c094n1xy.js} +10 -10
- package/dist/feed-scope-failure-nkb395q5.js +20 -0
- package/dist/{feed-session-fx03ggx5.js → feed-session-brft47tr.js} +5 -5
- package/dist/{first-party-service-wgn5ykt1.js → first-party-service-zvg3p6br.js} +1 -1
- package/dist/{governance-options-42v1ar0d.js → governance-options-7g9ede81.js} +4 -4
- package/dist/{index-hfa97g3f.js → index-9m009p80.js} +7 -7
- package/dist/{index-8xgp35am.js → index-xg5e07zr.js} +5 -5
- package/dist/{index-226geawx.js → index-ydgfn95k.js} +1 -1
- package/dist/index.js +23 -23
- package/dist/init.js +8 -8
- package/dist/{list-c3gqwzav.js → list-bbnz60t3.js} +7 -7
- package/dist/{node-t1jdahr0.js → node-bze1bjad.js} +4 -4
- package/dist/pack-command-service-9nb021cv.js +29 -0
- package/dist/{pack-project-6hg8p978.js → pack-project-1b9msrd0.js} +11 -11
- package/dist/pack.js +16 -16
- package/dist/{package-id-183f3ffb.js → package-id-8x4mr74z.js} +1 -1
- package/dist/{packager-tool-ckrt4gyr.js → packager-tool-08najb8m.js} +2 -2
- package/dist/{packager-tool-skgywj30.js → packager-tool-0we079wx.js} +9 -9
- package/dist/{packager-tool-91ed8mbw.js → packager-tool-22znac1y.js} +6 -6
- package/dist/{packager-tool-q1snn7dz.js → packager-tool-25rna1xa.js} +3 -3
- package/dist/{packager-tool-gabrarvr.js → packager-tool-279pk3zv.js} +5 -5
- package/dist/{packager-tool-1cd5t0j9.js → packager-tool-2a1d4pb9.js} +2 -2
- package/dist/{packager-tool-qcpergs6.js → packager-tool-583ex76s.js} +6 -6
- package/dist/{packager-tool-3jeardps.js → packager-tool-6fygr0mb.js} +10 -10
- package/dist/{packager-tool-vgrswa8p.js → packager-tool-7nydcdzb.js} +26 -6
- package/dist/{packager-tool-2zn98p5r.js → packager-tool-aca9gx4m.js} +1 -1
- package/dist/{packager-tool-ee2tgtm3.js → packager-tool-d9x0p79e.js} +72 -72
- package/dist/{packager-tool-p5322gew.js → packager-tool-e4anthw5.js} +1 -1
- package/dist/{packager-tool-vx2c68sb.js → packager-tool-efhcm1at.js} +1 -1
- package/dist/{packager-tool-b1g3pjsy.js → packager-tool-g68k4909.js} +3 -3
- package/dist/{packager-tool-axqk17xw.js → packager-tool-gej34v00.js} +1 -1
- package/dist/{packager-tool-ppj5f4y7.js → packager-tool-h379yfe6.js} +1 -1
- package/dist/{packager-tool-k9dk39tg.js → packager-tool-jknk6wjr.js} +2 -2
- package/dist/{packager-tool-qfp7b910.js → packager-tool-m36wxeb8.js} +6 -6
- package/dist/{packager-tool-egc54x78.js → packager-tool-mak83jf1.js} +2 -2
- package/dist/{packager-tool-m5fafdvf.js → packager-tool-mfka8nge.js} +2 -2
- package/dist/{packager-tool-5yj0tnp2.js → packager-tool-mjqeqsn3.js} +2 -2
- package/dist/{packager-tool-51ksz263.js → packager-tool-n149vc33.js} +2 -2
- package/dist/{packager-tool-fx4ws49n.js → packager-tool-nrvgqrra.js} +1 -1
- package/dist/{packager-tool-resolver-30hxk8vm.js → packager-tool-resolver-yqs6jbsz.js} +3 -3
- package/dist/{packager-tool-zd60m9hy.js → packager-tool-s61kvhep.js} +9 -9
- package/dist/{packager-tool-rqsyv6z8.js → packager-tool-sdde3dkr.js} +3 -3
- package/dist/{packager-tool-t39pjz7n.js → packager-tool-v6rc6es8.js} +48 -6
- package/dist/{packager-tool-g35gymvs.js → packager-tool-w19rbf3s.js} +3 -3
- package/dist/{packager-tool-w4jh7yvp.js → packager-tool-w96vzamq.js} +5 -5
- package/dist/{packager-tool-pegtdt6h.js → packager-tool-x4r7wem8.js} +3 -3
- package/dist/{packager-tool-a0qzcxbx.js → packager-tool-xwzhv1p2.js} +2 -2
- package/dist/{packager-tool-xfhvy89e.js → packager-tool-ymqx4yhy.js} +2 -2
- package/dist/{packager-tool-m1zqw9b3.js → packager-tool-z07h6dr1.js} +2 -2
- package/dist/{packager-tool-2rr5ezbt.js → packager-tool-zvpvzt51.js} +10 -10
- package/dist/{packager-tool-t5xa2js8.js → packager-tool-zz36hrft.js} +4 -4
- package/dist/{prepare-solution-resources-e8wynvfe.js → prepare-solution-resources-pqpgh7mt.js} +10 -10
- package/dist/{project-command-utils-nnzvherf.js → project-command-utils-g85e8xmm.js} +7 -7
- package/dist/{project-contributions-zhesqsj9.js → project-contributions-4t8jr2br.js} +9 -9
- package/dist/publish.js +12 -12
- package/dist/{resource-mutations-f86f5xpm.js → resource-mutations-xqrterxf.js} +7 -7
- package/dist/{resource-version-lookup-7q551kcq.js → resource-version-lookup-3hzf2kj9.js} +7 -7
- package/dist/resource.js +7 -7
- package/dist/{restore-command-service-1nzq90h3.js → restore-command-service-yhvr7jvs.js} +8 -8
- package/dist/{run-service-hv3nhnpb.js → run-service-8a7jkcpg.js} +21 -21
- package/dist/{ship-telemetry-19gx83af.js → ship-telemetry-cf6za25v.js} +3 -3
- package/dist/{solution-auth-jxcgd2m0.js → solution-auth-v2f84h73.js} +3 -3
- package/dist/{solution-definition-helper-qa7v6rpr.js → solution-definition-helper-nt6n23mz.js} +1 -1
- package/dist/{solution-identity-c23d9bfv.js → solution-identity-0r29r11f.js} +3 -3
- package/dist/tool.js +23 -23
- package/package.json +2 -2
- package/dist/deploy-delete-service-d3fee5kp.js +0 -23
- package/dist/deploy-run-service-b8zxz5sw.js +0 -23
- package/dist/feed-scope-failure-44khmcxk.js +0 -20
- package/dist/pack-command-service-mbn01b8k.js +0 -29
package/dist/pack.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import"./packager-tool-
|
|
1
|
+
import"./packager-tool-7nydcdzb.js";
|
|
2
2
|
import"./packager-tool-m07vyk89.js";
|
|
3
|
-
import"./packager-tool-
|
|
3
|
+
import"./packager-tool-gej34v00.js";
|
|
4
4
|
import"./packager-tool-rj2d1g0w.js";
|
|
5
5
|
import"./packager-tool-a7s0gbxs.js";
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
6
|
+
import"./packager-tool-sdde3dkr.js";
|
|
7
|
+
import"./packager-tool-z07h6dr1.js";
|
|
8
8
|
import"./packager-tool-aws5w512.js";
|
|
9
9
|
import"./packager-tool-f15an17m.js";
|
|
10
10
|
import"./packager-tool-qzcd5c9s.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-
|
|
18
|
-
import"./packager-tool-
|
|
19
|
-
import"./packager-tool-
|
|
11
|
+
import"./packager-tool-aca9gx4m.js";
|
|
12
|
+
import"./packager-tool-0we079wx.js";
|
|
13
|
+
import"./packager-tool-v6rc6es8.js";
|
|
14
|
+
import"./packager-tool-mak83jf1.js";
|
|
15
|
+
import"./packager-tool-h379yfe6.js";
|
|
16
|
+
import"./packager-tool-g68k4909.js";
|
|
17
|
+
import"./packager-tool-w96vzamq.js";
|
|
18
|
+
import"./packager-tool-08najb8m.js";
|
|
19
|
+
import"./packager-tool-s61kvhep.js";
|
|
20
20
|
import {
|
|
21
21
|
packSolutionAsync2
|
|
22
|
-
} from "./packager-tool-
|
|
23
|
-
import"./packager-tool-
|
|
22
|
+
} from "./packager-tool-mjqeqsn3.js";
|
|
23
|
+
import"./packager-tool-zz36hrft.js";
|
|
24
24
|
import"./packager-tool-1ctvbx0h.js";
|
|
25
|
-
import"./packager-tool-
|
|
25
|
+
import"./packager-tool-e4anthw5.js";
|
|
26
26
|
export {
|
|
27
27
|
packSolutionAsync2 as packSolutionAsync
|
|
28
28
|
};
|
|
@@ -2,7 +2,7 @@ import"./packager-tool-rj2d1g0w.js";
|
|
|
2
2
|
import"./packager-tool-a7s0gbxs.js";
|
|
3
3
|
import {
|
|
4
4
|
readMemberPackageIdAsync2
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-z07h6dr1.js";
|
|
6
6
|
import"./packager-tool-m07vyk89.js";
|
|
7
7
|
export {
|
|
8
8
|
readMemberPackageIdAsync2 as readMemberPackageIdAsync
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-7nydcdzb.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectDimensions,
|
|
6
6
|
solutionIdentityProperties,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./packager-tool-m07vyk89.js";
|
|
10
10
|
import {
|
|
11
11
|
logger
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-gej34v00.js";
|
|
13
13
|
|
|
14
14
|
// src/services/solution-identity.ts
|
|
15
15
|
var MAX_METADATA_BYTES = 1024 * 1024;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-7nydcdzb.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError,
|
|
6
6
|
extractErrorMessage
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
logger,
|
|
10
10
|
isGuid
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-gej34v00.js";
|
|
12
12
|
import {
|
|
13
13
|
getLoginStatusAsync
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-v6rc6es8.js";
|
|
15
15
|
import {
|
|
16
16
|
UsersApi,
|
|
17
17
|
createApiClient
|
|
18
|
-
} from "./packager-tool-
|
|
18
|
+
} from "./packager-tool-mak83jf1.js";
|
|
19
19
|
import {
|
|
20
20
|
getSolutionAuthContext2
|
|
21
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-h379yfe6.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeProjectType,
|
|
24
24
|
toPortableRelativePath2,
|
|
25
25
|
findSolutionFileUpward
|
|
26
|
-
} from "./packager-tool-
|
|
26
|
+
} from "./packager-tool-e4anthw5.js";
|
|
27
27
|
import {
|
|
28
28
|
__toESM,
|
|
29
29
|
__commonJS
|
|
@@ -5339,7 +5339,7 @@ class MultiFileSolutionDefinitionProvider {
|
|
|
5339
5339
|
const metadataReader = this.metadataReaderAccessor?.();
|
|
5340
5340
|
if (!metadataReader)
|
|
5341
5341
|
return void this.logger.warn("Solution %s has resources sharing a key, and no metadata reader is available to resolve them; they are left in place and this read will not agree with one that can resolve them", solution.key);
|
|
5342
|
-
const { SolutionDefinitionHelper } = await import("./solution-definition-helper-
|
|
5342
|
+
const { SolutionDefinitionHelper } = await import("./solution-definition-helper-nt6n23mz.js");
|
|
5343
5343
|
await new SolutionDefinitionHelper(metadataReader, this.logger).replaceDuplicateKeysAsync(solution, cancellationToken);
|
|
5344
5344
|
}
|
|
5345
5345
|
getSolutionKey(context) {
|
|
@@ -5663,7 +5663,7 @@ var service_tokens_ServiceLifetime = /* @__PURE__ */ function(ServiceLifetime) {
|
|
|
5663
5663
|
async function createDefaultEmbeddedFileReaderAsync() {
|
|
5664
5664
|
const [{ EmbeddedFileReader }, { JsonSerializerFactory }] = await Promise.all([
|
|
5665
5665
|
import("./embedded-file-reader-pxpwcq3n.js"),
|
|
5666
|
-
import("./index-
|
|
5666
|
+
import("./index-ydgfn95k.js")
|
|
5667
5667
|
]);
|
|
5668
5668
|
return new EmbeddedFileReader(new JsonSerializerFactory);
|
|
5669
5669
|
}
|
|
@@ -13451,7 +13451,7 @@ class FirstPartyServiceClientProxy {
|
|
|
13451
13451
|
const tenantKey = await this.accessProvider.getTenantKeyAsync(cancellationToken);
|
|
13452
13452
|
if (!accountKey)
|
|
13453
13453
|
throw new BadRequestException(ErrorCodes.AuthenticationFailed, "Unable to obtain account key");
|
|
13454
|
-
const client = new (await import("./first-party-service-
|
|
13454
|
+
const client = new (await import("./first-party-service-zvg3p6br.js")).FirstPartyServiceApi({
|
|
13455
13455
|
baseUrl: fullBaseUrl,
|
|
13456
13456
|
customFetch: fetchWithTimeout(LONG_RUNNING_TIMEOUT_MS),
|
|
13457
13457
|
baseApiParams: {
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
} from "./packager-tool-m07vyk89.js";
|
|
6
6
|
import {
|
|
7
7
|
isGuid
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-gej34v00.js";
|
|
9
9
|
import {
|
|
10
10
|
getAuthContext
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-v6rc6es8.js";
|
|
12
12
|
import {
|
|
13
13
|
getSolutionAuthContext2
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-h379yfe6.js";
|
|
15
15
|
import {
|
|
16
16
|
classifyFeedSession2
|
|
17
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-25rna1xa.js";
|
|
18
18
|
import {
|
|
19
19
|
PersonalWorkspacesApi,
|
|
20
20
|
createOrchestratorConfig,
|
|
21
21
|
resolveFolder
|
|
22
|
-
} from "./packager-tool-
|
|
22
|
+
} from "./packager-tool-mak83jf1.js";
|
|
23
23
|
import {
|
|
24
24
|
getAvailablePublishLocationsV22
|
|
25
|
-
} from "./packager-tool-
|
|
25
|
+
} from "./packager-tool-w19rbf3s.js";
|
|
26
26
|
|
|
27
27
|
// src/services/personal-workspace-resolver.ts
|
|
28
28
|
async function resolvePersonalWorkspace(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveSessionIdentity
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-v6rc6es8.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError,
|
|
6
6
|
httpStatusOf2,
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
} from "./packager-tool-m07vyk89.js";
|
|
10
10
|
import {
|
|
11
11
|
logger
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-gej34v00.js";
|
|
13
13
|
import {
|
|
14
14
|
Configuration3,
|
|
15
15
|
DeploymentSearchItemDto2FromJSON,
|
|
16
16
|
SearchApi
|
|
17
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-ymqx4yhy.js";
|
|
18
18
|
|
|
19
19
|
// ../pipelines-sdk/generated/src/runtime.ts
|
|
20
20
|
var BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
@@ -7,24 +7,24 @@ import {
|
|
|
7
7
|
processContext,
|
|
8
8
|
PollOutcome,
|
|
9
9
|
pollUntil
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-gej34v00.js";
|
|
11
11
|
import {
|
|
12
12
|
Configuration2,
|
|
13
13
|
PipelinesApi
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-25rna1xa.js";
|
|
15
15
|
import {
|
|
16
16
|
Configuration3,
|
|
17
17
|
DeploymentsApi2
|
|
18
|
-
} from "./packager-tool-
|
|
18
|
+
} from "./packager-tool-ymqx4yhy.js";
|
|
19
19
|
import {
|
|
20
20
|
findDeploymentBestEffort2,
|
|
21
21
|
isPipelineDeploymentNotFoundError2,
|
|
22
22
|
mapOperationStatusToPipelineStatus2,
|
|
23
23
|
deploymentToTerminalPipelineResult2
|
|
24
|
-
} from "./packager-tool-
|
|
24
|
+
} from "./packager-tool-n149vc33.js";
|
|
25
25
|
import {
|
|
26
26
|
isCurrentRecordAsync
|
|
27
|
-
} from "./packager-tool-
|
|
27
|
+
} from "./packager-tool-x4r7wem8.js";
|
|
28
28
|
import {
|
|
29
29
|
coerceWorkflowErrorMessages,
|
|
30
30
|
VALIDATION_CONFIRMATION_REQUIRED_CODE
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
findDeploymentByName2,
|
|
7
7
|
findLiveDeploymentByName2
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-n149vc33.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePersonalWorkspace,
|
|
11
11
|
listSelectablePublishLocations,
|
|
12
12
|
folderKeyInitOverride2,
|
|
13
13
|
feedScopeInitOverride2
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-22znac1y.js";
|
|
15
15
|
|
|
16
16
|
// src/services/deployment-feed-locator.ts
|
|
17
17
|
var sweepResult = (location, skipped) => ({
|
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
Configuration2,
|
|
7
7
|
PipelinesApi,
|
|
8
8
|
classifyFeedSession2
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-25rna1xa.js";
|
|
10
10
|
import {
|
|
11
11
|
Configuration3,
|
|
12
12
|
WorkflowAction2,
|
|
13
13
|
DeploymentsApi2
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-ymqx4yhy.js";
|
|
15
15
|
import {
|
|
16
16
|
getSolutionAuthContext2
|
|
17
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-h379yfe6.js";
|
|
18
18
|
import {
|
|
19
19
|
feedSelectorFlag2
|
|
20
|
-
} from "./packager-tool-
|
|
20
|
+
} from "./packager-tool-22znac1y.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveFeedSelectionAsync
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-xwzhv1p2.js";
|
|
24
24
|
import {
|
|
25
25
|
hasServerErrorCode,
|
|
26
26
|
isBareResponse
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
findDeploymentAcrossFeeds,
|
|
30
30
|
INCOMPLETE_SWEEP_ADVICE,
|
|
31
31
|
reportIncompleteSweepAsync
|
|
32
|
-
} from "./packager-tool-
|
|
32
|
+
} from "./packager-tool-2a1d4pb9.js";
|
|
33
33
|
|
|
34
34
|
// src/services/deploy-delete-service.ts
|
|
35
35
|
var fail = (reason, message, instructions, extras = {}) => ({
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
mapPollFailure,
|
|
10
10
|
pollUntil,
|
|
11
11
|
quoteForShell
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-gej34v00.js";
|
|
13
13
|
import {
|
|
14
14
|
getSolutionAuthContext2
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-h379yfe6.js";
|
|
16
16
|
import {
|
|
17
17
|
Configuration2,
|
|
18
18
|
DeploymentOperation,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
feedReadRefusalForApplication2,
|
|
30
30
|
feedSessionRefusalAsync2,
|
|
31
31
|
feedReadRefusalAsync2
|
|
32
|
-
} from "./packager-tool-
|
|
32
|
+
} from "./packager-tool-25rna1xa.js";
|
|
33
33
|
import {
|
|
34
34
|
Configuration3,
|
|
35
35
|
WorkflowAction2,
|
|
@@ -37,14 +37,14 @@ import {
|
|
|
37
37
|
SolutionDeploymentAction2,
|
|
38
38
|
DeploymentsApi2,
|
|
39
39
|
SearchApi
|
|
40
|
-
} from "./packager-tool-
|
|
40
|
+
} from "./packager-tool-ymqx4yhy.js";
|
|
41
41
|
import {
|
|
42
42
|
readDeploymentByKeyAsync2,
|
|
43
43
|
findDeploymentByName2,
|
|
44
44
|
isCompletedUninstall2,
|
|
45
45
|
findDeploymentsByName2,
|
|
46
46
|
newestDeploymentRow2
|
|
47
|
-
} from "./packager-tool-
|
|
47
|
+
} from "./packager-tool-n149vc33.js";
|
|
48
48
|
import {
|
|
49
49
|
activateDeployment,
|
|
50
50
|
NO_SERVER_REASON,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
ACKNOWLEDGE_PERMANENT_DELETION_FLAG,
|
|
54
54
|
finiteOr,
|
|
55
55
|
runInstallToOutcomeAsync
|
|
56
|
-
} from "./packager-tool-
|
|
56
|
+
} from "./packager-tool-279pk3zv.js";
|
|
57
57
|
import {
|
|
58
58
|
resolvePersonalWorkspace,
|
|
59
59
|
resolveParentFolder,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
feedSelectorFlag2,
|
|
63
63
|
describeFeedResolutionFailureAsync2,
|
|
64
64
|
resolveFeedScope2
|
|
65
|
-
} from "./packager-tool-
|
|
65
|
+
} from "./packager-tool-22znac1y.js";
|
|
66
66
|
import {
|
|
67
67
|
pendingResourceApis,
|
|
68
68
|
reportedActivationStatus,
|
|
@@ -71,10 +71,10 @@ import {
|
|
|
71
71
|
explainRefusal,
|
|
72
72
|
needsPendingResources,
|
|
73
73
|
deploymentNextSteps
|
|
74
|
-
} from "./packager-tool-
|
|
74
|
+
} from "./packager-tool-x4r7wem8.js";
|
|
75
75
|
import {
|
|
76
76
|
resolveFeedSelectionAsync
|
|
77
|
-
} from "./packager-tool-
|
|
77
|
+
} from "./packager-tool-xwzhv1p2.js";
|
|
78
78
|
import {
|
|
79
79
|
coerceWorkflowErrorMessages,
|
|
80
80
|
formatServiceErrors,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
INCOMPLETE_SWEEP_ADVICE,
|
|
93
93
|
retryAdvice,
|
|
94
94
|
reportIncompleteSweepAsync
|
|
95
|
-
} from "./packager-tool-
|
|
95
|
+
} from "./packager-tool-2a1d4pb9.js";
|
|
96
96
|
|
|
97
97
|
// src/services/deploy-activate-service.ts
|
|
98
98
|
var fail = (reason, message, instructions, exitCode = 1) => ({
|
|
@@ -47,12 +47,26 @@ class NodeFileSystem {
|
|
|
47
47
|
throw error;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
async writeFile(filePath, data) {
|
|
50
|
+
async writeFile(filePath, data, options) {
|
|
51
51
|
const dir = path.dirname(filePath);
|
|
52
52
|
if (dir) {
|
|
53
53
|
await fs.mkdir(dir, { recursive: true });
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
if (options?.mode === undefined || process.platform === "win32") {
|
|
56
|
+
if (options?.exclusive) {
|
|
57
|
+
await fs.writeFile(filePath, data, { flag: "wx" });
|
|
58
|
+
} else {
|
|
59
|
+
await fs.writeFile(filePath, data);
|
|
60
|
+
}
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
const handle = await fs.open(filePath, options.exclusive ? "wx" : "w", options.mode);
|
|
64
|
+
try {
|
|
65
|
+
await handle.chmod(options.mode);
|
|
66
|
+
await handle.writeFile(data);
|
|
67
|
+
} finally {
|
|
68
|
+
await handle.close();
|
|
69
|
+
}
|
|
56
70
|
}
|
|
57
71
|
async appendFile(filePath, data) {
|
|
58
72
|
const dir = path.dirname(filePath);
|
|
@@ -87,7 +101,8 @@ class NodeFileSystem {
|
|
|
87
101
|
isDirectory: () => stats.isDirectory(),
|
|
88
102
|
size: stats.size,
|
|
89
103
|
mtimeMs: stats.mtimeMs,
|
|
90
|
-
ctimeMs: stats.ctimeMs
|
|
104
|
+
ctimeMs: stats.ctimeMs,
|
|
105
|
+
mode: stats.mode
|
|
91
106
|
};
|
|
92
107
|
} catch (error) {
|
|
93
108
|
if (this.isEnoent(error))
|
|
@@ -98,8 +113,13 @@ class NodeFileSystem {
|
|
|
98
113
|
async exists(filePath) {
|
|
99
114
|
return existsSync(filePath);
|
|
100
115
|
}
|
|
101
|
-
async mkdir(dirPath) {
|
|
102
|
-
await fs.mkdir(dirPath, { recursive: true });
|
|
116
|
+
async mkdir(dirPath, options) {
|
|
117
|
+
await fs.mkdir(dirPath, { recursive: true, mode: options?.mode });
|
|
118
|
+
}
|
|
119
|
+
async chmod(targetPath, mode) {
|
|
120
|
+
if (process.platform === "win32")
|
|
121
|
+
return;
|
|
122
|
+
await fs.chmod(targetPath, mode);
|
|
103
123
|
}
|
|
104
124
|
async acquireLock(lockPath) {
|
|
105
125
|
const canonicalPath = await this.canonicalizeLockTarget(lockPath);
|
|
@@ -289,4 +309,4 @@ var getFileSystem = () => fsInstance;
|
|
|
289
309
|
|
|
290
310
|
export { NodeFileSystem, getFileSystem };
|
|
291
311
|
|
|
292
|
-
//# debugId=
|
|
312
|
+
//# debugId=0760C77E3FE8770164756E2164756E21
|