@salesforce/plugin-deploy-retrieve 1.20.2 → 2.0.1
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 +66 -64
- package/lib/commands/deploy.d.ts +1 -1
- package/lib/commands/deploy.js +48 -51
- package/lib/commands/deploy.js.map +1 -1
- package/lib/commands/project/convert/mdapi.d.ts +8 -8
- package/lib/commands/project/convert/mdapi.js +63 -63
- package/lib/commands/project/convert/mdapi.js.map +1 -1
- package/lib/commands/project/convert/source.d.ts +16 -40
- package/lib/commands/project/convert/source.js +71 -72
- package/lib/commands/project/convert/source.js.map +1 -1
- package/lib/commands/project/delete/source.d.ts +9 -61
- package/lib/commands/project/delete/source.js +182 -180
- package/lib/commands/project/delete/source.js.map +1 -1
- package/lib/commands/project/delete/tracking.d.ts +4 -4
- package/lib/commands/project/delete/tracking.js +27 -29
- package/lib/commands/project/delete/tracking.js.map +1 -1
- package/lib/commands/project/deploy/cancel.d.ts +5 -5
- package/lib/commands/project/deploy/cancel.js +58 -59
- package/lib/commands/project/deploy/cancel.js.map +1 -1
- package/lib/commands/project/deploy/preview.d.ts +6 -6
- package/lib/commands/project/deploy/preview.js +57 -58
- package/lib/commands/project/deploy/preview.js.map +1 -1
- package/lib/commands/project/deploy/quick.d.ts +9 -9
- package/lib/commands/project/deploy/quick.js +85 -86
- package/lib/commands/project/deploy/quick.js.map +1 -1
- package/lib/commands/project/deploy/report.d.ts +8 -60
- package/lib/commands/project/deploy/report.js +72 -73
- package/lib/commands/project/deploy/report.js.map +1 -1
- package/lib/commands/project/deploy/resume.d.ts +9 -61
- package/lib/commands/project/deploy/resume.js +82 -83
- package/lib/commands/project/deploy/resume.js.map +1 -1
- package/lib/commands/project/deploy/start.d.ts +24 -128
- package/lib/commands/project/deploy/start.js +168 -169
- package/lib/commands/project/deploy/start.js.map +1 -1
- package/lib/commands/project/deploy/validate.d.ts +21 -125
- package/lib/commands/project/deploy/validate.js +149 -149
- package/lib/commands/project/deploy/validate.js.map +1 -1
- package/lib/commands/project/generate/manifest.d.ts +9 -9
- package/lib/commands/project/generate/manifest.js +73 -78
- package/lib/commands/project/generate/manifest.js.map +1 -1
- package/lib/commands/project/list/ignored.d.ts +1 -1
- package/lib/commands/project/list/ignored.js +27 -29
- package/lib/commands/project/list/ignored.js.map +1 -1
- package/lib/commands/project/reset/tracking.d.ts +5 -5
- package/lib/commands/project/reset/tracking.js +33 -35
- package/lib/commands/project/reset/tracking.js.map +1 -1
- package/lib/commands/project/retrieve/preview.d.ts +3 -3
- package/lib/commands/project/retrieve/preview.js +35 -36
- package/lib/commands/project/retrieve/preview.js.map +1 -1
- package/lib/commands/project/retrieve/start.d.ts +11 -11
- package/lib/commands/project/retrieve/start.js +148 -149
- package/lib/commands/project/retrieve/start.js.map +1 -1
- package/lib/configMeta.js +8 -9
- package/lib/configMeta.js.map +1 -1
- package/lib/formatters/asyncDeployCancelResultFormatter.d.ts +1 -1
- package/lib/formatters/asyncDeployCancelResultFormatter.js +12 -12
- package/lib/formatters/asyncDeployCancelResultFormatter.js.map +1 -1
- package/lib/formatters/asyncDeployResultFormatter.d.ts +1 -1
- package/lib/formatters/asyncDeployResultFormatter.js +14 -14
- package/lib/formatters/asyncDeployResultFormatter.js.map +1 -1
- package/lib/formatters/deleteResultFormatter.d.ts +2 -2
- package/lib/formatters/deleteResultFormatter.js +21 -23
- package/lib/formatters/deleteResultFormatter.js.map +1 -1
- package/lib/formatters/deployCancelResultFormatter.d.ts +1 -1
- package/lib/formatters/deployCancelResultFormatter.js +7 -10
- package/lib/formatters/deployCancelResultFormatter.js.map +1 -1
- package/lib/formatters/deployReportResultFormatter.d.ts +1 -1
- package/lib/formatters/deployReportResultFormatter.js +18 -22
- package/lib/formatters/deployReportResultFormatter.js.map +1 -1
- package/lib/formatters/deployResultFormatter.d.ts +2 -2
- package/lib/formatters/deployResultFormatter.js +53 -50
- package/lib/formatters/deployResultFormatter.js.map +1 -1
- package/lib/formatters/metadataConvertResultFormatter.d.ts +1 -1
- package/lib/formatters/metadataConvertResultFormatter.js +7 -9
- package/lib/formatters/metadataConvertResultFormatter.js.map +1 -1
- package/lib/formatters/metadataRetrieveResultFormatter.d.ts +1 -1
- package/lib/formatters/metadataRetrieveResultFormatter.js +17 -16
- package/lib/formatters/metadataRetrieveResultFormatter.js.map +1 -1
- package/lib/formatters/retrieveResultFormatter.d.ts +1 -1
- package/lib/formatters/retrieveResultFormatter.js +17 -17
- package/lib/formatters/retrieveResultFormatter.js.map +1 -1
- package/lib/formatters/sourceConvertResultFormatter.d.ts +1 -1
- package/lib/formatters/sourceConvertResultFormatter.js +12 -14
- package/lib/formatters/sourceConvertResultFormatter.js.map +1 -1
- package/lib/formatters/testResultsFormatter.d.ts +1 -1
- package/lib/formatters/testResultsFormatter.js +38 -38
- package/lib/formatters/testResultsFormatter.js.map +1 -1
- package/lib/hooks/deploy.d.ts +1 -1
- package/lib/hooks/deploy.js +5 -7
- package/lib/hooks/deploy.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/lib/utils/conflicts.js +3 -7
- package/lib/utils/conflicts.js.map +1 -1
- package/lib/utils/coverage.js +20 -30
- package/lib/utils/coverage.js.map +1 -1
- package/lib/utils/deploy.d.ts +1 -1
- package/lib/utils/deploy.js +55 -64
- package/lib/utils/deploy.js.map +1 -1
- package/lib/utils/deployCache.d.ts +1 -1
- package/lib/utils/deployCache.js +12 -16
- package/lib/utils/deployCache.js.map +1 -1
- package/lib/utils/errorCodes.js +15 -16
- package/lib/utils/errorCodes.js.map +1 -1
- package/lib/utils/flags.d.ts +25 -7
- package/lib/utils/flags.js +24 -27
- package/lib/utils/flags.js.map +1 -1
- package/lib/utils/manifestCache.js +9 -14
- package/lib/utils/manifestCache.js.map +1 -1
- package/lib/utils/metadataDeployer.d.ts +1 -1
- package/lib/utils/metadataDeployer.js +40 -39
- package/lib/utils/metadataDeployer.js.map +1 -1
- package/lib/utils/output.js +13 -22
- package/lib/utils/output.js.map +1 -1
- package/lib/utils/previewOutput.js +46 -52
- package/lib/utils/previewOutput.js.map +1 -1
- package/lib/utils/progressBar.js +19 -21
- package/lib/utils/progressBar.js.map +1 -1
- package/lib/utils/project.js +7 -13
- package/lib/utils/project.js.map +1 -1
- package/lib/utils/promiseQueue.js +3 -7
- package/lib/utils/promiseQueue.js.map +1 -1
- package/lib/utils/types.js +12 -19
- package/lib/utils/types.js.map +1 -1
- package/oclif.lock +8667 -0
- package/oclif.manifest.json +1442 -942
- package/package.json +38 -36
- package/schemas/project-retrieve-start.json +14 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
2
|
import { Duration } from '@salesforce/kit';
|
|
3
|
-
import { DeployResultJson } from '../../../utils/types';
|
|
3
|
+
import { DeployResultJson } from '../../../utils/types.js';
|
|
4
4
|
export default class DeployMetadataResume extends SfCommand<DeployResultJson> {
|
|
5
5
|
static readonly description: string;
|
|
6
6
|
static readonly summary: string;
|
|
@@ -8,66 +8,14 @@ export default class DeployMetadataResume extends SfCommand<DeployResultJson> {
|
|
|
8
8
|
static readonly aliases: string[];
|
|
9
9
|
static readonly deprecateAliases = true;
|
|
10
10
|
static readonly flags: {
|
|
11
|
-
concise: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
12
|
-
'job-id': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
13
|
-
'use-most-recent': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
14
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
-
wait: import("@oclif/core/lib/interfaces").OptionFlag<Duration
|
|
16
|
-
'coverage-formatters':
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
char?: import("@oclif/core/lib/interfaces").AlphabetLowercase | import("@oclif/core/lib/interfaces").AlphabetUppercase | undefined;
|
|
20
|
-
summary?: string | undefined;
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
helpLabel?: string | undefined;
|
|
23
|
-
env?: string | undefined;
|
|
24
|
-
hidden?: boolean | undefined;
|
|
25
|
-
required?: boolean | undefined;
|
|
26
|
-
dependsOn?: string[] | undefined;
|
|
27
|
-
exclusive?: string[] | undefined;
|
|
28
|
-
exactlyOne?: string[] | undefined;
|
|
29
|
-
relationships?: import("@oclif/core/lib/interfaces/parser").Relationship[] | undefined;
|
|
30
|
-
deprecated?: true | import("@oclif/core/lib/interfaces").Deprecation | undefined;
|
|
31
|
-
aliases?: string[] | undefined;
|
|
32
|
-
deprecateAliases?: boolean | undefined;
|
|
33
|
-
delimiter?: "," | undefined;
|
|
34
|
-
type: "option";
|
|
35
|
-
helpValue?: string | undefined;
|
|
36
|
-
options?: string[] | undefined;
|
|
37
|
-
multiple: false;
|
|
38
|
-
parse: import("@oclif/core/lib/interfaces/parser").FlagParser<string[] | undefined, string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
39
|
-
defaultHelp?: import("@oclif/core/lib/interfaces/parser").FlagDefaultHelp<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
40
|
-
input: string[];
|
|
41
|
-
default?: import("@oclif/core/lib/interfaces/parser").FlagDefault<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
42
|
-
} | {
|
|
43
|
-
helpGroup: string;
|
|
44
|
-
name: string;
|
|
45
|
-
char?: import("@oclif/core/lib/interfaces").AlphabetLowercase | import("@oclif/core/lib/interfaces").AlphabetUppercase | undefined;
|
|
46
|
-
summary?: string | undefined;
|
|
47
|
-
description?: string | undefined;
|
|
48
|
-
helpLabel?: string | undefined;
|
|
49
|
-
env?: string | undefined;
|
|
50
|
-
hidden?: boolean | undefined;
|
|
51
|
-
required?: boolean | undefined;
|
|
52
|
-
dependsOn?: string[] | undefined;
|
|
53
|
-
exclusive?: string[] | undefined;
|
|
54
|
-
exactlyOne?: string[] | undefined;
|
|
55
|
-
relationships?: import("@oclif/core/lib/interfaces/parser").Relationship[] | undefined;
|
|
56
|
-
deprecated?: true | import("@oclif/core/lib/interfaces").Deprecation | undefined;
|
|
57
|
-
aliases?: string[] | undefined;
|
|
58
|
-
deprecateAliases?: boolean | undefined;
|
|
59
|
-
delimiter?: "," | undefined;
|
|
60
|
-
type: "option";
|
|
61
|
-
helpValue?: string | undefined;
|
|
62
|
-
options?: string[] | undefined;
|
|
63
|
-
multiple: true;
|
|
64
|
-
parse: import("@oclif/core/lib/interfaces/parser").FlagParser<string[] | undefined, string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
65
|
-
defaultHelp?: import("@oclif/core/lib/interfaces/parser").FlagDefaultHelp<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
66
|
-
input: string[];
|
|
67
|
-
default?: import("@oclif/core/lib/interfaces/parser").FlagDefault<(string[] | undefined)[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
68
|
-
};
|
|
69
|
-
junit: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
70
|
-
'results-dir': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
|
+
concise: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
12
|
+
'job-id': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
13
|
+
'use-most-recent': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
14
|
+
verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
15
|
+
wait: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<Duration, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
16
|
+
'coverage-formatters': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
17
|
+
junit: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
18
|
+
'results-dir': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
71
19
|
};
|
|
72
20
|
static envVariablesSection: import("@oclif/core").HelpSection;
|
|
73
21
|
static errorCodes: import("@oclif/core").HelpSection;
|
|
@@ -1,54 +1,105 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/*
|
|
3
2
|
* Copyright (c) 2022, salesforce.com, inc.
|
|
4
3
|
* All rights reserved.
|
|
5
4
|
* Licensed under the BSD 3-Clause license.
|
|
6
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
6
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
7
|
+
import { dirname } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
9
|
+
import chalk from 'chalk';
|
|
10
|
+
import { EnvironmentVariable, Messages, Org, SfError } from '@salesforce/core';
|
|
11
|
+
import { SfCommand, toHelpSection, Flags } from '@salesforce/sf-plugins-core';
|
|
12
|
+
import { DeployResult, MetadataApiDeploy } from '@salesforce/source-deploy-retrieve';
|
|
13
|
+
import { Duration } from '@salesforce/kit';
|
|
14
|
+
import { DeployResultFormatter } from '../../../formatters/deployResultFormatter.js';
|
|
15
|
+
import { DeployProgress } from '../../../utils/progressBar.js';
|
|
16
|
+
import { API } from '../../../utils/types.js';
|
|
17
|
+
import { buildComponentSet, determineExitCode, executeDeploy, isNotResumable } from '../../../utils/deploy.js';
|
|
18
|
+
import { DeployCache } from '../../../utils/deployCache.js';
|
|
19
|
+
import { DEPLOY_STATUS_CODES_DESCRIPTIONS } from '../../../utils/errorCodes.js';
|
|
20
|
+
import { coverageFormattersFlag } from '../../../utils/flags.js';
|
|
21
|
+
Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url)));
|
|
22
|
+
const messages = Messages.loadMessages('@salesforce/plugin-deploy-retrieve', 'deploy.metadata.resume');
|
|
23
23
|
const testFlags = 'Test';
|
|
24
|
-
class DeployMetadataResume extends
|
|
24
|
+
export default class DeployMetadataResume extends SfCommand {
|
|
25
|
+
static description = messages.getMessage('description');
|
|
26
|
+
static summary = messages.getMessage('summary');
|
|
27
|
+
static examples = messages.getMessages('examples');
|
|
28
|
+
static aliases = ['deploy:metadata:resume'];
|
|
29
|
+
static deprecateAliases = true;
|
|
30
|
+
static flags = {
|
|
31
|
+
concise: Flags.boolean({
|
|
32
|
+
summary: messages.getMessage('flags.concise.summary'),
|
|
33
|
+
exclusive: ['verbose'],
|
|
34
|
+
}),
|
|
35
|
+
'job-id': Flags.salesforceId({
|
|
36
|
+
char: 'i',
|
|
37
|
+
startsWith: '0Af',
|
|
38
|
+
length: 'both',
|
|
39
|
+
description: messages.getMessage('flags.job-id.description'),
|
|
40
|
+
summary: messages.getMessage('flags.job-id.summary'),
|
|
41
|
+
exactlyOne: ['use-most-recent', 'job-id'],
|
|
42
|
+
}),
|
|
43
|
+
'use-most-recent': Flags.boolean({
|
|
44
|
+
char: 'r',
|
|
45
|
+
description: messages.getMessage('flags.use-most-recent.description'),
|
|
46
|
+
summary: messages.getMessage('flags.use-most-recent.summary'),
|
|
47
|
+
exactlyOne: ['use-most-recent', 'job-id'],
|
|
48
|
+
}),
|
|
49
|
+
verbose: Flags.boolean({
|
|
50
|
+
summary: messages.getMessage('flags.verbose.summary'),
|
|
51
|
+
exclusive: ['concise'],
|
|
52
|
+
}),
|
|
53
|
+
// we want this to allow undefined so that we can use the default value from the cache
|
|
54
|
+
// eslint-disable-next-line sf-plugin/flag-min-max-default
|
|
55
|
+
wait: Flags.duration({
|
|
56
|
+
char: 'w',
|
|
57
|
+
summary: messages.getMessage('flags.wait.summary'),
|
|
58
|
+
description: messages.getMessage('flags.wait.description'),
|
|
59
|
+
unit: 'minutes',
|
|
60
|
+
helpValue: '<minutes>',
|
|
61
|
+
min: 1,
|
|
62
|
+
}),
|
|
63
|
+
'coverage-formatters': coverageFormattersFlag({ helpGroup: testFlags }),
|
|
64
|
+
junit: Flags.boolean({
|
|
65
|
+
summary: messages.getMessage('flags.junit.summary'),
|
|
66
|
+
helpGroup: testFlags,
|
|
67
|
+
}),
|
|
68
|
+
'results-dir': Flags.directory({
|
|
69
|
+
relationships: [{ type: 'some', flags: ['coverage-formatters', 'junit'] }],
|
|
70
|
+
summary: messages.getMessage('flags.results-dir.summary'),
|
|
71
|
+
helpGroup: testFlags,
|
|
72
|
+
}),
|
|
73
|
+
};
|
|
74
|
+
static envVariablesSection = toHelpSection('ENVIRONMENT VARIABLES', EnvironmentVariable.SF_USE_PROGRESS_BAR);
|
|
75
|
+
static errorCodes = toHelpSection('ERROR CODES', DEPLOY_STATUS_CODES_DESCRIPTIONS);
|
|
25
76
|
async run() {
|
|
26
|
-
const [{ flags }, cache] = await Promise.all([this.parse(DeployMetadataResume),
|
|
77
|
+
const [{ flags }, cache] = await Promise.all([this.parse(DeployMetadataResume), DeployCache.create()]);
|
|
27
78
|
const jobId = cache.resolveLatest(flags['use-most-recent'], flags['job-id']);
|
|
28
79
|
// if it was async before, then it should not be async now.
|
|
29
80
|
const deployOpts = { ...cache.get(jobId), async: false };
|
|
30
81
|
let result;
|
|
31
82
|
// If we already have a status from cache that is not resumable, display a warning and the deploy result.
|
|
32
|
-
if (
|
|
83
|
+
if (isNotResumable(deployOpts.status)) {
|
|
33
84
|
this.warn(messages.getMessage('warning.DeployNotResumable', [jobId, deployOpts.status]));
|
|
34
|
-
const org = await
|
|
35
|
-
const componentSet = await
|
|
36
|
-
const mdapiDeploy = new
|
|
85
|
+
const org = await Org.create({ aliasOrUsername: deployOpts['target-org'] });
|
|
86
|
+
const componentSet = await buildComponentSet({ ...deployOpts, wait: Duration.seconds(0) });
|
|
87
|
+
const mdapiDeploy = new MetadataApiDeploy({
|
|
37
88
|
// setting an API version here won't matter since we're just checking deploy status
|
|
38
89
|
// eslint-disable-next-line sf-plugin/get-connection-with-version
|
|
39
90
|
usernameOrConnection: org.getConnection(),
|
|
40
91
|
id: jobId,
|
|
41
92
|
components: componentSet,
|
|
42
93
|
apiOptions: {
|
|
43
|
-
rest: deployOpts.api ===
|
|
94
|
+
rest: deployOpts.api === API['REST'],
|
|
44
95
|
},
|
|
45
96
|
});
|
|
46
97
|
const deployStatus = await mdapiDeploy.checkStatus();
|
|
47
|
-
result = new
|
|
98
|
+
result = new DeployResult(deployStatus, componentSet);
|
|
48
99
|
}
|
|
49
100
|
else {
|
|
50
|
-
const wait = flags.wait ??
|
|
51
|
-
const { deploy } = await
|
|
101
|
+
const wait = flags.wait ?? Duration.minutes(deployOpts.wait);
|
|
102
|
+
const { deploy } = await executeDeploy(
|
|
52
103
|
// there will always be conflicts on a resume if anything deployed--the changes on the server are not synced to local
|
|
53
104
|
{
|
|
54
105
|
...deployOpts,
|
|
@@ -61,17 +112,17 @@ class DeployMetadataResume extends sf_plugins_core_1.SfCommand {
|
|
|
61
112
|
// in deploy~L140, it checks the if the id is present, so this metadata-dir value is never _really_ used
|
|
62
113
|
'metadata-dir': deployOpts.isMdapi ? { type: 'file', path: 'testing' } : undefined,
|
|
63
114
|
}, this.config.bin, this.project, jobId);
|
|
64
|
-
this.log(`Deploy ID: ${
|
|
65
|
-
new
|
|
115
|
+
this.log(`Deploy ID: ${chalk.bold(jobId)}`);
|
|
116
|
+
new DeployProgress(deploy, this.jsonEnabled()).start();
|
|
66
117
|
result = await deploy.pollStatus(500, wait.seconds);
|
|
67
118
|
if (!deploy.id) {
|
|
68
|
-
throw new
|
|
119
|
+
throw new SfError('The deploy id is not available.');
|
|
69
120
|
}
|
|
70
121
|
cache.update(deploy.id, { status: result.response.status });
|
|
71
122
|
await cache.write();
|
|
72
123
|
}
|
|
73
|
-
process.exitCode =
|
|
74
|
-
const formatter = new
|
|
124
|
+
process.exitCode = determineExitCode(result);
|
|
125
|
+
const formatter = new DeployResultFormatter(result, {
|
|
75
126
|
...flags,
|
|
76
127
|
verbose: deployOpts.verbose,
|
|
77
128
|
concise: deployOpts.concise,
|
|
@@ -81,56 +132,4 @@ class DeployMetadataResume extends sf_plugins_core_1.SfCommand {
|
|
|
81
132
|
return formatter.getJson();
|
|
82
133
|
}
|
|
83
134
|
}
|
|
84
|
-
DeployMetadataResume.description = messages.getMessage('description');
|
|
85
|
-
DeployMetadataResume.summary = messages.getMessage('summary');
|
|
86
|
-
DeployMetadataResume.examples = messages.getMessages('examples');
|
|
87
|
-
DeployMetadataResume.aliases = ['deploy:metadata:resume'];
|
|
88
|
-
DeployMetadataResume.deprecateAliases = true;
|
|
89
|
-
DeployMetadataResume.flags = {
|
|
90
|
-
concise: sf_plugins_core_1.Flags.boolean({
|
|
91
|
-
summary: messages.getMessage('flags.concise.summary'),
|
|
92
|
-
exclusive: ['verbose'],
|
|
93
|
-
}),
|
|
94
|
-
'job-id': sf_plugins_core_1.Flags.salesforceId({
|
|
95
|
-
char: 'i',
|
|
96
|
-
startsWith: '0Af',
|
|
97
|
-
length: 'both',
|
|
98
|
-
description: messages.getMessage('flags.job-id.description'),
|
|
99
|
-
summary: messages.getMessage('flags.job-id.summary'),
|
|
100
|
-
exactlyOne: ['use-most-recent', 'job-id'],
|
|
101
|
-
}),
|
|
102
|
-
'use-most-recent': sf_plugins_core_1.Flags.boolean({
|
|
103
|
-
char: 'r',
|
|
104
|
-
description: messages.getMessage('flags.use-most-recent.description'),
|
|
105
|
-
summary: messages.getMessage('flags.use-most-recent.summary'),
|
|
106
|
-
exactlyOne: ['use-most-recent', 'job-id'],
|
|
107
|
-
}),
|
|
108
|
-
verbose: sf_plugins_core_1.Flags.boolean({
|
|
109
|
-
summary: messages.getMessage('flags.verbose.summary'),
|
|
110
|
-
exclusive: ['concise'],
|
|
111
|
-
}),
|
|
112
|
-
// we want this to allow undefined so that we can use the default value from the cache
|
|
113
|
-
// eslint-disable-next-line sf-plugin/flag-min-max-default
|
|
114
|
-
wait: sf_plugins_core_1.Flags.duration({
|
|
115
|
-
char: 'w',
|
|
116
|
-
summary: messages.getMessage('flags.wait.summary'),
|
|
117
|
-
description: messages.getMessage('flags.wait.description'),
|
|
118
|
-
unit: 'minutes',
|
|
119
|
-
helpValue: '<minutes>',
|
|
120
|
-
min: 1,
|
|
121
|
-
}),
|
|
122
|
-
'coverage-formatters': { ...flags_1.coverageFormattersFlag, helpGroup: testFlags },
|
|
123
|
-
junit: sf_plugins_core_1.Flags.boolean({
|
|
124
|
-
summary: messages.getMessage('flags.junit.summary'),
|
|
125
|
-
helpGroup: testFlags,
|
|
126
|
-
}),
|
|
127
|
-
'results-dir': sf_plugins_core_1.Flags.directory({
|
|
128
|
-
relationships: [{ type: 'some', flags: ['coverage-formatters', 'junit'] }],
|
|
129
|
-
summary: messages.getMessage('flags.results-dir.summary'),
|
|
130
|
-
helpGroup: testFlags,
|
|
131
|
-
}),
|
|
132
|
-
};
|
|
133
|
-
DeployMetadataResume.envVariablesSection = (0, sf_plugins_core_1.toHelpSection)('ENVIRONMENT VARIABLES', core_1.EnvironmentVariable.SF_USE_PROGRESS_BAR);
|
|
134
|
-
DeployMetadataResume.errorCodes = (0, sf_plugins_core_1.toHelpSection)('ERROR CODES', errorCodes_1.DEPLOY_STATUS_CODES_DESCRIPTIONS);
|
|
135
|
-
exports.default = DeployMetadataResume;
|
|
136
135
|
//# sourceMappingURL=resume.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resume.js","sourceRoot":"","sources":["../../../../src/commands/project/deploy/resume.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resume.js","sourceRoot":"","sources":["../../../../src/commands/project/deploy/resume.ts"],"names":[],"mappings":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ommand } from '@salesforce/sf-plugins-core';
|
|
4
|
-
import { DeployResultJson, TestLevel } from '../../../utils/types';
|
|
4
|
+
import { DeployResultJson, TestLevel } from '../../../utils/types.js';
|
|
5
5
|
export default class DeployMetadata extends SfCommand<DeployResultJson> {
|
|
6
6
|
static readonly description: string;
|
|
7
7
|
static readonly summary: string;
|
|
@@ -9,133 +9,29 @@ export default class DeployMetadata extends SfCommand<DeployResultJson> {
|
|
|
9
9
|
static readonly aliases: string[];
|
|
10
10
|
static readonly deprecateAliases = true;
|
|
11
11
|
static readonly flags: {
|
|
12
|
-
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
13
|
-
async: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
14
|
-
concise: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
-
'dry-run': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
16
|
-
'ignore-conflicts': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
17
|
-
'ignore-errors': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
18
|
-
'ignore-warnings': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
19
|
-
manifest: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
20
|
-
metadata: import("@oclif/core/lib/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
21
|
-
'metadata-dir': import("@oclif/core/lib/interfaces").OptionFlag<import("../../../utils/types").PathInfo | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
22
|
-
'single-package': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
23
|
-
'source-dir': import("@oclif/core/lib/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
24
|
-
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
25
|
-
tests:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
dependsOn?: string[] | undefined;
|
|
36
|
-
exclusive?: string[] | undefined;
|
|
37
|
-
exactlyOne?: string[] | undefined;
|
|
38
|
-
relationships?: import("@oclif/core/lib/interfaces/parser").Relationship[] | undefined;
|
|
39
|
-
deprecated?: true | import("@oclif/core/lib/interfaces").Deprecation | undefined;
|
|
40
|
-
aliases?: string[] | undefined;
|
|
41
|
-
deprecateAliases?: boolean | undefined;
|
|
42
|
-
delimiter?: "," | undefined;
|
|
43
|
-
type: "option";
|
|
44
|
-
helpValue?: string | undefined;
|
|
45
|
-
options?: string[] | undefined;
|
|
46
|
-
multiple: false;
|
|
47
|
-
parse: import("@oclif/core/lib/interfaces/parser").FlagParser<string[] | undefined, string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
48
|
-
defaultHelp?: import("@oclif/core/lib/interfaces/parser").FlagDefaultHelp<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
49
|
-
input: string[];
|
|
50
|
-
default?: import("@oclif/core/lib/interfaces/parser").FlagDefault<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
51
|
-
} | {
|
|
52
|
-
helpGroup: string;
|
|
53
|
-
name: string;
|
|
54
|
-
char?: import("@oclif/core/lib/interfaces").AlphabetLowercase | import("@oclif/core/lib/interfaces").AlphabetUppercase | undefined;
|
|
55
|
-
summary?: string | undefined;
|
|
56
|
-
description?: string | undefined;
|
|
57
|
-
helpLabel?: string | undefined;
|
|
58
|
-
env?: string | undefined;
|
|
59
|
-
hidden?: boolean | undefined;
|
|
60
|
-
required?: boolean | undefined;
|
|
61
|
-
dependsOn?: string[] | undefined;
|
|
62
|
-
exclusive?: string[] | undefined;
|
|
63
|
-
exactlyOne?: string[] | undefined;
|
|
64
|
-
relationships?: import("@oclif/core/lib/interfaces/parser").Relationship[] | undefined;
|
|
65
|
-
deprecated?: true | import("@oclif/core/lib/interfaces").Deprecation | undefined;
|
|
66
|
-
aliases?: string[] | undefined;
|
|
67
|
-
deprecateAliases?: boolean | undefined;
|
|
68
|
-
delimiter?: "," | undefined;
|
|
69
|
-
type: "option";
|
|
70
|
-
helpValue?: string | undefined;
|
|
71
|
-
options?: string[] | undefined;
|
|
72
|
-
multiple: true;
|
|
73
|
-
parse: import("@oclif/core/lib/interfaces/parser").FlagParser<string[] | undefined, string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
74
|
-
defaultHelp?: import("@oclif/core/lib/interfaces/parser").FlagDefaultHelp<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
75
|
-
input: string[];
|
|
76
|
-
default?: import("@oclif/core/lib/interfaces/parser").FlagDefault<(string[] | undefined)[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
77
|
-
};
|
|
78
|
-
'test-level': import("@oclif/core/lib/interfaces").OptionFlag<TestLevel | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
79
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
80
|
-
wait: import("@oclif/core/lib/interfaces").OptionFlag<Duration, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
81
|
-
'purge-on-delete': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
82
|
-
'pre-destructive-changes': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
83
|
-
'post-destructive-changes': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
84
|
-
'coverage-formatters': {
|
|
85
|
-
helpGroup: string;
|
|
86
|
-
name: string;
|
|
87
|
-
char?: import("@oclif/core/lib/interfaces").AlphabetLowercase | import("@oclif/core/lib/interfaces").AlphabetUppercase | undefined;
|
|
88
|
-
summary?: string | undefined;
|
|
89
|
-
description?: string | undefined;
|
|
90
|
-
helpLabel?: string | undefined;
|
|
91
|
-
env?: string | undefined;
|
|
92
|
-
hidden?: boolean | undefined;
|
|
93
|
-
required?: boolean | undefined;
|
|
94
|
-
dependsOn?: string[] | undefined;
|
|
95
|
-
exclusive?: string[] | undefined;
|
|
96
|
-
exactlyOne?: string[] | undefined;
|
|
97
|
-
relationships?: import("@oclif/core/lib/interfaces/parser").Relationship[] | undefined;
|
|
98
|
-
deprecated?: true | import("@oclif/core/lib/interfaces").Deprecation | undefined;
|
|
99
|
-
aliases?: string[] | undefined;
|
|
100
|
-
deprecateAliases?: boolean | undefined;
|
|
101
|
-
delimiter?: "," | undefined;
|
|
102
|
-
type: "option";
|
|
103
|
-
helpValue?: string | undefined;
|
|
104
|
-
options?: string[] | undefined;
|
|
105
|
-
multiple: false;
|
|
106
|
-
parse: import("@oclif/core/lib/interfaces/parser").FlagParser<string[] | undefined, string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
107
|
-
defaultHelp?: import("@oclif/core/lib/interfaces/parser").FlagDefaultHelp<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
108
|
-
input: string[];
|
|
109
|
-
default?: import("@oclif/core/lib/interfaces/parser").FlagDefault<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
110
|
-
} | {
|
|
111
|
-
helpGroup: string;
|
|
112
|
-
name: string;
|
|
113
|
-
char?: import("@oclif/core/lib/interfaces").AlphabetLowercase | import("@oclif/core/lib/interfaces").AlphabetUppercase | undefined;
|
|
114
|
-
summary?: string | undefined;
|
|
115
|
-
description?: string | undefined;
|
|
116
|
-
helpLabel?: string | undefined;
|
|
117
|
-
env?: string | undefined;
|
|
118
|
-
hidden?: boolean | undefined;
|
|
119
|
-
required?: boolean | undefined;
|
|
120
|
-
dependsOn?: string[] | undefined;
|
|
121
|
-
exclusive?: string[] | undefined;
|
|
122
|
-
exactlyOne?: string[] | undefined;
|
|
123
|
-
relationships?: import("@oclif/core/lib/interfaces/parser").Relationship[] | undefined;
|
|
124
|
-
deprecated?: true | import("@oclif/core/lib/interfaces").Deprecation | undefined;
|
|
125
|
-
aliases?: string[] | undefined;
|
|
126
|
-
deprecateAliases?: boolean | undefined;
|
|
127
|
-
delimiter?: "," | undefined;
|
|
128
|
-
type: "option";
|
|
129
|
-
helpValue?: string | undefined;
|
|
130
|
-
options?: string[] | undefined;
|
|
131
|
-
multiple: true;
|
|
132
|
-
parse: import("@oclif/core/lib/interfaces/parser").FlagParser<string[] | undefined, string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
133
|
-
defaultHelp?: import("@oclif/core/lib/interfaces/parser").FlagDefaultHelp<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
134
|
-
input: string[];
|
|
135
|
-
default?: import("@oclif/core/lib/interfaces/parser").FlagDefault<(string[] | undefined)[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
136
|
-
};
|
|
137
|
-
junit: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
138
|
-
'results-dir': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
12
|
+
'api-version': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
13
|
+
async: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
14
|
+
concise: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
15
|
+
'dry-run': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
16
|
+
'ignore-conflicts': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
17
|
+
'ignore-errors': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
18
|
+
'ignore-warnings': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
19
|
+
manifest: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
20
|
+
metadata: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
21
|
+
'metadata-dir': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<import("../../../utils/types.js").PathInfo | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
22
|
+
'single-package': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
23
|
+
'source-dir': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
24
|
+
'target-org': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
25
|
+
tests: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
26
|
+
'test-level': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<TestLevel | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
27
|
+
verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
28
|
+
wait: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<Duration, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
29
|
+
'purge-on-delete': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
30
|
+
'pre-destructive-changes': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
31
|
+
'post-destructive-changes': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
32
|
+
'coverage-formatters': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
33
|
+
junit: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
34
|
+
'results-dir': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
139
35
|
};
|
|
140
36
|
static configurationVariablesSection: import("@oclif/core").HelpSection;
|
|
141
37
|
static envVariablesSection: import("@oclif/core").HelpSection;
|