@salesforce/plugin-deploy-retrieve 1.20.3 → 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 +37 -35
- package/schemas/project-retrieve-start.json +14 -11
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-deploy-retrieve",
|
|
3
3
|
"description": "deploy and retrieve commands for sf",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^
|
|
8
|
+
"@oclif/core": "^3.11.0",
|
|
9
9
|
"@salesforce/apex-node": "^2.1.2",
|
|
10
|
-
"@salesforce/core": "^5.3.
|
|
10
|
+
"@salesforce/core": "^5.3.20",
|
|
11
11
|
"@salesforce/kit": "^3.0.15",
|
|
12
|
-
"@salesforce/sf-plugins-core": "^
|
|
13
|
-
"@salesforce/source-deploy-retrieve": "^9.8.
|
|
14
|
-
"@salesforce/source-tracking": "^4.3
|
|
15
|
-
"chalk": "^
|
|
16
|
-
"tslib": "^2"
|
|
12
|
+
"@salesforce/sf-plugins-core": "^4.1.2",
|
|
13
|
+
"@salesforce/source-deploy-retrieve": "^9.8.6",
|
|
14
|
+
"@salesforce/source-tracking": "^4.4.3",
|
|
15
|
+
"chalk": "^5.3.0"
|
|
17
16
|
},
|
|
18
17
|
"devDependencies": {
|
|
19
|
-
"@oclif/plugin-command-snapshot": "^
|
|
20
|
-
"@salesforce/cli-plugins-testkit": "^5.0.
|
|
21
|
-
"@salesforce/dev-scripts": "^6.0.
|
|
18
|
+
"@oclif/plugin-command-snapshot": "^5.0.2",
|
|
19
|
+
"@salesforce/cli-plugins-testkit": "^5.0.4",
|
|
20
|
+
"@salesforce/dev-scripts": "^6.0.4",
|
|
22
21
|
"@salesforce/plugin-command-reference": "^3.0.46",
|
|
23
|
-
"@salesforce/plugin-source": "^2.11.
|
|
24
|
-
"@salesforce/source-testkit": "^2.1.
|
|
25
|
-
"@salesforce/ts-sinon": "1.4.
|
|
26
|
-
"@salesforce/ts-types": "^2.0.
|
|
27
|
-
"@swc/core": "1.3.39",
|
|
22
|
+
"@salesforce/plugin-source": "^2.11.3",
|
|
23
|
+
"@salesforce/source-testkit": "^2.1.65",
|
|
24
|
+
"@salesforce/ts-sinon": "^1.4.19",
|
|
25
|
+
"@salesforce/ts-types": "^2.0.9",
|
|
28
26
|
"cross-env": "^7.0.3",
|
|
29
|
-
"eslint-plugin-sf-plugin": "^1.16.
|
|
30
|
-
"oclif": "^
|
|
27
|
+
"eslint-plugin-sf-plugin": "^1.16.15",
|
|
28
|
+
"oclif": "^4.0.3",
|
|
31
29
|
"shx": "0.3.4",
|
|
32
30
|
"ts-node": "^10.9.1",
|
|
33
31
|
"typescript": "^5.2.2"
|
|
34
32
|
},
|
|
35
33
|
"config": {},
|
|
36
34
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
35
|
+
"node": ">=18.0.0"
|
|
38
36
|
},
|
|
39
37
|
"files": [
|
|
40
38
|
"/lib",
|
|
41
39
|
"/messages",
|
|
42
40
|
"/oclif.manifest.json",
|
|
43
|
-
"/schemas"
|
|
41
|
+
"/schemas",
|
|
42
|
+
"/oclif.lock"
|
|
44
43
|
],
|
|
45
44
|
"homepage": "https://github.com/salesforcecli/plugin-deploy-retrieve",
|
|
46
45
|
"keywords": [
|
|
47
46
|
"force",
|
|
48
47
|
"salesforce",
|
|
49
|
-
"sfdx",
|
|
50
48
|
"sf",
|
|
49
|
+
"sf deploy",
|
|
51
50
|
"sf retrieve",
|
|
52
|
-
"sf
|
|
51
|
+
"sf-plugin",
|
|
52
|
+
"sfdx"
|
|
53
53
|
],
|
|
54
54
|
"license": "BSD-3-Clause",
|
|
55
55
|
"oclif": {
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
}
|
|
96
|
+
},
|
|
97
|
+
"flexibleTaxonomy": true
|
|
97
98
|
},
|
|
98
99
|
"repository": "salesforcecli/plugin-deploy-retrieve",
|
|
99
100
|
"scripts": {
|
|
@@ -109,16 +110,16 @@
|
|
|
109
110
|
"prepack": "sf-prepack",
|
|
110
111
|
"prepare": "sf-install",
|
|
111
112
|
"test": "wireit",
|
|
112
|
-
"test:nuts": "ts-node ./test/nuts/generateNuts.ts && nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 10",
|
|
113
|
+
"test:nuts": "node --loader ts-node/esm ./test/nuts/generateNuts.ts && nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 10",
|
|
113
114
|
"test:nuts:convert": "nyc mocha \"test/nuts/convert/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
114
115
|
"test:nuts:deb": "nyc mocha \"test/nuts/digitalExperienceBundle/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
115
116
|
"test:nuts:delete": "nyc mocha \"test/nuts/delete/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
116
117
|
"test:nuts:deploy": "nyc mocha \"test/nuts/deploy/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
117
|
-
"test:nuts:deploy:metadata:manifest": "cross-env PLUGIN_DEPLOY_RETRIEVE_SEED_FILTER=deploy.metadata.manifest ts-node ./test/nuts/generateNuts.ts && mocha \"test/nuts/generated/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
118
|
-
"test:nuts:deploy:metadata:metadata": "cross-env PLUGIN_DEPLOY_RETRIEVE_SEED_FILTER=deploy.metadata.metadata ts-node ./test/nuts/generateNuts.ts && mocha \"test/nuts/generated/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
119
|
-
"test:nuts:deploy:metadata:metadata-dir": "cross-env PLUGIN_DEPLOY_RETRIEVE_SEED_FILTER=deploy.metadata.metadata-dir ts-node ./test/nuts/generateNuts.ts && mocha \"test/nuts/generated/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
120
|
-
"test:nuts:deploy:metadata:source-dir": "cross-env PLUGIN_DEPLOY_RETRIEVE_SEED_FILTER=deploy.metadata.source-dir ts-node ./test/nuts/generateNuts.ts && mocha \"test/nuts/generated/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
121
|
-
"test:nuts:deploy:metadata:test-level": "cross-env PLUGIN_DEPLOY_RETRIEVE_SEED_FILTER=deploy.metadata.test-level ts-node ./test/nuts/generateNuts.ts && mocha \"test/nuts/generated/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
118
|
+
"test:nuts:deploy:metadata:manifest": "cross-env PLUGIN_DEPLOY_RETRIEVE_SEED_FILTER=deploy.metadata.manifest node --loader ts-node/esm ./test/nuts/generateNuts.ts && mocha \"test/nuts/generated/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
119
|
+
"test:nuts:deploy:metadata:metadata": "cross-env PLUGIN_DEPLOY_RETRIEVE_SEED_FILTER=deploy.metadata.metadata node --loader ts-node/esm ./test/nuts/generateNuts.ts && mocha \"test/nuts/generated/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
120
|
+
"test:nuts:deploy:metadata:metadata-dir": "cross-env PLUGIN_DEPLOY_RETRIEVE_SEED_FILTER=deploy.metadata.metadata-dir node --loader ts-node/esm ./test/nuts/generateNuts.ts && mocha \"test/nuts/generated/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
121
|
+
"test:nuts:deploy:metadata:source-dir": "cross-env PLUGIN_DEPLOY_RETRIEVE_SEED_FILTER=deploy.metadata.source-dir node --loader ts-node/esm ./test/nuts/generateNuts.ts && mocha \"test/nuts/generated/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
122
|
+
"test:nuts:deploy:metadata:test-level": "cross-env PLUGIN_DEPLOY_RETRIEVE_SEED_FILTER=deploy.metadata.test-level node --loader ts-node/esm ./test/nuts/generateNuts.ts && mocha \"test/nuts/generated/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
122
123
|
"test:nuts:destructive": "nyc mocha \"test/nuts/destructive/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
123
124
|
"test:nuts:manifest": "nyc mocha \"test/nuts/manifest/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
124
125
|
"test:nuts:retrieve": "nyc mocha \"test/nuts/retrieve/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 20",
|
|
@@ -132,7 +133,6 @@
|
|
|
132
133
|
"publishConfig": {
|
|
133
134
|
"access": "public"
|
|
134
135
|
},
|
|
135
|
-
"main": "lib/index.js",
|
|
136
136
|
"wireit": {
|
|
137
137
|
"build": {
|
|
138
138
|
"dependencies": [
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
"output": []
|
|
210
210
|
},
|
|
211
211
|
"test:command-reference": {
|
|
212
|
-
"command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
|
|
212
|
+
"command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings",
|
|
213
213
|
"files": [
|
|
214
214
|
"src/**/*.ts",
|
|
215
215
|
"messages/**",
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
]
|
|
221
221
|
},
|
|
222
222
|
"test:deprecation-policy": {
|
|
223
|
-
"command": "\"./bin/dev\" snapshot:compare",
|
|
223
|
+
"command": "ts-node \"./bin/dev.js\" snapshot:compare",
|
|
224
224
|
"files": [
|
|
225
225
|
"src/**/*.ts"
|
|
226
226
|
],
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
]
|
|
231
231
|
},
|
|
232
232
|
"test:json-schema": {
|
|
233
|
-
"command": "\"./bin/dev\" schema:compare",
|
|
233
|
+
"command": "ts-node \"./bin/dev.js\" schema:compare",
|
|
234
234
|
"files": [
|
|
235
235
|
"src/**/*.ts",
|
|
236
236
|
"schemas"
|
|
@@ -238,8 +238,10 @@
|
|
|
238
238
|
"output": []
|
|
239
239
|
}
|
|
240
240
|
},
|
|
241
|
+
"exports": "./lib/index.js",
|
|
242
|
+
"type": "module",
|
|
241
243
|
"sfdx": {
|
|
242
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/
|
|
243
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/
|
|
244
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/2.0.1.crt",
|
|
245
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/2.0.1.sig"
|
|
244
246
|
}
|
|
245
247
|
}
|
|
@@ -154,17 +154,7 @@
|
|
|
154
154
|
"type": "string"
|
|
155
155
|
},
|
|
156
156
|
"manageableState": {
|
|
157
|
-
"
|
|
158
|
-
"enum": [
|
|
159
|
-
"beta",
|
|
160
|
-
"deleted",
|
|
161
|
-
"deprecated",
|
|
162
|
-
"deprecatedEditable",
|
|
163
|
-
"installed",
|
|
164
|
-
"installedEditable",
|
|
165
|
-
"released",
|
|
166
|
-
"unmanaged"
|
|
167
|
-
]
|
|
157
|
+
"$ref": "#/definitions/ManageableState"
|
|
168
158
|
},
|
|
169
159
|
"namespacePrefix": {
|
|
170
160
|
"type": "string"
|
|
@@ -187,6 +177,19 @@
|
|
|
187
177
|
],
|
|
188
178
|
"additionalProperties": false
|
|
189
179
|
},
|
|
180
|
+
"ManageableState": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"enum": [
|
|
183
|
+
"beta",
|
|
184
|
+
"deleted",
|
|
185
|
+
"deprecated",
|
|
186
|
+
"deprecatedEditable",
|
|
187
|
+
"installed",
|
|
188
|
+
"installedEditable",
|
|
189
|
+
"released",
|
|
190
|
+
"unmanaged"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
190
193
|
"RequestStatus": {
|
|
191
194
|
"type": "string",
|
|
192
195
|
"enum": ["Pending", "InProgress", "Succeeded", "SucceededPartial", "Failed", "Canceling", "Canceled"]
|