@salesforce/plugin-deploy-retrieve 3.12.20-dev.0 → 3.13.0

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.
Files changed (39) hide show
  1. package/README.md +17 -17
  2. package/lib/commands/project/delete/source.js +3 -8
  3. package/lib/commands/project/delete/source.js.map +1 -1
  4. package/lib/commands/project/deploy/quick.d.ts +2 -0
  5. package/lib/commands/project/deploy/quick.js +12 -3
  6. package/lib/commands/project/deploy/quick.js.map +1 -1
  7. package/lib/commands/project/deploy/report.js +3 -6
  8. package/lib/commands/project/deploy/report.js.map +1 -1
  9. package/lib/commands/project/deploy/resume.js +4 -5
  10. package/lib/commands/project/deploy/resume.js.map +1 -1
  11. package/lib/commands/project/deploy/start.d.ts +1 -2
  12. package/lib/commands/project/deploy/start.js +24 -30
  13. package/lib/commands/project/deploy/start.js.map +1 -1
  14. package/lib/commands/project/deploy/validate.d.ts +2 -0
  15. package/lib/commands/project/deploy/validate.js +15 -9
  16. package/lib/commands/project/deploy/validate.js.map +1 -1
  17. package/lib/commands/project/retrieve/start.d.ts +1 -6
  18. package/lib/commands/project/retrieve/start.js +18 -50
  19. package/lib/commands/project/retrieve/start.js.map +1 -1
  20. package/lib/utils/deploy.d.ts +2 -1
  21. package/lib/utils/deploy.js +4 -0
  22. package/lib/utils/deploy.js.map +1 -1
  23. package/lib/utils/progressBar.d.ts +11 -0
  24. package/lib/utils/progressBar.js +80 -0
  25. package/lib/utils/progressBar.js.map +1 -0
  26. package/lib/utils/types.d.ts +2 -0
  27. package/lib/utils/types.js.map +1 -1
  28. package/messages/retrieve.start.md +12 -0
  29. package/oclif.manifest.json +1040 -1040
  30. package/package.json +3 -4
  31. package/schemas/project-deploy-cancel.json +6 -0
  32. package/schemas/project-deploy-quick.json +6 -0
  33. package/schemas/project-deploy-report.json +6 -0
  34. package/schemas/project-deploy-resume.json +6 -0
  35. package/schemas/project-deploy-start.json +6 -0
  36. package/schemas/project-deploy-validate.json +6 -0
  37. package/lib/utils/deployStages.d.ts +0 -29
  38. package/lib/utils/deployStages.js +0 -166
  39. package/lib/utils/deployStages.js.map +0 -1
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-deploy-retrieve",
3
3
  "description": "deploy and retrieve commands for sf",
4
- "version": "3.12.20-dev.0",
4
+ "version": "3.13.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^4.0.28",
9
- "@oclif/multi-stage-output": "^0.7.0",
10
9
  "@salesforce/apex-node": "^8.1.9",
11
10
  "@salesforce/core": "^8.6.1",
12
11
  "@salesforce/kit": "^3.2.3",
@@ -251,7 +250,7 @@
251
250
  "exports": "./lib/index.js",
252
251
  "type": "module",
253
252
  "sfdx": {
254
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.12.20-dev.0.crt",
255
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.12.20-dev.0.sig"
253
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.13.0.crt",
254
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.13.0.sig"
256
255
  }
257
256
  }
@@ -106,6 +106,9 @@
106
106
  },
107
107
  "stateDetail": {
108
108
  "type": "string"
109
+ },
110
+ "deployUrl": {
111
+ "type": "string"
109
112
  }
110
113
  },
111
114
  "required": [
@@ -574,6 +577,9 @@
574
577
  "stateDetail": {
575
578
  "type": "string"
576
579
  },
580
+ "deployUrl": {
581
+ "type": "string"
582
+ },
577
583
  "id": {
578
584
  "type": "string"
579
585
  },
@@ -106,6 +106,9 @@
106
106
  },
107
107
  "stateDetail": {
108
108
  "type": "string"
109
+ },
110
+ "deployUrl": {
111
+ "type": "string"
109
112
  }
110
113
  },
111
114
  "required": [
@@ -580,6 +583,9 @@
580
583
  "success": {
581
584
  "type": "boolean"
582
585
  },
586
+ "deployUrl": {
587
+ "type": "string"
588
+ },
583
589
  "done": {
584
590
  "type": "boolean"
585
591
  }
@@ -106,6 +106,9 @@
106
106
  },
107
107
  "stateDetail": {
108
108
  "type": "string"
109
+ },
110
+ "deployUrl": {
111
+ "type": "string"
109
112
  }
110
113
  },
111
114
  "required": [
@@ -574,6 +577,9 @@
574
577
  "stateDetail": {
575
578
  "type": "string"
576
579
  },
580
+ "deployUrl": {
581
+ "type": "string"
582
+ },
577
583
  "id": {
578
584
  "type": "string"
579
585
  },
@@ -106,6 +106,9 @@
106
106
  },
107
107
  "stateDetail": {
108
108
  "type": "string"
109
+ },
110
+ "deployUrl": {
111
+ "type": "string"
109
112
  }
110
113
  },
111
114
  "required": [
@@ -582,6 +585,9 @@
582
585
  },
583
586
  "done": {
584
587
  "type": "boolean"
588
+ },
589
+ "deployUrl": {
590
+ "type": "string"
585
591
  }
586
592
  },
587
593
  "required": ["files", "status"]
@@ -106,6 +106,9 @@
106
106
  },
107
107
  "stateDetail": {
108
108
  "type": "string"
109
+ },
110
+ "deployUrl": {
111
+ "type": "string"
109
112
  }
110
113
  },
111
114
  "required": [
@@ -574,6 +577,9 @@
574
577
  "stateDetail": {
575
578
  "type": "string"
576
579
  },
580
+ "deployUrl": {
581
+ "type": "string"
582
+ },
577
583
  "id": {
578
584
  "type": "string"
579
585
  },
@@ -71,6 +71,9 @@
71
71
  "errorStatusCode": {
72
72
  "type": "string"
73
73
  },
74
+ "deployUrl": {
75
+ "type": "string"
76
+ },
74
77
  "ignoreWarnings": {
75
78
  "type": "boolean"
76
79
  },
@@ -574,6 +577,9 @@
574
577
  "stateDetail": {
575
578
  "type": "string"
576
579
  },
580
+ "deployUrl": {
581
+ "type": "string"
582
+ },
577
583
  "id": {
578
584
  "type": "string"
579
585
  },
@@ -1,29 +0,0 @@
1
- import { MetadataApiDeploy, MetadataApiDeployStatus } from '@salesforce/source-deploy-retrieve';
2
- import { SourceMemberPollingEvent } from '@salesforce/source-tracking';
3
- type Options = {
4
- title: string;
5
- jsonEnabled: boolean;
6
- };
7
- type Data = {
8
- mdapiDeploy: MetadataApiDeployStatus;
9
- sourceMemberPolling: SourceMemberPollingEvent;
10
- status: string;
11
- message: string;
12
- username: string;
13
- id: string;
14
- deploySize: number;
15
- deployFileCount: number;
16
- };
17
- export declare class DeployStages {
18
- private mso;
19
- constructor({ title, jsonEnabled }: Options);
20
- start({ username, deploy }: {
21
- username?: string | undefined;
22
- deploy: MetadataApiDeploy;
23
- }, initialData?: Partial<Data>): void;
24
- update(data: Partial<Data>): void;
25
- stop(): void;
26
- error(): void;
27
- done(data?: Partial<Data>): void;
28
- }
29
- export {};
@@ -1,166 +0,0 @@
1
- /*
2
- * Copyright (c) 2024, salesforce.com, inc.
3
- * All rights reserved.
4
- * Licensed under the BSD 3-Clause license.
5
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6
- */
7
- import { MultiStageOutput } from '@oclif/multi-stage-output';
8
- import { Lifecycle, Messages } from '@salesforce/core';
9
- import { RequestStatus } from '@salesforce/source-deploy-retrieve';
10
- import { getZipFileSize } from './output.js';
11
- Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
12
- const mdTransferMessages = Messages.loadMessages('@salesforce/plugin-deploy-retrieve', 'metadata.transfer');
13
- function round(value, precision) {
14
- const multiplier = Math.pow(10, precision || 0);
15
- return Math.round(value * multiplier) / multiplier;
16
- }
17
- function formatProgress(current, total) {
18
- if (total === 0) {
19
- return '0/0 (0%)';
20
- }
21
- return `${current}/${total} (${round((current / total) * 100, 0)}%)`;
22
- }
23
- export class DeployStages {
24
- mso;
25
- constructor({ title, jsonEnabled }) {
26
- this.mso = new MultiStageOutput({
27
- title,
28
- stages: [
29
- 'Preparing',
30
- 'Waiting for the org to respond',
31
- 'Deploying Metadata',
32
- 'Running Tests',
33
- 'Updating Source Tracking',
34
- 'Done',
35
- ],
36
- jsonEnabled,
37
- preStagesBlock: [
38
- {
39
- type: 'message',
40
- get: (data) => data?.message,
41
- },
42
- ],
43
- postStagesBlock: [
44
- {
45
- label: 'Status',
46
- get: (data) => data?.status,
47
- bold: true,
48
- type: 'dynamic-key-value',
49
- },
50
- {
51
- label: 'Deploy ID',
52
- get: (data) => data?.id,
53
- type: 'static-key-value',
54
- neverCollapse: true,
55
- },
56
- {
57
- label: 'Target Org',
58
- get: (data) => data?.username,
59
- type: 'static-key-value',
60
- },
61
- {
62
- label: 'Size',
63
- get: (data) => data?.deploySize ? `${getZipFileSize(data.deploySize)} of ~39 MB limit` : undefined,
64
- type: 'static-key-value',
65
- },
66
- {
67
- label: 'Files',
68
- get: (data) => data?.deployFileCount ? `${data.deployFileCount} of 10,000 limit` : undefined,
69
- type: 'static-key-value',
70
- },
71
- ],
72
- stageSpecificBlock: [
73
- {
74
- label: 'Components',
75
- get: (data) => data?.mdapiDeploy?.numberComponentsTotal
76
- ? formatProgress(data?.mdapiDeploy?.numberComponentsDeployed ?? 0, data?.mdapiDeploy?.numberComponentsTotal)
77
- : undefined,
78
- stage: 'Deploying Metadata',
79
- type: 'dynamic-key-value',
80
- },
81
- {
82
- label: 'Tests',
83
- get: (data) => data?.mdapiDeploy?.numberTestsTotal && data?.mdapiDeploy?.numberTestsCompleted
84
- ? formatProgress(data?.mdapiDeploy?.numberTestsCompleted, data?.mdapiDeploy?.numberTestsTotal)
85
- : undefined,
86
- stage: 'Running Tests',
87
- type: 'dynamic-key-value',
88
- },
89
- {
90
- label: 'Members',
91
- get: (data) => data?.sourceMemberPolling?.original
92
- ? formatProgress(data.sourceMemberPolling.original - data.sourceMemberPolling.remaining, data.sourceMemberPolling.original)
93
- : undefined,
94
- stage: 'Updating Source Tracking',
95
- type: 'dynamic-key-value',
96
- },
97
- ],
98
- });
99
- }
100
- start({ username, deploy }, initialData) {
101
- const lifecycle = Lifecycle.getInstance();
102
- if (initialData)
103
- this.mso.updateData(initialData);
104
- this.mso.skipTo('Preparing', { username, id: deploy.id });
105
- // for sourceMember polling events
106
- lifecycle.on('sourceMemberPollingEvent', (event) => {
107
- if (event.original > 0) {
108
- return Promise.resolve(this.mso.skipTo('Updating Source Tracking', { sourceMemberPolling: event }));
109
- }
110
- return Promise.resolve();
111
- });
112
- deploy.onUpdate((data) => {
113
- if (data.numberComponentsDeployed === data.numberComponentsTotal &&
114
- data.numberTestsTotal > 0 &&
115
- data.numberComponentsDeployed > 0) {
116
- this.mso.skipTo('Running Tests', { mdapiDeploy: data, status: mdTransferMessages.getMessage(data?.status) });
117
- }
118
- else if (data.status === RequestStatus.Pending) {
119
- this.mso.skipTo('Waiting for the org to respond', {
120
- mdapiDeploy: data,
121
- status: mdTransferMessages.getMessage(data?.status),
122
- });
123
- }
124
- else {
125
- this.mso.skipTo('Deploying Metadata', {
126
- mdapiDeploy: data,
127
- status: mdTransferMessages.getMessage(data?.status),
128
- });
129
- }
130
- });
131
- deploy.onFinish((data) => {
132
- this.mso.updateData({ mdapiDeploy: data.response, status: mdTransferMessages.getMessage(data.response.status) });
133
- if (data.response.status === RequestStatus.Failed) {
134
- this.mso.error();
135
- }
136
- else {
137
- this.mso.skipTo('Done');
138
- this.mso.stop();
139
- }
140
- });
141
- deploy.onCancel((data) => {
142
- this.mso.updateData({ mdapiDeploy: data, status: mdTransferMessages.getMessage(data?.status ?? 'Canceled') });
143
- this.mso.error();
144
- });
145
- deploy.onError((error) => {
146
- if (error.message.includes('client has timed out')) {
147
- this.mso.updateData({ status: 'Client Timeout' });
148
- }
149
- this.mso.error();
150
- throw error;
151
- });
152
- }
153
- update(data) {
154
- this.mso.updateData(data);
155
- }
156
- stop() {
157
- this.mso.stop();
158
- }
159
- error() {
160
- this.mso.error();
161
- }
162
- done(data) {
163
- this.mso.skipTo('Done', data);
164
- }
165
- }
166
- //# sourceMappingURL=deployStages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deployStages.js","sourceRoot":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