@salesforce/cli 2.7.5 → 2.7.7

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.
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "2.7.5",
3
+ "version": "2.7.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "2.7.5",
9
+ "version": "2.7.7",
10
10
  "hasInstallScript": true,
11
11
  "license": "BSD-3-Clause",
12
12
  "dependencies": {
13
- "@oclif/core": "2.11.10",
13
+ "@oclif/core": "2.12.0",
14
14
  "@oclif/plugin-autocomplete": "2.3.6",
15
15
  "@oclif/plugin-commands": "2.2.24",
16
16
  "@oclif/plugin-help": "5.2.18",
17
17
  "@oclif/plugin-not-found": "2.3.38",
18
- "@oclif/plugin-plugins": "3.3.1",
18
+ "@oclif/plugin-plugins": "3.3.2",
19
19
  "@oclif/plugin-search": "0.0.22",
20
20
  "@oclif/plugin-update": "3.1.32",
21
21
  "@oclif/plugin-version": "1.3.9",
@@ -38,7 +38,7 @@
38
38
  "@salesforce/plugin-templates": "55.5.10",
39
39
  "@salesforce/plugin-trust": "2.6.7",
40
40
  "@salesforce/plugin-user": "2.3.31",
41
- "@salesforce/sf-plugins-core": "3.1.18",
41
+ "@salesforce/sf-plugins-core": "3.1.20",
42
42
  "debug": "^4.3.4",
43
43
  "tslib": "^2.4.1"
44
44
  },
@@ -56,9 +56,9 @@
56
56
  "@types/debug": "^4.1.8",
57
57
  "@typescript-eslint/eslint-plugin": "^5.62.0",
58
58
  "@typescript-eslint/parser": "^5.62.0",
59
- "aws-sdk": "^2.1440.0",
60
- "chai": "^4.3.7",
61
- "eslint": "^8.47.0",
59
+ "aws-sdk": "^2.1446.0",
60
+ "chai": "^4.3.8",
61
+ "eslint": "^8.48.0",
62
62
  "eslint-config-oclif": "^3.1",
63
63
  "eslint-config-oclif-typescript": "^0.2.0",
64
64
  "eslint-config-prettier": "^8.10.0",
@@ -1358,9 +1358,9 @@
1358
1358
  }
1359
1359
  },
1360
1360
  "node_modules/@eslint/js": {
1361
- "version": "8.47.0",
1362
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.47.0.tgz",
1363
- "integrity": "sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og==",
1361
+ "version": "8.48.0",
1362
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz",
1363
+ "integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==",
1364
1364
  "dev": true,
1365
1365
  "license": "MIT",
1366
1366
  "engines": {
@@ -2285,9 +2285,9 @@
2285
2285
  }
2286
2286
  },
2287
2287
  "node_modules/@oclif/core": {
2288
- "version": "2.11.10",
2289
- "resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.11.10.tgz",
2290
- "integrity": "sha512-/7Umij3OU++6o+z4U+waJ5nP6IvK9KKEVzz+xsla68YoECLQwz43boUKqYizlNMtTfiwNkiYb5QE+OU/q5qEtA==",
2288
+ "version": "2.12.0",
2289
+ "resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.12.0.tgz",
2290
+ "integrity": "sha512-RSfEQzYAmex/dVW/3afIMsaB2n5kG26tniAla+HSAQS7MHqM7LpCrDz5FG9VX5ygSPmQcknWPRmD96N5kyUt1g==",
2291
2291
  "license": "MIT",
2292
2292
  "dependencies": {
2293
2293
  "@types/cli-progress": "^3.11.0",
@@ -2650,9 +2650,9 @@
2650
2650
  }
2651
2651
  },
2652
2652
  "node_modules/@oclif/plugin-plugins": {
2653
- "version": "3.3.1",
2654
- "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-3.3.1.tgz",
2655
- "integrity": "sha512-pC/lcVYia0jYwgpBNXXkYMXzcAWzxs9I7uVepmnMrHMpVTEovwH7+pdRZutcCvD5sZb1WSZmGcTD8QuDvt77dA==",
2653
+ "version": "3.3.2",
2654
+ "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-3.3.2.tgz",
2655
+ "integrity": "sha512-UhgAjibtnU6xIc6P2n6FwbWooDgcl4q8Bu/oXgBW4i7Wnx1l4B+nbIdxCX9n3HM/66geylYQ1/Q08eiy7V+Dtw==",
2656
2656
  "license": "MIT",
2657
2657
  "dependencies": {
2658
2658
  "@oclif/core": "^2.11.10",
@@ -4275,14 +4275,14 @@
4275
4275
  "license": "ISC"
4276
4276
  },
4277
4277
  "node_modules/@salesforce/sf-plugins-core": {
4278
- "version": "3.1.18",
4279
- "resolved": "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-3.1.18.tgz",
4280
- "integrity": "sha512-c0uhR9lcufRTz6UmEgZfAItoHVweYrJIllXtEU4Mr5qb3E03rJy0GHHf0TbO5PIH5tP1nxj9ABODoSMZBdewIw==",
4278
+ "version": "3.1.20",
4279
+ "resolved": "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-3.1.20.tgz",
4280
+ "integrity": "sha512-27zrOdVt9Sc6byAJOTW1lA5yuIOIC/81Af/t0QQMSofLEj6UkUuMoGUGlKzO0mH82HI34BON5wVXjLjNffIPQg==",
4281
4281
  "license": "BSD-3-Clause",
4282
4282
  "dependencies": {
4283
- "@oclif/core": "^2.11.10",
4283
+ "@oclif/core": "^2.12.0",
4284
4284
  "@salesforce/core": "^5.2.1",
4285
- "@salesforce/kit": "^3.0.9",
4285
+ "@salesforce/kit": "^3.0.11",
4286
4286
  "@salesforce/ts-types": "^2.0.7",
4287
4287
  "chalk": "^4",
4288
4288
  "inquirer": "^8.2.5"
@@ -4328,14 +4328,14 @@
4328
4328
  }
4329
4329
  },
4330
4330
  "node_modules/@salesforce/source-tracking": {
4331
- "version": "4.2.11",
4332
- "resolved": "https://registry.npmjs.org/@salesforce/source-tracking/-/source-tracking-4.2.11.tgz",
4333
- "integrity": "sha512-yiO1uUFAhLw8AexfgqKBAViZvF3cvtE2w4/sruetp8sO5LkYEq9Dd0dlWWOBZGjY9SM+Xve+TT1Yl6dTkGvRJA==",
4331
+ "version": "4.2.12",
4332
+ "resolved": "https://registry.npmjs.org/@salesforce/source-tracking/-/source-tracking-4.2.12.tgz",
4333
+ "integrity": "sha512-hxN4rMmyOmZoUJTy5fyg33ovhKc0ffCqX6j0EqAX90gHO4OQqNMWvweogbzX7h8nkFyNv+ZLyDeJBAdMnTgnWw==",
4334
4334
  "license": "BSD-3-Clause",
4335
4335
  "dependencies": {
4336
4336
  "@salesforce/core": "^5.2.0",
4337
4337
  "@salesforce/kit": "^3.0.9",
4338
- "@salesforce/source-deploy-retrieve": "^9.7.6",
4338
+ "@salesforce/source-deploy-retrieve": "^9.7.8",
4339
4339
  "@salesforce/ts-types": "^2.0.6",
4340
4340
  "fast-xml-parser": "^4.2.5",
4341
4341
  "graceful-fs": "^4.2.11",
@@ -5775,9 +5775,9 @@
5775
5775
  }
5776
5776
  },
5777
5777
  "node_modules/aws-sdk": {
5778
- "version": "2.1440.0",
5779
- "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1440.0.tgz",
5780
- "integrity": "sha512-ijHaRFZIKLYUDqOGTNrwncXF5vzJPU6VJpbRr7eNBAvo+nFtEHY4BZkldWYuhELCbWz0U5/+qMtF2T/JgPjfWQ==",
5778
+ "version": "2.1446.0",
5779
+ "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1446.0.tgz",
5780
+ "integrity": "sha512-QaIyQz9csPSgujM+asHNWHh6uw1FDh+SxpUERLbePDYwqycQha/0BkOxTciGh/Jhp26tKMnHL7rwrYl37H6RYA==",
5781
5781
  "dev": true,
5782
5782
  "license": "Apache-2.0",
5783
5783
  "dependencies": {
@@ -6421,9 +6421,9 @@
6421
6421
  }
6422
6422
  },
6423
6423
  "node_modules/chai": {
6424
- "version": "4.3.7",
6425
- "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz",
6426
- "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==",
6424
+ "version": "4.3.8",
6425
+ "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.8.tgz",
6426
+ "integrity": "sha512-vX4YvVVtxlfSZ2VecZgFUTU5qPCYsobVI2O9FmwEXBhDigYGQA6jRXCycIs1yJnnWbZ6/+a2zNIF5DfVCcJBFQ==",
6427
6427
  "dev": true,
6428
6428
  "license": "MIT",
6429
6429
  "dependencies": {
@@ -8430,16 +8430,16 @@
8430
8430
  }
8431
8431
  },
8432
8432
  "node_modules/eslint": {
8433
- "version": "8.47.0",
8434
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.47.0.tgz",
8435
- "integrity": "sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==",
8433
+ "version": "8.48.0",
8434
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz",
8435
+ "integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==",
8436
8436
  "dev": true,
8437
8437
  "license": "MIT",
8438
8438
  "dependencies": {
8439
8439
  "@eslint-community/eslint-utils": "^4.2.0",
8440
8440
  "@eslint-community/regexpp": "^4.6.1",
8441
8441
  "@eslint/eslintrc": "^2.1.2",
8442
- "@eslint/js": "^8.47.0",
8442
+ "@eslint/js": "8.48.0",
8443
8443
  "@humanwhocodes/config-array": "^0.11.10",
8444
8444
  "@humanwhocodes/module-importer": "^1.0.1",
8445
8445
  "@nodelib/fs.walk": "^1.2.8",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.7.5",
2
+ "version": "2.7.7",
3
3
  "commands": {
4
4
  "cmdt:generate:field": {
5
5
  "id": "cmdt:generate:field",
@@ -1132,6 +1132,477 @@
1132
1132
  "flags": {},
1133
1133
  "args": {}
1134
1134
  },
1135
+ "project:deploy:pipeline:quick": {
1136
+ "id": "project:deploy:pipeline:quick",
1137
+ "summary": "Quickly deploy a validated deployment to an org.",
1138
+ "description": "Before you run this command, first create a validated deployment with the \"sf project deploy pipeline validate\" command, which returns a job ID. Validated deployments haven't been deployed to the org yet; you deploy them with this command. Either pass the job ID to this command or use the --use-most-recent flag to use the job ID of the most recently validated deployment. For the quick deploy to succeed, the associated validated deployment must also have succeeded.\n\nExecuting this quick deploy command takes less time than a standard deploy because it skips running Apex tests. These tests were previously run as part of the validation. Validating first and then running a quick deploy is useful if the deployment to your production org take several hours and you don’t want to risk a failed deploy.\n\nThis command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org.",
1139
+ "strict": true,
1140
+ "pluginName": "@salesforce/plugin-devops-center",
1141
+ "pluginAlias": "@salesforce/plugin-devops-center",
1142
+ "pluginType": "jit",
1143
+ "state": "beta",
1144
+ "aliases": [],
1145
+ "examples": [
1146
+ "Run a quick deploy using your default Devops Center org and a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
1147
+ "Asynchronously run a quick deploy of the most recently validated deployment using an org with alias \"my-prod-org\":\n<%= config.bin %> <%= command.id %> --async --use-most-recent --devops-center-username my-prod-org"
1148
+ ],
1149
+ "flags": {
1150
+ "json": {
1151
+ "name": "json",
1152
+ "type": "boolean",
1153
+ "description": "Format output as json.",
1154
+ "helpGroup": "GLOBAL",
1155
+ "allowNo": false
1156
+ },
1157
+ "async": {
1158
+ "name": "async",
1159
+ "type": "boolean",
1160
+ "summary": "Run the command asynchronously.",
1161
+ "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
1162
+ "allowNo": false
1163
+ },
1164
+ "concise": {
1165
+ "name": "concise",
1166
+ "type": "boolean",
1167
+ "summary": "Show concise output of the command result.",
1168
+ "allowNo": false,
1169
+ "exclusive": [
1170
+ "verbose"
1171
+ ]
1172
+ },
1173
+ "verbose": {
1174
+ "name": "verbose",
1175
+ "type": "boolean",
1176
+ "summary": "Show verbose output of the command result.",
1177
+ "allowNo": false
1178
+ },
1179
+ "wait": {
1180
+ "name": "wait",
1181
+ "type": "option",
1182
+ "char": "w",
1183
+ "summary": "Number of minutes to wait for command to complete and display results.",
1184
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run \"<%= config.bin %> <%= command.id.split(' ').slice(0, -1).join(' ') %> report\".",
1185
+ "helpValue": "<minutes>",
1186
+ "multiple": false,
1187
+ "exclusive": [
1188
+ "async"
1189
+ ],
1190
+ "default": {
1191
+ "quantity": 33,
1192
+ "unit": 0
1193
+ }
1194
+ },
1195
+ "devops-center-username": {
1196
+ "name": "devops-center-username",
1197
+ "type": "option",
1198
+ "char": "c",
1199
+ "summary": "Username or alias of the DevOps Center org.",
1200
+ "required": true,
1201
+ "multiple": false
1202
+ },
1203
+ "job-id": {
1204
+ "name": "job-id",
1205
+ "type": "option",
1206
+ "char": "i",
1207
+ "summary": "Job ID of the validated deployment to quick deploy.",
1208
+ "description": "The job ID is valid for 10 days from when you started the validation.",
1209
+ "multiple": false
1210
+ },
1211
+ "use-most-recent": {
1212
+ "name": "use-most-recent",
1213
+ "type": "boolean",
1214
+ "char": "r",
1215
+ "summary": "Use the job ID of the most recently validated deployment.",
1216
+ "description": "For performance reasons, this flag uses only job IDs that were validated in the past 3 days or less. If your most recent deployment validation was more than 3 days ago, this flag won't find the job ID.",
1217
+ "allowNo": false
1218
+ }
1219
+ },
1220
+ "args": {},
1221
+ "hasDynamicHelp": true
1222
+ },
1223
+ "project:deploy:pipeline:report": {
1224
+ "id": "project:deploy:pipeline:report",
1225
+ "summary": "Check the status of a pipeline deploy operation.",
1226
+ "description": "Run this command by either indicating a job ID or specifying the —use-most-recent flag to use the job ID of the most recent deploy operation.",
1227
+ "strict": true,
1228
+ "pluginName": "@salesforce/plugin-devops-center",
1229
+ "pluginAlias": "@salesforce/plugin-devops-center",
1230
+ "pluginType": "jit",
1231
+ "state": "beta",
1232
+ "aliases": [],
1233
+ "examples": [
1234
+ "Check the status using a job ID:\n<%= config.bin %> <%= command.id %> --devops-center-username MyStagingSandbox --job-id 0Af0x000017yLUFCA2",
1235
+ "Check the status of the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --devops-center-username MyStagingSandbox --use-most-recent"
1236
+ ],
1237
+ "flags": {
1238
+ "json": {
1239
+ "name": "json",
1240
+ "type": "boolean",
1241
+ "description": "Format output as json.",
1242
+ "helpGroup": "GLOBAL",
1243
+ "allowNo": false
1244
+ },
1245
+ "devops-center-username": {
1246
+ "name": "devops-center-username",
1247
+ "type": "option",
1248
+ "char": "c",
1249
+ "summary": "Username or alias of the DevOps Center org.",
1250
+ "required": true,
1251
+ "multiple": false
1252
+ },
1253
+ "job-id": {
1254
+ "name": "job-id",
1255
+ "type": "option",
1256
+ "char": "i",
1257
+ "summary": "Job ID of the pipeline deployment to check the status of.",
1258
+ "description": "The job ID is valid for 10 days from when you started the deploy operation.",
1259
+ "multiple": false
1260
+ },
1261
+ "use-most-recent": {
1262
+ "name": "use-most-recent",
1263
+ "type": "boolean",
1264
+ "char": "r",
1265
+ "summary": "Use the job ID of the most recent deploy operation.",
1266
+ "description": "For performance reasons, this flag uses job IDs for deploy operations that started in the past 3 days or fewer. If your most recent operation was longer than 3 days ago, this flag won't find the job ID.",
1267
+ "allowNo": false
1268
+ }
1269
+ },
1270
+ "args": {},
1271
+ "hasDynamicHelp": true
1272
+ },
1273
+ "project:deploy:pipeline:resume": {
1274
+ "id": "project:deploy:pipeline:resume",
1275
+ "summary": "Resume watching a pipeline deploy operation.",
1276
+ "description": "Use this command to resume watching a pipeline deploy operation if the original command times out or you specified the --async flag.\n\nRun this command by either indicating a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.",
1277
+ "strict": true,
1278
+ "pluginName": "@salesforce/plugin-devops-center",
1279
+ "pluginAlias": "@salesforce/plugin-devops-center",
1280
+ "pluginType": "jit",
1281
+ "state": "beta",
1282
+ "aliases": [],
1283
+ "examples": [
1284
+ "Resume watching a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
1285
+ "Resume watching the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
1286
+ ],
1287
+ "flags": {
1288
+ "json": {
1289
+ "name": "json",
1290
+ "type": "boolean",
1291
+ "description": "Format output as json.",
1292
+ "helpGroup": "GLOBAL",
1293
+ "allowNo": false
1294
+ },
1295
+ "devops-center-username": {
1296
+ "name": "devops-center-username",
1297
+ "type": "option",
1298
+ "char": "c",
1299
+ "summary": "Username or alias of the DevOps Center org.",
1300
+ "required": true,
1301
+ "multiple": false
1302
+ },
1303
+ "job-id": {
1304
+ "name": "job-id",
1305
+ "type": "option",
1306
+ "char": "i",
1307
+ "summary": "Job ID of the pipeline deploy operation you want to resume.",
1308
+ "description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- sf project deploy pipeline start\n- sf project deploy pipeline validate\n- sf project deploy pipeline quick\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
1309
+ "multiple": false
1310
+ },
1311
+ "use-most-recent": {
1312
+ "name": "use-most-recent",
1313
+ "type": "boolean",
1314
+ "char": "r",
1315
+ "summary": "Use the job ID of the most recent deploy operation.",
1316
+ "description": "For performance reasons, this flag uses job IDs for operations that started in the past 3 days or fewer. If your most recent operation was longer than 3 days ago, this flag won't find a job ID.",
1317
+ "allowNo": false
1318
+ },
1319
+ "concise": {
1320
+ "name": "concise",
1321
+ "type": "boolean",
1322
+ "summary": "Show concise output of the command result.",
1323
+ "allowNo": false,
1324
+ "exclusive": [
1325
+ "verbose"
1326
+ ]
1327
+ },
1328
+ "verbose": {
1329
+ "name": "verbose",
1330
+ "type": "boolean",
1331
+ "summary": "Show verbose output of the command result.",
1332
+ "allowNo": false
1333
+ },
1334
+ "wait": {
1335
+ "name": "wait",
1336
+ "type": "option",
1337
+ "char": "w",
1338
+ "summary": "Number of minutes to wait for command to complete and display results.",
1339
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run \"<%= config.bin %> <%= command.id.split(' ').slice(0, -1).join(' ') %> report\".",
1340
+ "helpValue": "<minutes>",
1341
+ "multiple": false,
1342
+ "exclusive": [
1343
+ "async"
1344
+ ],
1345
+ "default": {
1346
+ "quantity": 33,
1347
+ "unit": 0
1348
+ }
1349
+ }
1350
+ },
1351
+ "args": {},
1352
+ "hasDynamicHelp": true
1353
+ },
1354
+ "project:deploy:pipeline:start": {
1355
+ "id": "project:deploy:pipeline:start",
1356
+ "summary": "Deploy changes from a branch to the pipeline stage’s org.",
1357
+ "description": "Before you run this command, changes in the pipeline stage's branch must be merged in the source control repository.",
1358
+ "strict": true,
1359
+ "pluginName": "@salesforce/plugin-devops-center",
1360
+ "pluginAlias": "@salesforce/plugin-devops-center",
1361
+ "pluginType": "jit",
1362
+ "state": "beta",
1363
+ "aliases": [],
1364
+ "examples": [
1365
+ "Deploy changes in the Staging branch to the Staging environment (sandbox), if the previous stage is the bundling stage:\n<%= config.bin %> <%= command.id %> --devops-center-project-name “Recruiting App” --branch-name staging --devops-center-username MyStagingSandbox --bundle-version-name 1.0",
1366
+ "Deploy all changes in the main branch to the release environment:\n<%= config.bin %> <%= command.id %> --devops-center-project-name “Recruiting App” --branch-name main --devops-center-username MyReleaseOrg --deploy-all"
1367
+ ],
1368
+ "flags": {
1369
+ "json": {
1370
+ "name": "json",
1371
+ "type": "boolean",
1372
+ "description": "Format output as json.",
1373
+ "helpGroup": "GLOBAL",
1374
+ "allowNo": false
1375
+ },
1376
+ "branch-name": {
1377
+ "name": "branch-name",
1378
+ "type": "option",
1379
+ "char": "b",
1380
+ "summary": "Name of the branch in the source control repository that corresponds to the pipeline stage that you want to deploy the changes to.",
1381
+ "required": true,
1382
+ "multiple": false
1383
+ },
1384
+ "bundle-version-name": {
1385
+ "name": "bundle-version-name",
1386
+ "type": "option",
1387
+ "char": "v",
1388
+ "summary": "Version name of the bundle.",
1389
+ "description": "You must indicate the bundle version if deploying to the environment that corresponds to the first stage after the bundling stage.",
1390
+ "multiple": false
1391
+ },
1392
+ "deploy-all": {
1393
+ "name": "deploy-all",
1394
+ "type": "boolean",
1395
+ "char": "a",
1396
+ "summary": "Deploy all metadata in the branch to the stage's org.",
1397
+ "description": "If you don’t specify this flag, only changes in the stage’s branch are deployed.",
1398
+ "allowNo": false
1399
+ },
1400
+ "devops-center-project-name": {
1401
+ "name": "devops-center-project-name",
1402
+ "type": "option",
1403
+ "char": "p",
1404
+ "summary": "Name of the DevOps Center project.",
1405
+ "required": true,
1406
+ "multiple": false
1407
+ },
1408
+ "devops-center-username": {
1409
+ "name": "devops-center-username",
1410
+ "type": "option",
1411
+ "char": "c",
1412
+ "summary": "Username or alias of the DevOps Center org.",
1413
+ "required": true,
1414
+ "multiple": false
1415
+ },
1416
+ "tests": {
1417
+ "name": "tests",
1418
+ "type": "option",
1419
+ "char": "t",
1420
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
1421
+ "description": "Separate multiple test names with commas. Enclose the entire flag value in double quotes if a test name contains spaces.",
1422
+ "multiple": true
1423
+ },
1424
+ "test-level": {
1425
+ "name": "test-level",
1426
+ "type": "option",
1427
+ "char": "l",
1428
+ "summary": "Deployment Apex testing level.",
1429
+ "description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --run-tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see [Running Tests in a Deployment](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
1430
+ "multiple": false,
1431
+ "options": [
1432
+ "NoTestRun",
1433
+ "RunSpecifiedTests",
1434
+ "RunLocalTests",
1435
+ "RunAllTestsInOrg"
1436
+ ]
1437
+ },
1438
+ "async": {
1439
+ "name": "async",
1440
+ "type": "boolean",
1441
+ "summary": "Run the command asynchronously.",
1442
+ "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
1443
+ "allowNo": false
1444
+ },
1445
+ "wait": {
1446
+ "name": "wait",
1447
+ "type": "option",
1448
+ "char": "w",
1449
+ "summary": "Number of minutes to wait for command to complete and display results.",
1450
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run \"<%= config.bin %> <%= command.id.split(' ').slice(0, -1).join(' ') %> report\".",
1451
+ "helpValue": "<minutes>",
1452
+ "multiple": false,
1453
+ "exclusive": [
1454
+ "async"
1455
+ ],
1456
+ "default": {
1457
+ "quantity": 33,
1458
+ "unit": 0
1459
+ }
1460
+ },
1461
+ "verbose": {
1462
+ "name": "verbose",
1463
+ "type": "boolean",
1464
+ "summary": "Show verbose output of the command result.",
1465
+ "allowNo": false
1466
+ },
1467
+ "concise": {
1468
+ "name": "concise",
1469
+ "type": "boolean",
1470
+ "summary": "Show concise output of the command result.",
1471
+ "allowNo": false,
1472
+ "exclusive": [
1473
+ "verbose"
1474
+ ]
1475
+ }
1476
+ },
1477
+ "args": {},
1478
+ "hasDynamicHelp": true
1479
+ },
1480
+ "project:deploy:pipeline:validate": {
1481
+ "id": "project:deploy:pipeline:validate",
1482
+ "summary": "Perform a validate-only deployment from a branch to the pipeline stage’s org.",
1483
+ "description": "A validation runs Apex tests to verify whether a deployment will succeed without actually deploying the metadata to your environment, so you can then quickly deploy the changes later without re-running the tests.",
1484
+ "strict": true,
1485
+ "pluginName": "@salesforce/plugin-devops-center",
1486
+ "pluginAlias": "@salesforce/plugin-devops-center",
1487
+ "pluginType": "jit",
1488
+ "state": "beta",
1489
+ "aliases": [],
1490
+ "examples": [
1491
+ "Perform a validate-only deployment from the Staging branch to the Staging environment (sandbox):\n<%= config.bin %> <%= command.id %> --devops-center-project-name “Recruiting App” --branch-name staging --devops-center-username MyStagingSandbox",
1492
+ "Perform a validate-only deployment of all changes from the main branch to the release environment:\n<%= config.bin %> <%= command.id %> --devops-center-project-name “Recruiting App” --branch-name main --devops-center-username MyReleaseOrg --deploy-all"
1493
+ ],
1494
+ "flags": {
1495
+ "json": {
1496
+ "name": "json",
1497
+ "type": "boolean",
1498
+ "description": "Format output as json.",
1499
+ "helpGroup": "GLOBAL",
1500
+ "allowNo": false
1501
+ },
1502
+ "branch-name": {
1503
+ "name": "branch-name",
1504
+ "type": "option",
1505
+ "char": "b",
1506
+ "summary": "Name of the branch in the source control repository that corresponds to the pipeline stage that you want to deploy the changes to.",
1507
+ "required": true,
1508
+ "multiple": false
1509
+ },
1510
+ "bundle-version-name": {
1511
+ "name": "bundle-version-name",
1512
+ "type": "option",
1513
+ "char": "v",
1514
+ "summary": "Version name of the bundle.",
1515
+ "description": "You must indicate the bundle version if deploying to the environment that corresponds to the first stage after the bundling stage.",
1516
+ "multiple": false
1517
+ },
1518
+ "deploy-all": {
1519
+ "name": "deploy-all",
1520
+ "type": "boolean",
1521
+ "char": "a",
1522
+ "summary": "Deploy all metadata in the branch to the stage's org.",
1523
+ "description": "If you don’t specify this flag, only changes in the stage’s branch are deployed.",
1524
+ "allowNo": false
1525
+ },
1526
+ "devops-center-project-name": {
1527
+ "name": "devops-center-project-name",
1528
+ "type": "option",
1529
+ "char": "p",
1530
+ "summary": "Name of the DevOps Center project.",
1531
+ "required": true,
1532
+ "multiple": false
1533
+ },
1534
+ "devops-center-username": {
1535
+ "name": "devops-center-username",
1536
+ "type": "option",
1537
+ "char": "c",
1538
+ "summary": "Username or alias of the DevOps Center org.",
1539
+ "required": true,
1540
+ "multiple": false
1541
+ },
1542
+ "tests": {
1543
+ "name": "tests",
1544
+ "type": "option",
1545
+ "char": "t",
1546
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
1547
+ "description": "Separate multiple test names with commas. Enclose the entire flag value in double quotes if a test name contains spaces.",
1548
+ "multiple": true
1549
+ },
1550
+ "test-level": {
1551
+ "name": "test-level",
1552
+ "type": "option",
1553
+ "char": "l",
1554
+ "summary": "Deployment Apex testing level.",
1555
+ "description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --run-tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see [Running Tests in a Deployment](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
1556
+ "multiple": false,
1557
+ "options": [
1558
+ "NoTestRun",
1559
+ "RunSpecifiedTests",
1560
+ "RunLocalTests",
1561
+ "RunAllTestsInOrg"
1562
+ ]
1563
+ },
1564
+ "async": {
1565
+ "name": "async",
1566
+ "type": "boolean",
1567
+ "summary": "Run the command asynchronously.",
1568
+ "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
1569
+ "allowNo": false
1570
+ },
1571
+ "wait": {
1572
+ "name": "wait",
1573
+ "type": "option",
1574
+ "char": "w",
1575
+ "summary": "Number of minutes to wait for command to complete and display results.",
1576
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run \"<%= config.bin %> <%= command.id.split(' ').slice(0, -1).join(' ') %> report\".",
1577
+ "helpValue": "<minutes>",
1578
+ "multiple": false,
1579
+ "exclusive": [
1580
+ "async"
1581
+ ],
1582
+ "default": {
1583
+ "quantity": 33,
1584
+ "unit": 0
1585
+ }
1586
+ },
1587
+ "verbose": {
1588
+ "name": "verbose",
1589
+ "type": "boolean",
1590
+ "summary": "Show verbose output of the command result.",
1591
+ "allowNo": false
1592
+ },
1593
+ "concise": {
1594
+ "name": "concise",
1595
+ "type": "boolean",
1596
+ "summary": "Show concise output of the command result.",
1597
+ "allowNo": false,
1598
+ "exclusive": [
1599
+ "verbose"
1600
+ ]
1601
+ }
1602
+ },
1603
+ "args": {},
1604
+ "hasDynamicHelp": true
1605
+ },
1135
1606
  "env:display": {
1136
1607
  "id": "env:display",
1137
1608
  "summary": "Display details about an environment.",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.7.5",
4
+ "version": "2.7.7",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run",
@@ -72,6 +72,7 @@
72
72
  "@salesforce/plugin-custom-metadata": "2.1.41",
73
73
  "@salesforce/plugin-community": "2.3.14",
74
74
  "@salesforce/plugin-dev": "1.1.9",
75
+ "@salesforce/plugin-devops-center": "1.1.0",
75
76
  "@salesforce/plugin-env": "2.1.23",
76
77
  "@salesforce/plugin-functions": "1.21.11",
77
78
  "@salesforce/plugin-packaging": "1.22.2",
@@ -119,12 +120,12 @@
119
120
  ]
120
121
  },
121
122
  "dependencies": {
122
- "@oclif/core": "2.11.10",
123
+ "@oclif/core": "2.12.0",
123
124
  "@oclif/plugin-autocomplete": "2.3.6",
124
125
  "@oclif/plugin-commands": "2.2.24",
125
126
  "@oclif/plugin-help": "5.2.18",
126
127
  "@oclif/plugin-not-found": "2.3.38",
127
- "@oclif/plugin-plugins": "3.3.1",
128
+ "@oclif/plugin-plugins": "3.3.2",
128
129
  "@oclif/plugin-search": "0.0.22",
129
130
  "@oclif/plugin-update": "3.1.32",
130
131
  "@oclif/plugin-version": "1.3.9",
@@ -147,7 +148,7 @@
147
148
  "@salesforce/plugin-templates": "55.5.10",
148
149
  "@salesforce/plugin-trust": "2.6.7",
149
150
  "@salesforce/plugin-user": "2.3.31",
150
- "@salesforce/sf-plugins-core": "3.1.18",
151
+ "@salesforce/sf-plugins-core": "3.1.20",
151
152
  "debug": "^4.3.4",
152
153
  "tslib": "^2.4.1"
153
154
  },
@@ -185,7 +186,7 @@
185
186
  "@salesforce/schemas": "1.6.0",
186
187
  "@salesforce/templates": "59.0.1",
187
188
  "@salesforce/source-deploy-retrieve": "9.7.8",
188
- "@salesforce/source-tracking": "4.2.11"
189
+ "@salesforce/source-tracking": "4.2.12"
189
190
  },
190
191
  "repository": "salesforcecli/cli",
191
192
  "scripts": {
@@ -236,9 +237,9 @@
236
237
  "@types/debug": "^4.1.8",
237
238
  "@typescript-eslint/eslint-plugin": "^5.62.0",
238
239
  "@typescript-eslint/parser": "^5.62.0",
239
- "aws-sdk": "^2.1440.0",
240
- "chai": "^4.3.7",
241
- "eslint": "^8.47.0",
240
+ "aws-sdk": "^2.1446.0",
241
+ "chai": "^4.3.8",
242
+ "eslint": "^8.48.0",
242
243
  "eslint-config-oclif": "^3.1",
243
244
  "eslint-config-oclif-typescript": "^0.2.0",
244
245
  "eslint-config-prettier": "^8.10.0",