@salesforce/cli 2.30.6 → 2.30.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.
@@ -1222,14 +1222,12 @@
1222
1222
  "messages:audit:dev"
1223
1223
  ]
1224
1224
  },
1225
- "dev:convert:messages": {
1225
+ "dev:configure:repo": {
1226
1226
  "aliases": [],
1227
1227
  "args": {},
1228
- "description": "Preserves the filename and the original messages file, then creates a new file with the Markdown extension and standard headers for the command and flag summaries, descriptions, and so on. After you review the new Markdown file, delete the old .json file.",
1228
+ "description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
1229
1229
  "examples": [
1230
- "Convert the my-command.json message file into my-command.md with the standard messages headers:\n<%= config.bin %> <%= command.id %> --filename my-command.json",
1231
- "Similar to previous example, but specify the plugin project directory:",
1232
- "<%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename my-command.json"
1230
+ "Configure the repo \"testPackageRelease\", with owner \"salesforcecli\", for GitHub Actions.\n<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1233
1231
  ],
1234
1232
  "flags": {
1235
1233
  "json": {
@@ -1239,64 +1237,70 @@
1239
1237
  "allowNo": false,
1240
1238
  "type": "boolean"
1241
1239
  },
1242
- "project-dir": {
1243
- "aliases": [
1244
- "projectdir"
1245
- ],
1246
- "char": "p",
1247
- "name": "project-dir",
1248
- "summary": "Location of the project whose messages are to be converted.",
1249
- "default": ".",
1240
+ "repository": {
1241
+ "char": "r",
1242
+ "name": "repository",
1243
+ "required": true,
1244
+ "summary": "GitHub owner/repo for which you want to configure GitHub Actions.",
1250
1245
  "hasDynamicHelp": false,
1251
1246
  "multiple": false,
1252
1247
  "type": "option"
1253
1248
  },
1254
- "file-name": {
1249
+ "dry-run": {
1255
1250
  "aliases": [
1256
- "filename"
1251
+ "dryrun"
1257
1252
  ],
1258
- "char": "f",
1259
- "name": "file-name",
1260
- "required": true,
1261
- "summary": "Filename to convert.",
1253
+ "char": "d",
1254
+ "name": "dry-run",
1255
+ "summary": "Make no changes.",
1256
+ "allowNo": false,
1257
+ "type": "boolean"
1258
+ },
1259
+ "bot": {
1260
+ "char": "b",
1261
+ "name": "bot",
1262
+ "summary": "GitHub login/username for the bot.",
1263
+ "default": "SF-CLI-BOT",
1262
1264
  "hasDynamicHelp": false,
1263
- "multiple": true,
1265
+ "multiple": false,
1264
1266
  "type": "option"
1265
1267
  }
1266
1268
  },
1267
1269
  "hasDynamicHelp": false,
1270
+ "hidden": true,
1268
1271
  "hiddenAliases": [],
1269
- "id": "dev:convert:messages",
1272
+ "id": "dev:configure:repo",
1270
1273
  "pluginAlias": "@salesforce/plugin-dev",
1271
1274
  "pluginName": "@salesforce/plugin-dev",
1272
1275
  "pluginType": "jit",
1273
1276
  "strict": true,
1274
- "summary": "Convert a .json messages file into Markdown.",
1277
+ "summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
1275
1278
  "enableJsonFlag": true,
1276
1279
  "isESM": true,
1277
1280
  "relativePath": [
1278
1281
  "lib",
1279
1282
  "commands",
1280
1283
  "dev",
1281
- "convert",
1282
- "messages.js"
1284
+ "configure",
1285
+ "repo.js"
1283
1286
  ],
1284
1287
  "aliasPermutations": [],
1285
1288
  "permutations": [
1286
- "dev:convert:messages",
1287
- "convert:dev:messages",
1288
- "convert:messages:dev",
1289
- "dev:messages:convert",
1290
- "messages:dev:convert",
1291
- "messages:convert:dev"
1289
+ "dev:configure:repo",
1290
+ "configure:dev:repo",
1291
+ "configure:repo:dev",
1292
+ "dev:repo:configure",
1293
+ "repo:dev:configure",
1294
+ "repo:configure:dev"
1292
1295
  ]
1293
1296
  },
1294
- "dev:convert:script": {
1297
+ "dev:configure:secrets": {
1295
1298
  "aliases": [],
1296
1299
  "args": {},
1297
- "description": "Important: Use this command only to get started on the sfdx->sf script migration. We don't guarantee that the new sf-style command replacements work correctly or as you expect. You must test, and probably update, the new script before putting it into production. We also don't guarantee that the JSON results are the same as before. \n\nThis command can convert a large part of your script, but possibly not all. There are some sfdx-style commands that don't have an obvious sf-style equivalent. In this case, this command doesn't replace the sfdx-style command but instead adds a comment to remind you that you must convert it manually. See the Salesforce CLI Command Reference for migration information about each deprecated sfdx-style command: https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm.\n\nThis command is interactive; as it scans your script, it prompts you when it finds an sfdx-style command or flag and asks if you want to convert it to the displayed suggestion. The command doesn't update the script file directly; rather, it creates a new file whose name is the original name but with \"-converted\" appended to it. The script replaces all instances of \"sfdx\" with \"sf\". For each prompt you answer \"y\" to, the command replaces the sfdx-style names with their equivalent sf-style ones. For example, \"sfdx force:apex:execute --targetusername myscratch\" is replaced with \"sf apex run --target-org myscratch\".",
1300
+ "description": "Inspects a repo's yaml files and verifies that secrets required are available for the repo (either set at the repo level or shared via organization-level secrets).\n\nThis command requires scope:admin permissions to inspect the org secrets and admin access to the repo to inspect the repo secrets.",
1298
1301
  "examples": [
1299
- "Convert the YAML file called \"myScript.yml\" located in the current directory; the new file that contains the replacements is called \"myScript-converted.yml\":\n<%= config.bin %> <%= command.id %> --script ./myScript.yml"
1302
+ "Ensure secrets access for the repo \"testPackageRelease\", with owner \"salesforcecli\":",
1303
+ "<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1300
1304
  ],
1301
1305
  "flags": {
1302
1306
  "json": {
@@ -1306,56 +1310,62 @@
1306
1310
  "allowNo": false,
1307
1311
  "type": "boolean"
1308
1312
  },
1309
- "script": {
1310
- "char": "s",
1311
- "name": "script",
1313
+ "repository": {
1314
+ "char": "r",
1315
+ "name": "repository",
1312
1316
  "required": true,
1313
- "summary": "Filepath to the script you want to convert.",
1317
+ "summary": "Github owner/repo.",
1314
1318
  "hasDynamicHelp": false,
1315
1319
  "multiple": false,
1316
1320
  "type": "option"
1317
1321
  },
1318
- "no-prompt": {
1319
- "hidden": true,
1320
- "name": "no-prompt",
1321
- "summary": "Don't prompt for suggested replacements.",
1322
+ "dry-run": {
1323
+ "aliases": [
1324
+ "dryrun"
1325
+ ],
1326
+ "char": "d",
1327
+ "name": "dry-run",
1328
+ "summary": "Make no changes.",
1322
1329
  "allowNo": false,
1323
1330
  "type": "boolean"
1324
1331
  }
1325
1332
  },
1326
1333
  "hasDynamicHelp": false,
1334
+ "hidden": true,
1327
1335
  "hiddenAliases": [],
1328
- "id": "dev:convert:script",
1336
+ "id": "dev:configure:secrets",
1329
1337
  "pluginAlias": "@salesforce/plugin-dev",
1330
1338
  "pluginName": "@salesforce/plugin-dev",
1331
1339
  "pluginType": "jit",
1332
1340
  "strict": true,
1333
- "summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
1341
+ "summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
1334
1342
  "enableJsonFlag": true,
1335
1343
  "isESM": true,
1336
1344
  "relativePath": [
1337
1345
  "lib",
1338
1346
  "commands",
1339
1347
  "dev",
1340
- "convert",
1341
- "script.js"
1348
+ "configure",
1349
+ "secrets.js"
1342
1350
  ],
1343
1351
  "aliasPermutations": [],
1344
1352
  "permutations": [
1345
- "dev:convert:script",
1346
- "convert:dev:script",
1347
- "convert:script:dev",
1348
- "dev:script:convert",
1349
- "script:dev:convert",
1350
- "script:convert:dev"
1353
+ "dev:configure:secrets",
1354
+ "configure:dev:secrets",
1355
+ "configure:secrets:dev",
1356
+ "dev:secrets:configure",
1357
+ "secrets:dev:configure",
1358
+ "secrets:configure:dev"
1351
1359
  ]
1352
1360
  },
1353
- "dev:configure:repo": {
1361
+ "dev:convert:messages": {
1354
1362
  "aliases": [],
1355
1363
  "args": {},
1356
- "description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
1364
+ "description": "Preserves the filename and the original messages file, then creates a new file with the Markdown extension and standard headers for the command and flag summaries, descriptions, and so on. After you review the new Markdown file, delete the old .json file.",
1357
1365
  "examples": [
1358
- "Configure the repo \"testPackageRelease\", with owner \"salesforcecli\", for GitHub Actions.\n<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1366
+ "Convert the my-command.json message file into my-command.md with the standard messages headers:\n<%= config.bin %> <%= command.id %> --filename my-command.json",
1367
+ "Similar to previous example, but specify the plugin project directory:",
1368
+ "<%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename my-command.json"
1359
1369
  ],
1360
1370
  "flags": {
1361
1371
  "json": {
@@ -1365,70 +1375,64 @@
1365
1375
  "allowNo": false,
1366
1376
  "type": "boolean"
1367
1377
  },
1368
- "repository": {
1369
- "char": "r",
1370
- "name": "repository",
1371
- "required": true,
1372
- "summary": "GitHub owner/repo for which you want to configure GitHub Actions.",
1378
+ "project-dir": {
1379
+ "aliases": [
1380
+ "projectdir"
1381
+ ],
1382
+ "char": "p",
1383
+ "name": "project-dir",
1384
+ "summary": "Location of the project whose messages are to be converted.",
1385
+ "default": ".",
1373
1386
  "hasDynamicHelp": false,
1374
1387
  "multiple": false,
1375
1388
  "type": "option"
1376
1389
  },
1377
- "dry-run": {
1390
+ "file-name": {
1378
1391
  "aliases": [
1379
- "dryrun"
1392
+ "filename"
1380
1393
  ],
1381
- "char": "d",
1382
- "name": "dry-run",
1383
- "summary": "Make no changes.",
1384
- "allowNo": false,
1385
- "type": "boolean"
1386
- },
1387
- "bot": {
1388
- "char": "b",
1389
- "name": "bot",
1390
- "summary": "GitHub login/username for the bot.",
1391
- "default": "SF-CLI-BOT",
1394
+ "char": "f",
1395
+ "name": "file-name",
1396
+ "required": true,
1397
+ "summary": "Filename to convert.",
1392
1398
  "hasDynamicHelp": false,
1393
- "multiple": false,
1399
+ "multiple": true,
1394
1400
  "type": "option"
1395
1401
  }
1396
1402
  },
1397
1403
  "hasDynamicHelp": false,
1398
- "hidden": true,
1399
1404
  "hiddenAliases": [],
1400
- "id": "dev:configure:repo",
1405
+ "id": "dev:convert:messages",
1401
1406
  "pluginAlias": "@salesforce/plugin-dev",
1402
1407
  "pluginName": "@salesforce/plugin-dev",
1403
1408
  "pluginType": "jit",
1404
1409
  "strict": true,
1405
- "summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
1410
+ "summary": "Convert a .json messages file into Markdown.",
1406
1411
  "enableJsonFlag": true,
1407
1412
  "isESM": true,
1408
1413
  "relativePath": [
1409
1414
  "lib",
1410
1415
  "commands",
1411
1416
  "dev",
1412
- "configure",
1413
- "repo.js"
1417
+ "convert",
1418
+ "messages.js"
1414
1419
  ],
1415
1420
  "aliasPermutations": [],
1416
1421
  "permutations": [
1417
- "dev:configure:repo",
1418
- "configure:dev:repo",
1419
- "configure:repo:dev",
1420
- "dev:repo:configure",
1421
- "repo:dev:configure",
1422
- "repo:configure:dev"
1422
+ "dev:convert:messages",
1423
+ "convert:dev:messages",
1424
+ "convert:messages:dev",
1425
+ "dev:messages:convert",
1426
+ "messages:dev:convert",
1427
+ "messages:convert:dev"
1423
1428
  ]
1424
1429
  },
1425
- "dev:configure:secrets": {
1430
+ "dev:convert:script": {
1426
1431
  "aliases": [],
1427
1432
  "args": {},
1428
- "description": "Inspects a repo's yaml files and verifies that secrets required are available for the repo (either set at the repo level or shared via organization-level secrets).\n\nThis command requires scope:admin permissions to inspect the org secrets and admin access to the repo to inspect the repo secrets.",
1433
+ "description": "Important: Use this command only to get started on the sfdx->sf script migration. We don't guarantee that the new sf-style command replacements work correctly or as you expect. You must test, and probably update, the new script before putting it into production. We also don't guarantee that the JSON results are the same as before. \n\nThis command can convert a large part of your script, but possibly not all. There are some sfdx-style commands that don't have an obvious sf-style equivalent. In this case, this command doesn't replace the sfdx-style command but instead adds a comment to remind you that you must convert it manually. See the Salesforce CLI Command Reference for migration information about each deprecated sfdx-style command: https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm.\n\nThis command is interactive; as it scans your script, it prompts you when it finds an sfdx-style command or flag and asks if you want to convert it to the displayed suggestion. The command doesn't update the script file directly; rather, it creates a new file whose name is the original name but with \"-converted\" appended to it. The script replaces all instances of \"sfdx\" with \"sf\". For each prompt you answer \"y\" to, the command replaces the sfdx-style names with their equivalent sf-style ones. For example, \"sfdx force:apex:execute --targetusername myscratch\" is replaced with \"sf apex run --target-org myscratch\".",
1429
1434
  "examples": [
1430
- "Ensure secrets access for the repo \"testPackageRelease\", with owner \"salesforcecli\":",
1431
- "<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1435
+ "Convert the YAML file called \"myScript.yml\" located in the current directory; the new file that contains the replacements is called \"myScript-converted.yml\":\n<%= config.bin %> <%= command.id %> --script ./myScript.yml"
1432
1436
  ],
1433
1437
  "flags": {
1434
1438
  "json": {
@@ -1438,52 +1442,48 @@
1438
1442
  "allowNo": false,
1439
1443
  "type": "boolean"
1440
1444
  },
1441
- "repository": {
1442
- "char": "r",
1443
- "name": "repository",
1445
+ "script": {
1446
+ "char": "s",
1447
+ "name": "script",
1444
1448
  "required": true,
1445
- "summary": "Github owner/repo.",
1449
+ "summary": "Filepath to the script you want to convert.",
1446
1450
  "hasDynamicHelp": false,
1447
1451
  "multiple": false,
1448
1452
  "type": "option"
1449
1453
  },
1450
- "dry-run": {
1451
- "aliases": [
1452
- "dryrun"
1453
- ],
1454
- "char": "d",
1455
- "name": "dry-run",
1456
- "summary": "Make no changes.",
1454
+ "no-prompt": {
1455
+ "hidden": true,
1456
+ "name": "no-prompt",
1457
+ "summary": "Don't prompt for suggested replacements.",
1457
1458
  "allowNo": false,
1458
1459
  "type": "boolean"
1459
1460
  }
1460
1461
  },
1461
1462
  "hasDynamicHelp": false,
1462
- "hidden": true,
1463
1463
  "hiddenAliases": [],
1464
- "id": "dev:configure:secrets",
1464
+ "id": "dev:convert:script",
1465
1465
  "pluginAlias": "@salesforce/plugin-dev",
1466
1466
  "pluginName": "@salesforce/plugin-dev",
1467
1467
  "pluginType": "jit",
1468
1468
  "strict": true,
1469
- "summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
1469
+ "summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
1470
1470
  "enableJsonFlag": true,
1471
1471
  "isESM": true,
1472
1472
  "relativePath": [
1473
1473
  "lib",
1474
1474
  "commands",
1475
1475
  "dev",
1476
- "configure",
1477
- "secrets.js"
1476
+ "convert",
1477
+ "script.js"
1478
1478
  ],
1479
1479
  "aliasPermutations": [],
1480
1480
  "permutations": [
1481
- "dev:configure:secrets",
1482
- "configure:dev:secrets",
1483
- "configure:secrets:dev",
1484
- "dev:secrets:configure",
1485
- "secrets:dev:configure",
1486
- "secrets:configure:dev"
1481
+ "dev:convert:script",
1482
+ "convert:dev:script",
1483
+ "convert:script:dev",
1484
+ "dev:script:convert",
1485
+ "script:dev:convert",
1486
+ "script:convert:dev"
1487
1487
  ]
1488
1488
  },
1489
1489
  "dev:generate:command": {
@@ -5051,5 +5051,5 @@
5051
5051
  ]
5052
5052
  }
5053
5053
  },
5054
- "version": "2.30.6"
5054
+ "version": "2.30.7"
5055
5055
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.30.6",
4
+ "version": "2.30.7",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run.js",
@@ -73,11 +73,11 @@
73
73
  "@salesforce/plugin-user"
74
74
  ],
75
75
  "jitPlugins": {
76
- "@salesforce/plugin-custom-metadata": "3.1.11",
77
- "@salesforce/plugin-community": "3.0.20",
78
- "@salesforce/plugin-dev": "2.1.12",
79
- "@salesforce/plugin-devops-center": "1.2.5",
80
- "@salesforce/plugin-env": "3.0.19",
76
+ "@salesforce/plugin-custom-metadata": "3.1.12",
77
+ "@salesforce/plugin-community": "3.0.21",
78
+ "@salesforce/plugin-dev": "2.1.13",
79
+ "@salesforce/plugin-devops-center": "1.2.6",
80
+ "@salesforce/plugin-env": "3.0.20",
81
81
  "@salesforce/plugin-functions": "1.22.11",
82
82
  "@salesforce/plugin-signups": "2.0.24",
83
83
  "@salesforce/sfdx-plugin-lwc-test": "1.1.1",
@@ -136,35 +136,35 @@
136
136
  },
137
137
  "dependencies": {
138
138
  "@inquirer/select": "^1.3.1",
139
- "@oclif/core": "3.19.3",
139
+ "@oclif/core": "3.19.4",
140
140
  "@oclif/plugin-autocomplete": "3.0.9",
141
141
  "@oclif/plugin-commands": "3.1.4",
142
142
  "@oclif/plugin-help": "6.0.13",
143
143
  "@oclif/plugin-not-found": "3.0.11",
144
- "@oclif/plugin-plugins": "4.2.4",
145
- "@oclif/plugin-search": "1.0.15",
144
+ "@oclif/plugin-plugins": "4.2.5",
145
+ "@oclif/plugin-search": "1.0.16",
146
146
  "@oclif/plugin-update": "4.1.13",
147
147
  "@oclif/plugin-version": "2.0.12",
148
- "@oclif/plugin-warn-if-update-available": "3.0.11",
148
+ "@oclif/plugin-warn-if-update-available": "3.0.12",
149
149
  "@oclif/plugin-which": "3.1.0",
150
150
  "@salesforce/core": "^6.1.4",
151
- "@salesforce/plugin-apex": "3.0.24",
152
- "@salesforce/plugin-auth": "3.3.12",
153
- "@salesforce/plugin-data": "3.1.0",
154
- "@salesforce/plugin-deploy-retrieve": "3.2.15",
155
- "@salesforce/plugin-info": "3.0.26",
156
- "@salesforce/plugin-limits": "3.1.9",
157
- "@salesforce/plugin-marketplace": "1.0.24",
158
- "@salesforce/plugin-org": "3.3.13",
159
- "@salesforce/plugin-packaging": "2.1.9",
151
+ "@salesforce/plugin-apex": "3.0.25",
152
+ "@salesforce/plugin-auth": "3.3.13",
153
+ "@salesforce/plugin-data": "3.1.1",
154
+ "@salesforce/plugin-deploy-retrieve": "3.2.16",
155
+ "@salesforce/plugin-info": "3.0.27",
156
+ "@salesforce/plugin-limits": "3.1.10",
157
+ "@salesforce/plugin-marketplace": "1.0.25",
158
+ "@salesforce/plugin-org": "3.3.14",
159
+ "@salesforce/plugin-packaging": "2.1.10",
160
160
  "@salesforce/plugin-schema": "3.1.3",
161
- "@salesforce/plugin-settings": "2.0.26",
162
- "@salesforce/plugin-sobject": "1.1.12",
163
- "@salesforce/plugin-source": "3.1.14",
164
- "@salesforce/plugin-telemetry": "3.1.12",
165
- "@salesforce/plugin-templates": "56.0.15",
166
- "@salesforce/plugin-trust": "3.3.9",
167
- "@salesforce/plugin-user": "3.2.10",
161
+ "@salesforce/plugin-settings": "2.0.27",
162
+ "@salesforce/plugin-sobject": "1.1.13",
163
+ "@salesforce/plugin-source": "3.1.15",
164
+ "@salesforce/plugin-telemetry": "3.1.13",
165
+ "@salesforce/plugin-templates": "56.0.16",
166
+ "@salesforce/plugin-trust": "3.3.10",
167
+ "@salesforce/plugin-user": "3.2.11",
168
168
  "@salesforce/sf-plugins-core": "7.1.11",
169
169
  "chalk": "^5.3.0",
170
170
  "debug": "^4.3.4",
@@ -204,7 +204,7 @@
204
204
  "resolutions": {
205
205
  "@salesforce/schemas": "1.6.1",
206
206
  "@salesforce/templates": "60.1.0",
207
- "@salesforce/source-deploy-retrieve": "10.3.10",
207
+ "@salesforce/source-deploy-retrieve": "10.4.0",
208
208
  "@salesforce/source-tracking": "5.1.11"
209
209
  },
210
210
  "repository": "salesforcecli/cli",