@salesforce/cli 2.57.5 → 2.57.6

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.
@@ -1294,14 +1294,12 @@
1294
1294
  "messages:audit:dev"
1295
1295
  ]
1296
1296
  },
1297
- "dev:convert:messages": {
1297
+ "dev:configure:repo": {
1298
1298
  "aliases": [],
1299
1299
  "args": {},
1300
- "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.",
1300
+ "description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
1301
1301
  "examples": [
1302
- "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",
1303
- "Similar to previous example, but specify the plugin project directory:",
1304
- "<%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename my-command.json"
1302
+ "Configure the repo \"testPackageRelease\", with owner \"salesforcecli\", for GitHub Actions.\n<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1305
1303
  ],
1306
1304
  "flags": {
1307
1305
  "json": {
@@ -1319,64 +1317,70 @@
1319
1317
  "multiple": false,
1320
1318
  "type": "option"
1321
1319
  },
1322
- "project-dir": {
1323
- "aliases": [
1324
- "projectdir"
1325
- ],
1326
- "char": "p",
1327
- "name": "project-dir",
1328
- "summary": "Location of the project whose messages are to be converted.",
1329
- "default": ".",
1320
+ "repository": {
1321
+ "char": "r",
1322
+ "name": "repository",
1323
+ "required": true,
1324
+ "summary": "GitHub owner/repo for which you want to configure GitHub Actions.",
1330
1325
  "hasDynamicHelp": false,
1331
1326
  "multiple": false,
1332
1327
  "type": "option"
1333
1328
  },
1334
- "file-name": {
1329
+ "dry-run": {
1335
1330
  "aliases": [
1336
- "filename"
1331
+ "dryrun"
1337
1332
  ],
1338
- "char": "f",
1339
- "name": "file-name",
1340
- "required": true,
1341
- "summary": "Filename to convert.",
1333
+ "char": "d",
1334
+ "name": "dry-run",
1335
+ "summary": "Make no changes.",
1336
+ "allowNo": false,
1337
+ "type": "boolean"
1338
+ },
1339
+ "bot": {
1340
+ "char": "b",
1341
+ "name": "bot",
1342
+ "summary": "GitHub login/username for the bot.",
1343
+ "default": "SF-CLI-BOT",
1342
1344
  "hasDynamicHelp": false,
1343
- "multiple": true,
1345
+ "multiple": false,
1344
1346
  "type": "option"
1345
1347
  }
1346
1348
  },
1347
1349
  "hasDynamicHelp": false,
1350
+ "hidden": true,
1348
1351
  "hiddenAliases": [],
1349
- "id": "dev:convert:messages",
1352
+ "id": "dev:configure:repo",
1350
1353
  "pluginAlias": "@salesforce/plugin-dev",
1351
1354
  "pluginName": "@salesforce/plugin-dev",
1352
1355
  "pluginType": "jit",
1353
1356
  "strict": true,
1354
- "summary": "Convert a .json messages file into Markdown.",
1357
+ "summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
1355
1358
  "enableJsonFlag": true,
1356
1359
  "isESM": true,
1357
1360
  "relativePath": [
1358
1361
  "lib",
1359
1362
  "commands",
1360
1363
  "dev",
1361
- "convert",
1362
- "messages.js"
1364
+ "configure",
1365
+ "repo.js"
1363
1366
  ],
1364
1367
  "aliasPermutations": [],
1365
1368
  "permutations": [
1366
- "dev:convert:messages",
1367
- "convert:dev:messages",
1368
- "convert:messages:dev",
1369
- "dev:messages:convert",
1370
- "messages:dev:convert",
1371
- "messages:convert:dev"
1369
+ "dev:configure:repo",
1370
+ "configure:dev:repo",
1371
+ "configure:repo:dev",
1372
+ "dev:repo:configure",
1373
+ "repo:dev:configure",
1374
+ "repo:configure:dev"
1372
1375
  ]
1373
1376
  },
1374
- "dev:convert:script": {
1377
+ "dev:configure:secrets": {
1375
1378
  "aliases": [],
1376
1379
  "args": {},
1377
- "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\".",
1380
+ "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.",
1378
1381
  "examples": [
1379
- "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"
1382
+ "Ensure secrets access for the repo \"testPackageRelease\", with owner \"salesforcecli\":",
1383
+ "<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1380
1384
  ],
1381
1385
  "flags": {
1382
1386
  "json": {
@@ -1394,56 +1398,62 @@
1394
1398
  "multiple": false,
1395
1399
  "type": "option"
1396
1400
  },
1397
- "script": {
1398
- "char": "s",
1399
- "name": "script",
1401
+ "repository": {
1402
+ "char": "r",
1403
+ "name": "repository",
1400
1404
  "required": true,
1401
- "summary": "Filepath to the script you want to convert.",
1405
+ "summary": "Github owner/repo.",
1402
1406
  "hasDynamicHelp": false,
1403
1407
  "multiple": false,
1404
1408
  "type": "option"
1405
1409
  },
1406
- "no-prompt": {
1407
- "hidden": true,
1408
- "name": "no-prompt",
1409
- "summary": "Don't prompt for suggested replacements.",
1410
+ "dry-run": {
1411
+ "aliases": [
1412
+ "dryrun"
1413
+ ],
1414
+ "char": "d",
1415
+ "name": "dry-run",
1416
+ "summary": "Make no changes.",
1410
1417
  "allowNo": false,
1411
1418
  "type": "boolean"
1412
1419
  }
1413
1420
  },
1414
1421
  "hasDynamicHelp": false,
1422
+ "hidden": true,
1415
1423
  "hiddenAliases": [],
1416
- "id": "dev:convert:script",
1424
+ "id": "dev:configure:secrets",
1417
1425
  "pluginAlias": "@salesforce/plugin-dev",
1418
1426
  "pluginName": "@salesforce/plugin-dev",
1419
1427
  "pluginType": "jit",
1420
1428
  "strict": true,
1421
- "summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
1429
+ "summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
1422
1430
  "enableJsonFlag": true,
1423
1431
  "isESM": true,
1424
1432
  "relativePath": [
1425
1433
  "lib",
1426
1434
  "commands",
1427
1435
  "dev",
1428
- "convert",
1429
- "script.js"
1436
+ "configure",
1437
+ "secrets.js"
1430
1438
  ],
1431
1439
  "aliasPermutations": [],
1432
1440
  "permutations": [
1433
- "dev:convert:script",
1434
- "convert:dev:script",
1435
- "convert:script:dev",
1436
- "dev:script:convert",
1437
- "script:dev:convert",
1438
- "script:convert:dev"
1441
+ "dev:configure:secrets",
1442
+ "configure:dev:secrets",
1443
+ "configure:secrets:dev",
1444
+ "dev:secrets:configure",
1445
+ "secrets:dev:configure",
1446
+ "secrets:configure:dev"
1439
1447
  ]
1440
1448
  },
1441
- "dev:configure:repo": {
1449
+ "dev:convert:messages": {
1442
1450
  "aliases": [],
1443
1451
  "args": {},
1444
- "description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
1452
+ "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.",
1445
1453
  "examples": [
1446
- "Configure the repo \"testPackageRelease\", with owner \"salesforcecli\", for GitHub Actions.\n<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1454
+ "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",
1455
+ "Similar to previous example, but specify the plugin project directory:",
1456
+ "<%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename my-command.json"
1447
1457
  ],
1448
1458
  "flags": {
1449
1459
  "json": {
@@ -1461,70 +1471,64 @@
1461
1471
  "multiple": false,
1462
1472
  "type": "option"
1463
1473
  },
1464
- "repository": {
1465
- "char": "r",
1466
- "name": "repository",
1467
- "required": true,
1468
- "summary": "GitHub owner/repo for which you want to configure GitHub Actions.",
1474
+ "project-dir": {
1475
+ "aliases": [
1476
+ "projectdir"
1477
+ ],
1478
+ "char": "p",
1479
+ "name": "project-dir",
1480
+ "summary": "Location of the project whose messages are to be converted.",
1481
+ "default": ".",
1469
1482
  "hasDynamicHelp": false,
1470
1483
  "multiple": false,
1471
1484
  "type": "option"
1472
1485
  },
1473
- "dry-run": {
1486
+ "file-name": {
1474
1487
  "aliases": [
1475
- "dryrun"
1488
+ "filename"
1476
1489
  ],
1477
- "char": "d",
1478
- "name": "dry-run",
1479
- "summary": "Make no changes.",
1480
- "allowNo": false,
1481
- "type": "boolean"
1482
- },
1483
- "bot": {
1484
- "char": "b",
1485
- "name": "bot",
1486
- "summary": "GitHub login/username for the bot.",
1487
- "default": "SF-CLI-BOT",
1490
+ "char": "f",
1491
+ "name": "file-name",
1492
+ "required": true,
1493
+ "summary": "Filename to convert.",
1488
1494
  "hasDynamicHelp": false,
1489
- "multiple": false,
1495
+ "multiple": true,
1490
1496
  "type": "option"
1491
1497
  }
1492
1498
  },
1493
1499
  "hasDynamicHelp": false,
1494
- "hidden": true,
1495
1500
  "hiddenAliases": [],
1496
- "id": "dev:configure:repo",
1501
+ "id": "dev:convert:messages",
1497
1502
  "pluginAlias": "@salesforce/plugin-dev",
1498
1503
  "pluginName": "@salesforce/plugin-dev",
1499
1504
  "pluginType": "jit",
1500
1505
  "strict": true,
1501
- "summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
1506
+ "summary": "Convert a .json messages file into Markdown.",
1502
1507
  "enableJsonFlag": true,
1503
1508
  "isESM": true,
1504
1509
  "relativePath": [
1505
1510
  "lib",
1506
1511
  "commands",
1507
1512
  "dev",
1508
- "configure",
1509
- "repo.js"
1513
+ "convert",
1514
+ "messages.js"
1510
1515
  ],
1511
1516
  "aliasPermutations": [],
1512
1517
  "permutations": [
1513
- "dev:configure:repo",
1514
- "configure:dev:repo",
1515
- "configure:repo:dev",
1516
- "dev:repo:configure",
1517
- "repo:dev:configure",
1518
- "repo:configure:dev"
1518
+ "dev:convert:messages",
1519
+ "convert:dev:messages",
1520
+ "convert:messages:dev",
1521
+ "dev:messages:convert",
1522
+ "messages:dev:convert",
1523
+ "messages:convert:dev"
1519
1524
  ]
1520
1525
  },
1521
- "dev:configure:secrets": {
1526
+ "dev:convert:script": {
1522
1527
  "aliases": [],
1523
1528
  "args": {},
1524
- "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.",
1529
+ "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\".",
1525
1530
  "examples": [
1526
- "Ensure secrets access for the repo \"testPackageRelease\", with owner \"salesforcecli\":",
1527
- "<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1531
+ "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"
1528
1532
  ],
1529
1533
  "flags": {
1530
1534
  "json": {
@@ -1542,52 +1546,48 @@
1542
1546
  "multiple": false,
1543
1547
  "type": "option"
1544
1548
  },
1545
- "repository": {
1546
- "char": "r",
1547
- "name": "repository",
1549
+ "script": {
1550
+ "char": "s",
1551
+ "name": "script",
1548
1552
  "required": true,
1549
- "summary": "Github owner/repo.",
1553
+ "summary": "Filepath to the script you want to convert.",
1550
1554
  "hasDynamicHelp": false,
1551
1555
  "multiple": false,
1552
1556
  "type": "option"
1553
1557
  },
1554
- "dry-run": {
1555
- "aliases": [
1556
- "dryrun"
1557
- ],
1558
- "char": "d",
1559
- "name": "dry-run",
1560
- "summary": "Make no changes.",
1558
+ "no-prompt": {
1559
+ "hidden": true,
1560
+ "name": "no-prompt",
1561
+ "summary": "Don't prompt for suggested replacements.",
1561
1562
  "allowNo": false,
1562
1563
  "type": "boolean"
1563
1564
  }
1564
1565
  },
1565
1566
  "hasDynamicHelp": false,
1566
- "hidden": true,
1567
1567
  "hiddenAliases": [],
1568
- "id": "dev:configure:secrets",
1568
+ "id": "dev:convert:script",
1569
1569
  "pluginAlias": "@salesforce/plugin-dev",
1570
1570
  "pluginName": "@salesforce/plugin-dev",
1571
1571
  "pluginType": "jit",
1572
1572
  "strict": true,
1573
- "summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
1573
+ "summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
1574
1574
  "enableJsonFlag": true,
1575
1575
  "isESM": true,
1576
1576
  "relativePath": [
1577
1577
  "lib",
1578
1578
  "commands",
1579
1579
  "dev",
1580
- "configure",
1581
- "secrets.js"
1580
+ "convert",
1581
+ "script.js"
1582
1582
  ],
1583
1583
  "aliasPermutations": [],
1584
1584
  "permutations": [
1585
- "dev:configure:secrets",
1586
- "configure:dev:secrets",
1587
- "configure:secrets:dev",
1588
- "dev:secrets:configure",
1589
- "secrets:dev:configure",
1590
- "secrets:configure:dev"
1585
+ "dev:convert:script",
1586
+ "convert:dev:script",
1587
+ "convert:script:dev",
1588
+ "dev:script:convert",
1589
+ "script:dev:convert",
1590
+ "script:convert:dev"
1591
1591
  ]
1592
1592
  },
1593
1593
  "dev:generate:command": {
@@ -5351,5 +5351,5 @@
5351
5351
  ]
5352
5352
  }
5353
5353
  },
5354
- "version": "2.57.5"
5354
+ "version": "2.57.6"
5355
5355
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.57.5",
4
+ "version": "2.57.6",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run.js",
@@ -78,13 +78,13 @@
78
78
  "jitPlugins": {
79
79
  "@salesforce/plugin-custom-metadata": "3.3.27",
80
80
  "@salesforce/plugin-community": "3.2.27",
81
- "@salesforce/plugin-dev": "2.4.1",
81
+ "@salesforce/plugin-dev": "2.4.2",
82
82
  "@salesforce/plugin-devops-center": "1.2.21",
83
83
  "@salesforce/plugin-env": "3.0.33",
84
84
  "@salesforce/plugin-functions": "1.23.0",
85
85
  "@salesforce/plugin-signups": "2.5.10",
86
86
  "@salesforce/sfdx-plugin-lwc-test": "1.2.0",
87
- "@salesforce/sfdx-scanner": "4.4.0"
87
+ "@salesforce/sfdx-scanner": "4.5.0"
88
88
  },
89
89
  "devPlugins": [
90
90
  "@oclif/plugin-command-snapshot",
@@ -154,11 +154,11 @@
154
154
  "@salesforce/core": "^8.2.3",
155
155
  "@salesforce/kit": "^3.1.6",
156
156
  "@salesforce/plugin-apex": "3.4.5",
157
- "@salesforce/plugin-api": "1.2.0",
157
+ "@salesforce/plugin-api": "1.2.1",
158
158
  "@salesforce/plugin-auth": "3.6.51",
159
159
  "@salesforce/plugin-data": "3.6.3",
160
- "@salesforce/plugin-deploy-retrieve": "3.11.5",
161
- "@salesforce/plugin-info": "3.3.30",
160
+ "@salesforce/plugin-deploy-retrieve": "3.12.0",
161
+ "@salesforce/plugin-info": "3.4.0",
162
162
  "@salesforce/plugin-limits": "3.3.27",
163
163
  "@salesforce/plugin-marketplace": "1.2.24",
164
164
  "@salesforce/plugin-org": "4.5.4",
@@ -253,9 +253,9 @@
253
253
  "@oclif/plugin-command-snapshot": "^5.2.3",
254
254
  "@salesforce/dev-scripts": "^10.2.2",
255
255
  "@salesforce/plugin-release-management": "^5.5.13",
256
- "@salesforce/ts-sinon": "^1.4.24",
256
+ "@salesforce/ts-sinon": "^1.4.26",
257
257
  "@salesforce/ts-types": "^2.0.10",
258
- "aws-sdk": "^2.1678.0",
258
+ "aws-sdk": "^2.1683.0",
259
259
  "oclif": "^4.14.26",
260
260
  "ts-node": "^10.9.2",
261
261
  "typescript": "^5.5.4"