@salesforce/cli 2.68.4 → 2.68.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.
- package/README.md +56 -56
- package/npm-shrinkwrap.json +1829 -567
- package/oclif.lock +780 -416
- package/oclif.manifest.json +111 -111
- package/package.json +9 -9
package/oclif.manifest.json
CHANGED
|
@@ -1294,12 +1294,14 @@
|
|
|
1294
1294
|
"messages:audit:dev"
|
|
1295
1295
|
]
|
|
1296
1296
|
},
|
|
1297
|
-
"dev:
|
|
1297
|
+
"dev:convert:messages": {
|
|
1298
1298
|
"aliases": [],
|
|
1299
1299
|
"args": {},
|
|
1300
|
-
"description": "
|
|
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.",
|
|
1301
1301
|
"examples": [
|
|
1302
|
-
"
|
|
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"
|
|
1303
1305
|
],
|
|
1304
1306
|
"flags": {
|
|
1305
1307
|
"json": {
|
|
@@ -1317,70 +1319,64 @@
|
|
|
1317
1319
|
"multiple": false,
|
|
1318
1320
|
"type": "option"
|
|
1319
1321
|
},
|
|
1320
|
-
"
|
|
1321
|
-
"
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
"
|
|
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": ".",
|
|
1325
1330
|
"hasDynamicHelp": false,
|
|
1326
1331
|
"multiple": false,
|
|
1327
1332
|
"type": "option"
|
|
1328
1333
|
},
|
|
1329
|
-
"
|
|
1334
|
+
"file-name": {
|
|
1330
1335
|
"aliases": [
|
|
1331
|
-
"
|
|
1336
|
+
"filename"
|
|
1332
1337
|
],
|
|
1333
|
-
"char": "
|
|
1334
|
-
"name": "
|
|
1335
|
-
"
|
|
1336
|
-
"
|
|
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",
|
|
1338
|
+
"char": "f",
|
|
1339
|
+
"name": "file-name",
|
|
1340
|
+
"required": true,
|
|
1341
|
+
"summary": "Filename to convert.",
|
|
1344
1342
|
"hasDynamicHelp": false,
|
|
1345
|
-
"multiple":
|
|
1343
|
+
"multiple": true,
|
|
1346
1344
|
"type": "option"
|
|
1347
1345
|
}
|
|
1348
1346
|
},
|
|
1349
1347
|
"hasDynamicHelp": false,
|
|
1350
|
-
"hidden": true,
|
|
1351
1348
|
"hiddenAliases": [],
|
|
1352
|
-
"id": "dev:
|
|
1349
|
+
"id": "dev:convert:messages",
|
|
1353
1350
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1354
1351
|
"pluginName": "@salesforce/plugin-dev",
|
|
1355
1352
|
"pluginType": "jit",
|
|
1356
1353
|
"strict": true,
|
|
1357
|
-
"summary": "
|
|
1354
|
+
"summary": "Convert a .json messages file into Markdown.",
|
|
1358
1355
|
"enableJsonFlag": true,
|
|
1359
1356
|
"isESM": true,
|
|
1360
1357
|
"relativePath": [
|
|
1361
1358
|
"lib",
|
|
1362
1359
|
"commands",
|
|
1363
1360
|
"dev",
|
|
1364
|
-
"
|
|
1365
|
-
"
|
|
1361
|
+
"convert",
|
|
1362
|
+
"messages.js"
|
|
1366
1363
|
],
|
|
1367
1364
|
"aliasPermutations": [],
|
|
1368
1365
|
"permutations": [
|
|
1369
|
-
"dev:
|
|
1370
|
-
"
|
|
1371
|
-
"
|
|
1372
|
-
"dev:
|
|
1373
|
-
"
|
|
1374
|
-
"
|
|
1366
|
+
"dev:convert:messages",
|
|
1367
|
+
"convert:dev:messages",
|
|
1368
|
+
"convert:messages:dev",
|
|
1369
|
+
"dev:messages:convert",
|
|
1370
|
+
"messages:dev:convert",
|
|
1371
|
+
"messages:convert:dev"
|
|
1375
1372
|
]
|
|
1376
1373
|
},
|
|
1377
|
-
"dev:
|
|
1374
|
+
"dev:convert:script": {
|
|
1378
1375
|
"aliases": [],
|
|
1379
1376
|
"args": {},
|
|
1380
|
-
"description": "
|
|
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\".",
|
|
1381
1378
|
"examples": [
|
|
1382
|
-
"
|
|
1383
|
-
"<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
|
|
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"
|
|
1384
1380
|
],
|
|
1385
1381
|
"flags": {
|
|
1386
1382
|
"json": {
|
|
@@ -1398,62 +1394,56 @@
|
|
|
1398
1394
|
"multiple": false,
|
|
1399
1395
|
"type": "option"
|
|
1400
1396
|
},
|
|
1401
|
-
"
|
|
1402
|
-
"char": "
|
|
1403
|
-
"name": "
|
|
1397
|
+
"script": {
|
|
1398
|
+
"char": "s",
|
|
1399
|
+
"name": "script",
|
|
1404
1400
|
"required": true,
|
|
1405
|
-
"summary": "
|
|
1401
|
+
"summary": "Filepath to the script you want to convert.",
|
|
1406
1402
|
"hasDynamicHelp": false,
|
|
1407
1403
|
"multiple": false,
|
|
1408
1404
|
"type": "option"
|
|
1409
1405
|
},
|
|
1410
|
-
"
|
|
1411
|
-
"
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
"char": "d",
|
|
1415
|
-
"name": "dry-run",
|
|
1416
|
-
"summary": "Make no changes.",
|
|
1406
|
+
"no-prompt": {
|
|
1407
|
+
"hidden": true,
|
|
1408
|
+
"name": "no-prompt",
|
|
1409
|
+
"summary": "Don't prompt for suggested replacements.",
|
|
1417
1410
|
"allowNo": false,
|
|
1418
1411
|
"type": "boolean"
|
|
1419
1412
|
}
|
|
1420
1413
|
},
|
|
1421
1414
|
"hasDynamicHelp": false,
|
|
1422
|
-
"hidden": true,
|
|
1423
1415
|
"hiddenAliases": [],
|
|
1424
|
-
"id": "dev:
|
|
1416
|
+
"id": "dev:convert:script",
|
|
1425
1417
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1426
1418
|
"pluginName": "@salesforce/plugin-dev",
|
|
1427
1419
|
"pluginType": "jit",
|
|
1428
1420
|
"strict": true,
|
|
1429
|
-
"summary": "
|
|
1421
|
+
"summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
|
|
1430
1422
|
"enableJsonFlag": true,
|
|
1431
1423
|
"isESM": true,
|
|
1432
1424
|
"relativePath": [
|
|
1433
1425
|
"lib",
|
|
1434
1426
|
"commands",
|
|
1435
1427
|
"dev",
|
|
1436
|
-
"
|
|
1437
|
-
"
|
|
1428
|
+
"convert",
|
|
1429
|
+
"script.js"
|
|
1438
1430
|
],
|
|
1439
1431
|
"aliasPermutations": [],
|
|
1440
1432
|
"permutations": [
|
|
1441
|
-
"dev:
|
|
1442
|
-
"
|
|
1443
|
-
"
|
|
1444
|
-
"dev:
|
|
1445
|
-
"
|
|
1446
|
-
"
|
|
1433
|
+
"dev:convert:script",
|
|
1434
|
+
"convert:dev:script",
|
|
1435
|
+
"convert:script:dev",
|
|
1436
|
+
"dev:script:convert",
|
|
1437
|
+
"script:dev:convert",
|
|
1438
|
+
"script:convert:dev"
|
|
1447
1439
|
]
|
|
1448
1440
|
},
|
|
1449
|
-
"dev:
|
|
1441
|
+
"dev:configure:repo": {
|
|
1450
1442
|
"aliases": [],
|
|
1451
1443
|
"args": {},
|
|
1452
|
-
"description": "
|
|
1444
|
+
"description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
|
|
1453
1445
|
"examples": [
|
|
1454
|
-
"
|
|
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"
|
|
1446
|
+
"Configure the repo \"testPackageRelease\", with owner \"salesforcecli\", for GitHub Actions.\n<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
|
|
1457
1447
|
],
|
|
1458
1448
|
"flags": {
|
|
1459
1449
|
"json": {
|
|
@@ -1471,64 +1461,70 @@
|
|
|
1471
1461
|
"multiple": false,
|
|
1472
1462
|
"type": "option"
|
|
1473
1463
|
},
|
|
1474
|
-
"
|
|
1475
|
-
"
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
"
|
|
1479
|
-
"name": "project-dir",
|
|
1480
|
-
"summary": "Location of the project whose messages are to be converted.",
|
|
1481
|
-
"default": ".",
|
|
1464
|
+
"repository": {
|
|
1465
|
+
"char": "r",
|
|
1466
|
+
"name": "repository",
|
|
1467
|
+
"required": true,
|
|
1468
|
+
"summary": "GitHub owner/repo for which you want to configure GitHub Actions.",
|
|
1482
1469
|
"hasDynamicHelp": false,
|
|
1483
1470
|
"multiple": false,
|
|
1484
1471
|
"type": "option"
|
|
1485
1472
|
},
|
|
1486
|
-
"
|
|
1473
|
+
"dry-run": {
|
|
1487
1474
|
"aliases": [
|
|
1488
|
-
"
|
|
1475
|
+
"dryrun"
|
|
1489
1476
|
],
|
|
1490
|
-
"char": "
|
|
1491
|
-
"name": "
|
|
1492
|
-
"
|
|
1493
|
-
"
|
|
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",
|
|
1494
1488
|
"hasDynamicHelp": false,
|
|
1495
|
-
"multiple":
|
|
1489
|
+
"multiple": false,
|
|
1496
1490
|
"type": "option"
|
|
1497
1491
|
}
|
|
1498
1492
|
},
|
|
1499
1493
|
"hasDynamicHelp": false,
|
|
1494
|
+
"hidden": true,
|
|
1500
1495
|
"hiddenAliases": [],
|
|
1501
|
-
"id": "dev:
|
|
1496
|
+
"id": "dev:configure:repo",
|
|
1502
1497
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1503
1498
|
"pluginName": "@salesforce/plugin-dev",
|
|
1504
1499
|
"pluginType": "jit",
|
|
1505
1500
|
"strict": true,
|
|
1506
|
-
"summary": "
|
|
1501
|
+
"summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
|
|
1507
1502
|
"enableJsonFlag": true,
|
|
1508
1503
|
"isESM": true,
|
|
1509
1504
|
"relativePath": [
|
|
1510
1505
|
"lib",
|
|
1511
1506
|
"commands",
|
|
1512
1507
|
"dev",
|
|
1513
|
-
"
|
|
1514
|
-
"
|
|
1508
|
+
"configure",
|
|
1509
|
+
"repo.js"
|
|
1515
1510
|
],
|
|
1516
1511
|
"aliasPermutations": [],
|
|
1517
1512
|
"permutations": [
|
|
1518
|
-
"dev:
|
|
1519
|
-
"
|
|
1520
|
-
"
|
|
1521
|
-
"dev:
|
|
1522
|
-
"
|
|
1523
|
-
"
|
|
1513
|
+
"dev:configure:repo",
|
|
1514
|
+
"configure:dev:repo",
|
|
1515
|
+
"configure:repo:dev",
|
|
1516
|
+
"dev:repo:configure",
|
|
1517
|
+
"repo:dev:configure",
|
|
1518
|
+
"repo:configure:dev"
|
|
1524
1519
|
]
|
|
1525
1520
|
},
|
|
1526
|
-
"dev:
|
|
1521
|
+
"dev:configure:secrets": {
|
|
1527
1522
|
"aliases": [],
|
|
1528
1523
|
"args": {},
|
|
1529
|
-
"description": "
|
|
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.",
|
|
1530
1525
|
"examples": [
|
|
1531
|
-
"
|
|
1526
|
+
"Ensure secrets access for the repo \"testPackageRelease\", with owner \"salesforcecli\":",
|
|
1527
|
+
"<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
|
|
1532
1528
|
],
|
|
1533
1529
|
"flags": {
|
|
1534
1530
|
"json": {
|
|
@@ -1546,48 +1542,52 @@
|
|
|
1546
1542
|
"multiple": false,
|
|
1547
1543
|
"type": "option"
|
|
1548
1544
|
},
|
|
1549
|
-
"
|
|
1550
|
-
"char": "
|
|
1551
|
-
"name": "
|
|
1545
|
+
"repository": {
|
|
1546
|
+
"char": "r",
|
|
1547
|
+
"name": "repository",
|
|
1552
1548
|
"required": true,
|
|
1553
|
-
"summary": "
|
|
1549
|
+
"summary": "Github owner/repo.",
|
|
1554
1550
|
"hasDynamicHelp": false,
|
|
1555
1551
|
"multiple": false,
|
|
1556
1552
|
"type": "option"
|
|
1557
1553
|
},
|
|
1558
|
-
"
|
|
1559
|
-
"
|
|
1560
|
-
|
|
1561
|
-
|
|
1554
|
+
"dry-run": {
|
|
1555
|
+
"aliases": [
|
|
1556
|
+
"dryrun"
|
|
1557
|
+
],
|
|
1558
|
+
"char": "d",
|
|
1559
|
+
"name": "dry-run",
|
|
1560
|
+
"summary": "Make no changes.",
|
|
1562
1561
|
"allowNo": false,
|
|
1563
1562
|
"type": "boolean"
|
|
1564
1563
|
}
|
|
1565
1564
|
},
|
|
1566
1565
|
"hasDynamicHelp": false,
|
|
1566
|
+
"hidden": true,
|
|
1567
1567
|
"hiddenAliases": [],
|
|
1568
|
-
"id": "dev:
|
|
1568
|
+
"id": "dev:configure:secrets",
|
|
1569
1569
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1570
1570
|
"pluginName": "@salesforce/plugin-dev",
|
|
1571
1571
|
"pluginType": "jit",
|
|
1572
1572
|
"strict": true,
|
|
1573
|
-
"summary": "
|
|
1573
|
+
"summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
|
|
1574
1574
|
"enableJsonFlag": true,
|
|
1575
1575
|
"isESM": true,
|
|
1576
1576
|
"relativePath": [
|
|
1577
1577
|
"lib",
|
|
1578
1578
|
"commands",
|
|
1579
1579
|
"dev",
|
|
1580
|
-
"
|
|
1581
|
-
"
|
|
1580
|
+
"configure",
|
|
1581
|
+
"secrets.js"
|
|
1582
1582
|
],
|
|
1583
1583
|
"aliasPermutations": [],
|
|
1584
1584
|
"permutations": [
|
|
1585
|
-
"dev:
|
|
1586
|
-
"
|
|
1587
|
-
"
|
|
1588
|
-
"dev:
|
|
1589
|
-
"
|
|
1590
|
-
"
|
|
1585
|
+
"dev:configure:secrets",
|
|
1586
|
+
"configure:dev:secrets",
|
|
1587
|
+
"configure:secrets:dev",
|
|
1588
|
+
"dev:secrets:configure",
|
|
1589
|
+
"secrets:dev:configure",
|
|
1590
|
+
"secrets:configure:dev"
|
|
1591
1591
|
]
|
|
1592
1592
|
},
|
|
1593
1593
|
"dev:generate:command": {
|
|
@@ -5370,5 +5370,5 @@
|
|
|
5370
5370
|
]
|
|
5371
5371
|
}
|
|
5372
5372
|
},
|
|
5373
|
-
"version": "2.68.
|
|
5373
|
+
"version": "2.68.6"
|
|
5374
5374
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.68.
|
|
4
|
+
"version": "2.68.6",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"jitPlugins": {
|
|
78
78
|
"@salesforce/plugin-custom-metadata": "3.3.39",
|
|
79
79
|
"@salesforce/plugin-community": "3.3.4",
|
|
80
|
-
"@salesforce/plugin-dev": "2.5.
|
|
80
|
+
"@salesforce/plugin-dev": "2.5.1",
|
|
81
81
|
"@salesforce/plugin-devops-center": "1.2.26",
|
|
82
82
|
"@salesforce/plugin-env": "3.0.34",
|
|
83
83
|
"@salesforce/plugin-functions": "1.23.0",
|
|
@@ -139,14 +139,14 @@
|
|
|
139
139
|
},
|
|
140
140
|
"dependencies": {
|
|
141
141
|
"@inquirer/select": "^2.3.5",
|
|
142
|
-
"@oclif/core": "4.0.
|
|
142
|
+
"@oclif/core": "4.0.33",
|
|
143
143
|
"@oclif/plugin-autocomplete": "3.2.10",
|
|
144
144
|
"@oclif/plugin-commands": "4.1.10",
|
|
145
145
|
"@oclif/plugin-help": "6.2.18",
|
|
146
146
|
"@oclif/plugin-not-found": "3.2.28",
|
|
147
147
|
"@oclif/plugin-plugins": "5.4.17",
|
|
148
148
|
"@oclif/plugin-search": "1.2.16",
|
|
149
|
-
"@oclif/plugin-update": "4.6.
|
|
149
|
+
"@oclif/plugin-update": "4.6.13",
|
|
150
150
|
"@oclif/plugin-version": "2.2.16",
|
|
151
151
|
"@oclif/plugin-warn-if-update-available": "3.1.23",
|
|
152
152
|
"@oclif/plugin-which": "3.2.19",
|
|
@@ -156,12 +156,12 @@
|
|
|
156
156
|
"@salesforce/plugin-api": "1.3.2",
|
|
157
157
|
"@salesforce/plugin-auth": "3.6.75",
|
|
158
158
|
"@salesforce/plugin-data": "3.11.4",
|
|
159
|
-
"@salesforce/plugin-deploy-retrieve": "3.15.
|
|
159
|
+
"@salesforce/plugin-deploy-retrieve": "3.15.13",
|
|
160
160
|
"@salesforce/plugin-info": "3.4.21",
|
|
161
161
|
"@salesforce/plugin-limits": "3.3.40",
|
|
162
162
|
"@salesforce/plugin-marketplace": "1.3.6",
|
|
163
|
-
"@salesforce/plugin-org": "5.2.
|
|
164
|
-
"@salesforce/plugin-packaging": "2.9.
|
|
163
|
+
"@salesforce/plugin-org": "5.2.4",
|
|
164
|
+
"@salesforce/plugin-packaging": "2.9.3",
|
|
165
165
|
"@salesforce/plugin-schema": "3.3.42",
|
|
166
166
|
"@salesforce/plugin-settings": "2.4.6",
|
|
167
167
|
"@salesforce/plugin-sobject": "1.4.46",
|
|
@@ -250,10 +250,10 @@
|
|
|
250
250
|
"@oclif/plugin-command-snapshot": "^5.2.3",
|
|
251
251
|
"@salesforce/dev-scripts": "^10.2.2",
|
|
252
252
|
"@salesforce/plugin-release-management": "^5.5.13",
|
|
253
|
-
"@salesforce/ts-sinon": "^1.4.
|
|
253
|
+
"@salesforce/ts-sinon": "^1.4.30",
|
|
254
254
|
"@salesforce/ts-types": "^2.0.10",
|
|
255
255
|
"aws-sdk": "^2.1692.0",
|
|
256
|
-
"oclif": "^4.15.
|
|
256
|
+
"oclif": "^4.15.28",
|
|
257
257
|
"ts-node": "^10.9.2",
|
|
258
258
|
"typescript": "^5.6.3"
|
|
259
259
|
},
|