@salesforce/cli 2.46.1 → 2.46.3

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/oclif.lock CHANGED
@@ -2067,7 +2067,7 @@
2067
2067
  proc-log "^4.0.0"
2068
2068
  which "^4.0.0"
2069
2069
 
2070
- "@oclif/core@^3.26.3", "@oclif/core@^3.26.4", "@oclif/core@^3.26.5", "@oclif/core@^3.26.6":
2070
+ "@oclif/core@^3.26.4", "@oclif/core@^3.26.6":
2071
2071
  version "3.26.9"
2072
2072
  resolved "https://registry.npmjs.org/@oclif/core/-/core-3.26.9.tgz"
2073
2073
  integrity sha512-yB5Yxd62DsHqqCK/60L8IiGpTRIU4J+fzCqfbPRiIYE5+agfN63kppaM+TbqyMBdsnt/PQOnYD8Bhs1quUr6fg==
@@ -2639,10 +2639,10 @@
2639
2639
  jszip "^3.10.1"
2640
2640
  object-treeify "^2"
2641
2641
 
2642
- "@salesforce/plugin-apex@3.1.15":
2643
- version "3.1.15"
2644
- resolved "https://registry.npmjs.org/@salesforce/plugin-apex/-/plugin-apex-3.1.15.tgz"
2645
- integrity sha512-/2O+AhQKql5dgtJWlHiF1WJU6eG/QtAlFLQS5u4lD0PS0m39R0c+p97Sa0oXiRR7pWJrMXm73EbpUQb/v9NF3w==
2642
+ "@salesforce/plugin-apex@3.1.16":
2643
+ version "3.1.16"
2644
+ resolved "https://registry.npmjs.org/@salesforce/plugin-apex/-/plugin-apex-3.1.16.tgz"
2645
+ integrity sha512-2S/C4U1rzUQFNuD3q4pcwbg21DA9WGVDFDcflRn8oVzYr3/VUvV2jPBSroMYdKzHurFSiUXy1Ky+h/nQA3GhTQ==
2646
2646
  dependencies:
2647
2647
  "@oclif/core" "^4"
2648
2648
  "@salesforce/apex-node" "^6.1.2"
@@ -2653,10 +2653,10 @@
2653
2653
  color-convert "^2.0.1"
2654
2654
  color-name "^2.0.0"
2655
2655
 
2656
- "@salesforce/plugin-auth@3.6.18":
2657
- version "3.6.18"
2658
- resolved "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.6.18.tgz"
2659
- integrity sha512-nIqcy6wUsuGZas8l7gU4kxWxAp9sN7lOwILVXm9gsX9lhoYv6F/kLvU58Jp2hicBNRBZt1guvL3y4bOMb8TjLw==
2656
+ "@salesforce/plugin-auth@3.6.19":
2657
+ version "3.6.19"
2658
+ resolved "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.6.19.tgz"
2659
+ integrity sha512-d3JYaOwEwvGFeRgypiE8PqnWNXrhoO8O7TUgih37ArZkNZ23bXdfLJs24nOG5nyU52nz/K+XXTdblGNNkZER2A==
2660
2660
  dependencies:
2661
2661
  "@inquirer/checkbox" "^2.3.5"
2662
2662
  "@inquirer/select" "^2.3.5"
@@ -2666,7 +2666,6 @@
2666
2666
  "@salesforce/plugin-info" "^3.3.1"
2667
2667
  "@salesforce/sf-plugins-core" "^10.0.0"
2668
2668
  "@salesforce/ts-types" "^2.0.9"
2669
- chalk "^5.3.0"
2670
2669
  open "^10.1.0"
2671
2670
 
2672
2671
  "@salesforce/plugin-command-reference@^3.0.83":
@@ -2734,25 +2733,25 @@
2734
2733
  proxy-agent "^6.4.0"
2735
2734
  semver "^7.6.0"
2736
2735
 
2737
- "@salesforce/plugin-limits@3.3.10":
2738
- version "3.3.10"
2739
- resolved "https://registry.npmjs.org/@salesforce/plugin-limits/-/plugin-limits-3.3.10.tgz"
2740
- integrity sha512-wVcZCW3qWX474TqTJCbfN8PCiJtds/t4XVtRYtVpZkOMVEqR3dtsRs53ssCakmJlzP+7hvcNC9TNXLSvtQMGqg==
2736
+ "@salesforce/plugin-limits@3.3.11":
2737
+ version "3.3.11"
2738
+ resolved "https://registry.npmjs.org/@salesforce/plugin-limits/-/plugin-limits-3.3.11.tgz"
2739
+ integrity sha512-gYdqSDa9a1cyX9+CLCg21/8vfBpwF0n9hfNFZD3BrdCbWcP3OO0HBrl5cXElSBnQfKzYHpTGKDm7FYixO4p7Dw==
2741
2740
  dependencies:
2742
- "@oclif/core" "^3.26.6"
2741
+ "@oclif/core" "^4"
2743
2742
  "@salesforce/core" "^7.3.6"
2744
2743
  "@salesforce/kit" "^3.1.2"
2745
- "@salesforce/sf-plugins-core" "^9.1.1"
2744
+ "@salesforce/sf-plugins-core" "^10.0.0"
2746
2745
 
2747
- "@salesforce/plugin-marketplace@1.2.10":
2748
- version "1.2.10"
2749
- resolved "https://registry.npmjs.org/@salesforce/plugin-marketplace/-/plugin-marketplace-1.2.10.tgz"
2750
- integrity sha512-KEjbXW0HWUgOvzjUczWJI6CSsNBsCJJbaHDU+50jIn/xxNrje+hZpG2H3iqZmbhqSBWIkqIT5fsSnI/ymwwlHQ==
2746
+ "@salesforce/plugin-marketplace@1.2.11":
2747
+ version "1.2.11"
2748
+ resolved "https://registry.npmjs.org/@salesforce/plugin-marketplace/-/plugin-marketplace-1.2.11.tgz"
2749
+ integrity sha512-zWKij4wBdIg6XqSZ2MqZ34bVJEYrarvFE2QDhjT1a4dTvkGISiJ/2K1WumZzq/BzhxDfwn+1eCQTcgIUiPqnWw==
2751
2750
  dependencies:
2752
- "@oclif/core" "^3.26.4"
2751
+ "@oclif/core" "^4"
2753
2752
  "@salesforce/core" "^7.3.9"
2754
2753
  "@salesforce/kit" "^3.1.0"
2755
- "@salesforce/sf-plugins-core" "^9.1.1"
2754
+ "@salesforce/sf-plugins-core" "^10.0.0"
2756
2755
  got "^13.0.0"
2757
2756
  proxy-agent "^6.4.0"
2758
2757
 
@@ -2811,14 +2810,14 @@
2811
2810
  strip-ansi "^6"
2812
2811
  yarn-deduplicate "^6.0.2"
2813
2812
 
2814
- "@salesforce/plugin-schema@3.3.10":
2815
- version "3.3.10"
2816
- resolved "https://registry.npmjs.org/@salesforce/plugin-schema/-/plugin-schema-3.3.10.tgz"
2817
- integrity sha512-s9nP9a2IlKtpctXWowDdXAxInVJf+s/25QB+hZdLAM2lcJHie/yEirZG8ehvluxyKNdyOPKbsYdw4uT2MbxX1Q==
2813
+ "@salesforce/plugin-schema@3.3.11":
2814
+ version "3.3.11"
2815
+ resolved "https://registry.npmjs.org/@salesforce/plugin-schema/-/plugin-schema-3.3.11.tgz"
2816
+ integrity sha512-O5MkXBH2mysoS+zMbU8IzA4tmlhyeJ9JK20bmv+yK7g9K8fV4TxMRWGDGZp0/SSmClzJI2X/kjsSPmOqOM6zjA==
2818
2817
  dependencies:
2819
- "@oclif/core" "^3.26.3"
2818
+ "@oclif/core" "^4"
2820
2819
  "@salesforce/core" "^7.3.8"
2821
- "@salesforce/sf-plugins-core" "^9.1.1"
2820
+ "@salesforce/sf-plugins-core" "^10.0.0"
2822
2821
 
2823
2822
  "@salesforce/plugin-settings@2.3.1":
2824
2823
  version "2.3.1"
@@ -2830,18 +2829,18 @@
2830
2829
  "@salesforce/sf-plugins-core" "^10.0.0"
2831
2830
  fast-levenshtein "^3.0.0"
2832
2831
 
2833
- "@salesforce/plugin-sobject@1.4.8":
2834
- version "1.4.8"
2835
- resolved "https://registry.npmjs.org/@salesforce/plugin-sobject/-/plugin-sobject-1.4.8.tgz"
2836
- integrity sha512-WxkigtxIGEvboJCm8f3JFDwOH5JLJIrT6G+8EF/SQrbuGhnVbvV6m0Vdy9uLo+fRbwfbaawSVimQPEwi4c7I0A==
2832
+ "@salesforce/plugin-sobject@1.4.9":
2833
+ version "1.4.9"
2834
+ resolved "https://registry.npmjs.org/@salesforce/plugin-sobject/-/plugin-sobject-1.4.9.tgz"
2835
+ integrity sha512-UdnXvvaLkHIBwzAYzhGeQ2ge1OvJ9XCv9a0rL9Nkz31ZGgBYyuQxF27j5IDCR05Ch/99lLHCmghgbF63heB8GA==
2837
2836
  dependencies:
2838
2837
  "@inquirer/confirm" "^3.1.8"
2839
2838
  "@inquirer/input" "^2.1.9"
2840
2839
  "@inquirer/select" "^2.3.5"
2841
- "@oclif/core" "^3.26.5"
2840
+ "@oclif/core" "^4"
2842
2841
  "@salesforce/core" "^7.3.6"
2843
2842
  "@salesforce/kit" "^3.1.0"
2844
- "@salesforce/sf-plugins-core" "^9.0.12"
2843
+ "@salesforce/sf-plugins-core" "^10.0.0"
2845
2844
  fast-glob "^3.3.2"
2846
2845
  fast-xml-parser "^4.4.0"
2847
2846
  js2xmlparser "^4.0.2"
@@ -2864,10 +2863,10 @@
2864
2863
  got "^13.0.0"
2865
2864
  proxy-agent "^6.3.1"
2866
2865
 
2867
- "@salesforce/plugin-telemetry@3.3.13":
2868
- version "3.3.13"
2869
- resolved "https://registry.npmjs.org/@salesforce/plugin-telemetry/-/plugin-telemetry-3.3.13.tgz"
2870
- integrity sha512-Yc8+gRjt+BGACZVRLTs/Btf50chipJxu24cEU5QEiNJTu/uo09Z1XKIkrBQBwiGwfJsY3yI+bpVUFsY0BMKa8g==
2866
+ "@salesforce/plugin-telemetry@3.4.0":
2867
+ version "3.4.0"
2868
+ resolved "https://registry.npmjs.org/@salesforce/plugin-telemetry/-/plugin-telemetry-3.4.0.tgz"
2869
+ integrity sha512-SO6kRTNK3n7e4gXSdwlzNJD6VOgpGTvWI3dTSx+ymVwQNSgJaxJhM8KFOuxn1fvoxazhhTDvrMJmMWLIwNCFrA==
2871
2870
  dependencies:
2872
2871
  "@oclif/core" "^4.0.3"
2873
2872
  "@salesforce/core" "^7.3.5"
@@ -2877,14 +2876,14 @@
2877
2876
  "@salesforce/ts-types" "^2.0.9"
2878
2877
  debug "^4.3.4"
2879
2878
 
2880
- "@salesforce/plugin-templates@56.2.9":
2881
- version "56.2.9"
2882
- resolved "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.2.9.tgz"
2883
- integrity sha512-hqug2oqt06MJ/5I6y2VIXnjqSlCIpX2XcinivF41HYOvwecqhzlgavbB4E0abWEODKeNXFHIuY7Smg19FeB31Q==
2879
+ "@salesforce/plugin-templates@56.2.10":
2880
+ version "56.2.10"
2881
+ resolved "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.2.10.tgz"
2882
+ integrity sha512-YrDYeN3KhafciSMJanZS+osQuKI4VNUPaMrLDz+zTioOkGMrXtybsd06TW9A5NzrroAY9vqd32XJH4NHbcmplQ==
2884
2883
  dependencies:
2885
- "@oclif/core" "^3.26.6"
2884
+ "@oclif/core" "^4"
2886
2885
  "@salesforce/core" "^7.3.8"
2887
- "@salesforce/sf-plugins-core" "^9.0.14"
2886
+ "@salesforce/sf-plugins-core" "^10.0.0"
2888
2887
  "@salesforce/templates" "^60.1.2"
2889
2888
  yeoman-environment "^3"
2890
2889
  yeoman-generator "^5"
@@ -2906,15 +2905,15 @@
2906
2905
  semver "^7.6.2"
2907
2906
  shelljs "^0.8.4"
2908
2907
 
2909
- "@salesforce/plugin-user@3.5.11":
2910
- version "3.5.11"
2911
- resolved "https://registry.npmjs.org/@salesforce/plugin-user/-/plugin-user-3.5.11.tgz"
2912
- integrity sha512-GA81RgZ5KMBuK2MEsYPCgRJP6U371Zvr0qxZUmXpDiuC8rjp9EqPl/1s4BfFVzB8emQWmFXxejSqCZz5FJh1dg==
2908
+ "@salesforce/plugin-user@3.5.12":
2909
+ version "3.5.12"
2910
+ resolved "https://registry.npmjs.org/@salesforce/plugin-user/-/plugin-user-3.5.12.tgz"
2911
+ integrity sha512-6ahKXZh/XlAZjo2YUpAXqGNIElt8Er0mrrfEa8C1PaGFgGP2NEvc6O69VHtIJwGRQ48K1xVBr1zttipjum9khw==
2913
2912
  dependencies:
2914
- "@oclif/core" "^3.26.6"
2913
+ "@oclif/core" "^4"
2915
2914
  "@salesforce/core" "^7.3.8"
2916
2915
  "@salesforce/kit" "^3.1.0"
2917
- "@salesforce/sf-plugins-core" "^9.0.12"
2916
+ "@salesforce/sf-plugins-core" "^10.0.0"
2918
2917
  "@salesforce/ts-types" "^2.0.9"
2919
2918
 
2920
2919
  "@salesforce/prettier-config@^0.0.3":
@@ -2945,19 +2944,6 @@
2945
2944
  string-width "^7.1.0"
2946
2945
  terminal-link "^3.0.0"
2947
2946
 
2948
- "@salesforce/sf-plugins-core@^9.0.12":
2949
- version "9.1.1"
2950
- resolved "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-9.1.1.tgz"
2951
- integrity sha512-5d4vGLqb1NZoHvDpuTu96TsFg/lexdnQNWC0h7GhOqxikJBpxk6P1DEbk9HrZWL18Gs1YXO9OCj2g8nKqbIC/Q==
2952
- dependencies:
2953
- "@inquirer/confirm" "^3.1.9"
2954
- "@inquirer/password" "^2.1.9"
2955
- "@oclif/core" "^3.26.6"
2956
- "@salesforce/core" "^7.3.9"
2957
- "@salesforce/kit" "^3.1.2"
2958
- "@salesforce/ts-types" "^2.0.9"
2959
- chalk "^5.3.0"
2960
-
2961
2947
  "@salesforce/sf-plugins-core@^9.0.13":
2962
2948
  version "9.1.1"
2963
2949
  resolved "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-9.1.1.tgz"
@@ -2971,19 +2957,6 @@
2971
2957
  "@salesforce/ts-types" "^2.0.9"
2972
2958
  chalk "^5.3.0"
2973
2959
 
2974
- "@salesforce/sf-plugins-core@^9.0.14":
2975
- version "9.1.1"
2976
- resolved "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-9.1.1.tgz"
2977
- integrity sha512-5d4vGLqb1NZoHvDpuTu96TsFg/lexdnQNWC0h7GhOqxikJBpxk6P1DEbk9HrZWL18Gs1YXO9OCj2g8nKqbIC/Q==
2978
- dependencies:
2979
- "@inquirer/confirm" "^3.1.9"
2980
- "@inquirer/password" "^2.1.9"
2981
- "@oclif/core" "^3.26.6"
2982
- "@salesforce/core" "^7.3.9"
2983
- "@salesforce/kit" "^3.1.2"
2984
- "@salesforce/ts-types" "^2.0.9"
2985
- chalk "^5.3.0"
2986
-
2987
2960
  "@salesforce/sf-plugins-core@^9.1.1":
2988
2961
  version "9.1.1"
2989
2962
  resolved "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-9.1.1.tgz"
@@ -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": {
@@ -5379,5 +5379,5 @@
5379
5379
  ]
5380
5380
  }
5381
5381
  },
5382
- "version": "2.46.1"
5382
+ "version": "2.46.3"
5383
5383
  }