@salesforce/cli 2.149.9 → 2.150.1

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.
@@ -1773,14 +1773,12 @@
1773
1773
  "messages:audit:dev"
1774
1774
  ]
1775
1775
  },
1776
- "dev:convert:messages": {
1776
+ "dev:configure:repo": {
1777
1777
  "aliases": [],
1778
1778
  "args": {},
1779
- "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.",
1779
+ "description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
1780
1780
  "examples": [
1781
- "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",
1782
- "Similar to previous example, but specify the plugin project directory:",
1783
- "<%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename my-command.json"
1781
+ "Configure the repo \"testPackageRelease\", with owner \"salesforcecli\", for GitHub Actions.\n<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1784
1782
  ],
1785
1783
  "flags": {
1786
1784
  "json": {
@@ -1798,64 +1796,70 @@
1798
1796
  "multiple": false,
1799
1797
  "type": "option"
1800
1798
  },
1801
- "project-dir": {
1802
- "aliases": [
1803
- "projectdir"
1804
- ],
1805
- "char": "p",
1806
- "name": "project-dir",
1807
- "summary": "Location of the project whose messages are to be converted.",
1808
- "default": ".",
1799
+ "repository": {
1800
+ "char": "r",
1801
+ "name": "repository",
1802
+ "required": true,
1803
+ "summary": "GitHub owner/repo for which you want to configure GitHub Actions.",
1809
1804
  "hasDynamicHelp": false,
1810
1805
  "multiple": false,
1811
1806
  "type": "option"
1812
1807
  },
1813
- "file-name": {
1808
+ "dry-run": {
1814
1809
  "aliases": [
1815
- "filename"
1810
+ "dryrun"
1816
1811
  ],
1817
- "char": "f",
1818
- "name": "file-name",
1819
- "required": true,
1820
- "summary": "Filename to convert.",
1812
+ "char": "d",
1813
+ "name": "dry-run",
1814
+ "summary": "Make no changes.",
1815
+ "allowNo": false,
1816
+ "type": "boolean"
1817
+ },
1818
+ "bot": {
1819
+ "char": "b",
1820
+ "name": "bot",
1821
+ "summary": "GitHub login/username for the bot.",
1822
+ "default": "SF-CLI-BOT",
1821
1823
  "hasDynamicHelp": false,
1822
- "multiple": true,
1824
+ "multiple": false,
1823
1825
  "type": "option"
1824
1826
  }
1825
1827
  },
1826
1828
  "hasDynamicHelp": false,
1829
+ "hidden": true,
1827
1830
  "hiddenAliases": [],
1828
- "id": "dev:convert:messages",
1831
+ "id": "dev:configure:repo",
1829
1832
  "pluginAlias": "@salesforce/plugin-dev",
1830
1833
  "pluginName": "@salesforce/plugin-dev",
1831
1834
  "pluginType": "jit",
1832
1835
  "strict": true,
1833
- "summary": "Convert a .json messages file into Markdown.",
1836
+ "summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
1834
1837
  "enableJsonFlag": true,
1835
1838
  "isESM": true,
1836
1839
  "relativePath": [
1837
1840
  "lib",
1838
1841
  "commands",
1839
1842
  "dev",
1840
- "convert",
1841
- "messages.js"
1843
+ "configure",
1844
+ "repo.js"
1842
1845
  ],
1843
1846
  "aliasPermutations": [],
1844
1847
  "permutations": [
1845
- "dev:convert:messages",
1846
- "convert:dev:messages",
1847
- "convert:messages:dev",
1848
- "dev:messages:convert",
1849
- "messages:dev:convert",
1850
- "messages:convert:dev"
1848
+ "dev:configure:repo",
1849
+ "configure:dev:repo",
1850
+ "configure:repo:dev",
1851
+ "dev:repo:configure",
1852
+ "repo:dev:configure",
1853
+ "repo:configure:dev"
1851
1854
  ]
1852
1855
  },
1853
- "dev:convert:script": {
1856
+ "dev:configure:secrets": {
1854
1857
  "aliases": [],
1855
1858
  "args": {},
1856
- "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\".",
1859
+ "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.",
1857
1860
  "examples": [
1858
- "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"
1861
+ "Ensure secrets access for the repo \"testPackageRelease\", with owner \"salesforcecli\":",
1862
+ "<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1859
1863
  ],
1860
1864
  "flags": {
1861
1865
  "json": {
@@ -1873,56 +1877,62 @@
1873
1877
  "multiple": false,
1874
1878
  "type": "option"
1875
1879
  },
1876
- "script": {
1877
- "char": "s",
1878
- "name": "script",
1880
+ "repository": {
1881
+ "char": "r",
1882
+ "name": "repository",
1879
1883
  "required": true,
1880
- "summary": "Filepath to the script you want to convert.",
1884
+ "summary": "Github owner/repo.",
1881
1885
  "hasDynamicHelp": false,
1882
1886
  "multiple": false,
1883
1887
  "type": "option"
1884
1888
  },
1885
- "no-prompt": {
1886
- "hidden": true,
1887
- "name": "no-prompt",
1888
- "summary": "Don't prompt for suggested replacements.",
1889
+ "dry-run": {
1890
+ "aliases": [
1891
+ "dryrun"
1892
+ ],
1893
+ "char": "d",
1894
+ "name": "dry-run",
1895
+ "summary": "Make no changes.",
1889
1896
  "allowNo": false,
1890
1897
  "type": "boolean"
1891
1898
  }
1892
1899
  },
1893
1900
  "hasDynamicHelp": false,
1901
+ "hidden": true,
1894
1902
  "hiddenAliases": [],
1895
- "id": "dev:convert:script",
1903
+ "id": "dev:configure:secrets",
1896
1904
  "pluginAlias": "@salesforce/plugin-dev",
1897
1905
  "pluginName": "@salesforce/plugin-dev",
1898
1906
  "pluginType": "jit",
1899
1907
  "strict": true,
1900
- "summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
1908
+ "summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
1901
1909
  "enableJsonFlag": true,
1902
1910
  "isESM": true,
1903
1911
  "relativePath": [
1904
1912
  "lib",
1905
1913
  "commands",
1906
1914
  "dev",
1907
- "convert",
1908
- "script.js"
1915
+ "configure",
1916
+ "secrets.js"
1909
1917
  ],
1910
1918
  "aliasPermutations": [],
1911
1919
  "permutations": [
1912
- "dev:convert:script",
1913
- "convert:dev:script",
1914
- "convert:script:dev",
1915
- "dev:script:convert",
1916
- "script:dev:convert",
1917
- "script:convert:dev"
1920
+ "dev:configure:secrets",
1921
+ "configure:dev:secrets",
1922
+ "configure:secrets:dev",
1923
+ "dev:secrets:configure",
1924
+ "secrets:dev:configure",
1925
+ "secrets:configure:dev"
1918
1926
  ]
1919
1927
  },
1920
- "dev:configure:repo": {
1928
+ "dev:convert:messages": {
1921
1929
  "aliases": [],
1922
1930
  "args": {},
1923
- "description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
1931
+ "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.",
1924
1932
  "examples": [
1925
- "Configure the repo \"testPackageRelease\", with owner \"salesforcecli\", for GitHub Actions.\n<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1933
+ "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",
1934
+ "Similar to previous example, but specify the plugin project directory:",
1935
+ "<%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename my-command.json"
1926
1936
  ],
1927
1937
  "flags": {
1928
1938
  "json": {
@@ -1940,70 +1950,64 @@
1940
1950
  "multiple": false,
1941
1951
  "type": "option"
1942
1952
  },
1943
- "repository": {
1944
- "char": "r",
1945
- "name": "repository",
1946
- "required": true,
1947
- "summary": "GitHub owner/repo for which you want to configure GitHub Actions.",
1953
+ "project-dir": {
1954
+ "aliases": [
1955
+ "projectdir"
1956
+ ],
1957
+ "char": "p",
1958
+ "name": "project-dir",
1959
+ "summary": "Location of the project whose messages are to be converted.",
1960
+ "default": ".",
1948
1961
  "hasDynamicHelp": false,
1949
1962
  "multiple": false,
1950
1963
  "type": "option"
1951
1964
  },
1952
- "dry-run": {
1965
+ "file-name": {
1953
1966
  "aliases": [
1954
- "dryrun"
1967
+ "filename"
1955
1968
  ],
1956
- "char": "d",
1957
- "name": "dry-run",
1958
- "summary": "Make no changes.",
1959
- "allowNo": false,
1960
- "type": "boolean"
1961
- },
1962
- "bot": {
1963
- "char": "b",
1964
- "name": "bot",
1965
- "summary": "GitHub login/username for the bot.",
1966
- "default": "SF-CLI-BOT",
1969
+ "char": "f",
1970
+ "name": "file-name",
1971
+ "required": true,
1972
+ "summary": "Filename to convert.",
1967
1973
  "hasDynamicHelp": false,
1968
- "multiple": false,
1974
+ "multiple": true,
1969
1975
  "type": "option"
1970
1976
  }
1971
1977
  },
1972
1978
  "hasDynamicHelp": false,
1973
- "hidden": true,
1974
1979
  "hiddenAliases": [],
1975
- "id": "dev:configure:repo",
1980
+ "id": "dev:convert:messages",
1976
1981
  "pluginAlias": "@salesforce/plugin-dev",
1977
1982
  "pluginName": "@salesforce/plugin-dev",
1978
1983
  "pluginType": "jit",
1979
1984
  "strict": true,
1980
- "summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
1985
+ "summary": "Convert a .json messages file into Markdown.",
1981
1986
  "enableJsonFlag": true,
1982
1987
  "isESM": true,
1983
1988
  "relativePath": [
1984
1989
  "lib",
1985
1990
  "commands",
1986
1991
  "dev",
1987
- "configure",
1988
- "repo.js"
1992
+ "convert",
1993
+ "messages.js"
1989
1994
  ],
1990
1995
  "aliasPermutations": [],
1991
1996
  "permutations": [
1992
- "dev:configure:repo",
1993
- "configure:dev:repo",
1994
- "configure:repo:dev",
1995
- "dev:repo:configure",
1996
- "repo:dev:configure",
1997
- "repo:configure:dev"
1997
+ "dev:convert:messages",
1998
+ "convert:dev:messages",
1999
+ "convert:messages:dev",
2000
+ "dev:messages:convert",
2001
+ "messages:dev:convert",
2002
+ "messages:convert:dev"
1998
2003
  ]
1999
2004
  },
2000
- "dev:configure:secrets": {
2005
+ "dev:convert:script": {
2001
2006
  "aliases": [],
2002
2007
  "args": {},
2003
- "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.",
2008
+ "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\".",
2004
2009
  "examples": [
2005
- "Ensure secrets access for the repo \"testPackageRelease\", with owner \"salesforcecli\":",
2006
- "<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
2010
+ "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"
2007
2011
  ],
2008
2012
  "flags": {
2009
2013
  "json": {
@@ -2021,52 +2025,48 @@
2021
2025
  "multiple": false,
2022
2026
  "type": "option"
2023
2027
  },
2024
- "repository": {
2025
- "char": "r",
2026
- "name": "repository",
2028
+ "script": {
2029
+ "char": "s",
2030
+ "name": "script",
2027
2031
  "required": true,
2028
- "summary": "Github owner/repo.",
2032
+ "summary": "Filepath to the script you want to convert.",
2029
2033
  "hasDynamicHelp": false,
2030
2034
  "multiple": false,
2031
2035
  "type": "option"
2032
2036
  },
2033
- "dry-run": {
2034
- "aliases": [
2035
- "dryrun"
2036
- ],
2037
- "char": "d",
2038
- "name": "dry-run",
2039
- "summary": "Make no changes.",
2037
+ "no-prompt": {
2038
+ "hidden": true,
2039
+ "name": "no-prompt",
2040
+ "summary": "Don't prompt for suggested replacements.",
2040
2041
  "allowNo": false,
2041
2042
  "type": "boolean"
2042
2043
  }
2043
2044
  },
2044
2045
  "hasDynamicHelp": false,
2045
- "hidden": true,
2046
2046
  "hiddenAliases": [],
2047
- "id": "dev:configure:secrets",
2047
+ "id": "dev:convert:script",
2048
2048
  "pluginAlias": "@salesforce/plugin-dev",
2049
2049
  "pluginName": "@salesforce/plugin-dev",
2050
2050
  "pluginType": "jit",
2051
2051
  "strict": true,
2052
- "summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
2052
+ "summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
2053
2053
  "enableJsonFlag": true,
2054
2054
  "isESM": true,
2055
2055
  "relativePath": [
2056
2056
  "lib",
2057
2057
  "commands",
2058
2058
  "dev",
2059
- "configure",
2060
- "secrets.js"
2059
+ "convert",
2060
+ "script.js"
2061
2061
  ],
2062
2062
  "aliasPermutations": [],
2063
2063
  "permutations": [
2064
- "dev:configure:secrets",
2065
- "configure:dev:secrets",
2066
- "configure:secrets:dev",
2067
- "dev:secrets:configure",
2068
- "secrets:dev:configure",
2069
- "secrets:configure:dev"
2064
+ "dev:convert:script",
2065
+ "convert:dev:script",
2066
+ "convert:script:dev",
2067
+ "dev:script:convert",
2068
+ "script:dev:convert",
2069
+ "script:convert:dev"
2070
2070
  ]
2071
2071
  },
2072
2072
  "dev:generate:command": {
@@ -7006,5 +7006,5 @@
7006
7006
  "requiresProject": true
7007
7007
  }
7008
7008
  },
7009
- "version": "2.149.9"
7009
+ "version": "2.150.1"
7010
7010
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.149.9",
4
+ "version": "2.150.1",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run.js",
@@ -77,13 +77,13 @@
77
77
  ],
78
78
  "jitPlugins": {
79
79
  "@salesforce/plugin-code-analyzer": "5.15.0",
80
- "@salesforce/plugin-community": "4.0.4",
81
- "@salesforce/plugin-custom-metadata": "4.0.4",
82
- "@salesforce/plugin-dev": "2.5.3",
80
+ "@salesforce/plugin-community": "4.0.5",
81
+ "@salesforce/plugin-custom-metadata": "4.0.5",
82
+ "@salesforce/plugin-dev": "2.5.4",
83
83
  "@salesforce/plugin-devops-center": "2.2.0",
84
84
  "@salesforce/plugin-flow": "2.0.0",
85
85
  "@salesforce/plugin-lightning-dev": "6.2.18",
86
- "@salesforce/plugin-signups": "3.0.4",
86
+ "@salesforce/plugin-signups": "3.0.5",
87
87
  "@salesforce/plugin-ui-bundle-dev": "1.2.4",
88
88
  "@salesforce/sfdx-plugin-lwc-test": "1.2.1"
89
89
  },
@@ -146,37 +146,37 @@
146
146
  },
147
147
  "dependencies": {
148
148
  "@inquirer/select": "^2.3.5",
149
- "@oclif/core": "4.13.5",
149
+ "@oclif/core": "4.14.0",
150
150
  "@oclif/plugin-autocomplete": "3.2.56",
151
151
  "@oclif/plugin-commands": "4.1.63",
152
152
  "@oclif/plugin-help": "6.2.58",
153
153
  "@oclif/plugin-not-found": "3.2.93",
154
- "@oclif/plugin-plugins": "5.4.87",
154
+ "@oclif/plugin-plugins": "5.5.1",
155
155
  "@oclif/plugin-search": "1.2.54",
156
- "@oclif/plugin-update": "4.7.59",
157
- "@oclif/plugin-version": "2.2.57",
156
+ "@oclif/plugin-update": "4.8.0",
157
+ "@oclif/plugin-version": "2.3.0",
158
158
  "@oclif/plugin-warn-if-update-available": "3.1.73",
159
159
  "@oclif/plugin-which": "3.2.61",
160
160
  "@salesforce/core": "^9.0.0",
161
161
  "@salesforce/kit": "^4.0.0",
162
- "@salesforce/plugin-agent": "2.0.3",
163
- "@salesforce/plugin-apex": "4.1.0",
162
+ "@salesforce/plugin-agent": "2.0.4",
163
+ "@salesforce/plugin-apex": "4.1.1",
164
164
  "@salesforce/plugin-api": "2.0.9",
165
165
  "@salesforce/plugin-auth": "5.0.6",
166
- "@salesforce/plugin-data": "5.1.5",
166
+ "@salesforce/plugin-data": "5.1.6",
167
167
  "@salesforce/plugin-deploy-retrieve": "4.1.2",
168
168
  "@salesforce/plugin-info": "4.0.9",
169
- "@salesforce/plugin-limits": "4.0.3",
169
+ "@salesforce/plugin-limits": "4.0.4",
170
170
  "@salesforce/plugin-marketplace": "2.0.5",
171
- "@salesforce/plugin-org": "6.0.9",
172
- "@salesforce/plugin-packaging": "3.0.5",
173
- "@salesforce/plugin-schema": "4.0.5",
174
- "@salesforce/plugin-settings": "3.0.5",
171
+ "@salesforce/plugin-org": "6.0.10",
172
+ "@salesforce/plugin-packaging": "3.0.6",
173
+ "@salesforce/plugin-schema": "4.0.6",
174
+ "@salesforce/plugin-settings": "3.0.6",
175
175
  "@salesforce/plugin-sobject": "2.0.5",
176
176
  "@salesforce/plugin-telemetry": "4.0.5",
177
- "@salesforce/plugin-templates": "57.0.9",
177
+ "@salesforce/plugin-templates": "57.0.11",
178
178
  "@salesforce/plugin-trust": "4.0.9",
179
- "@salesforce/plugin-user": "5.0.1",
179
+ "@salesforce/plugin-user": "5.0.2",
180
180
  "@salesforce/sf-plugins-core": "13.0.3",
181
181
  "ansis": "^3.12.0"
182
182
  },