@salesforce/cli 2.0.0-beta.17 → 2.0.0-beta.18
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/npm-shrinkwrap.json +2 -2
- package/oclif.manifest.json +39 -1
- package/package.json +2 -2
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.18",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.0.0-beta.
|
|
9
|
+
"version": "2.0.0-beta.18",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "BSD-3-Clause",
|
|
12
12
|
"dependencies": {
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.0.0-beta.
|
|
2
|
+
"version": "2.0.0-beta.18",
|
|
3
3
|
"commands": {
|
|
4
4
|
"cmdt:generate:field": {
|
|
5
5
|
"id": "cmdt:generate:field",
|
|
@@ -1040,6 +1040,44 @@
|
|
|
1040
1040
|
},
|
|
1041
1041
|
"args": {}
|
|
1042
1042
|
},
|
|
1043
|
+
"dev:convert:script": {
|
|
1044
|
+
"id": "dev:convert:script",
|
|
1045
|
+
"summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
|
|
1046
|
+
"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\".",
|
|
1047
|
+
"strict": true,
|
|
1048
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1049
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
1050
|
+
"pluginType": "jit",
|
|
1051
|
+
"aliases": [],
|
|
1052
|
+
"examples": [
|
|
1053
|
+
"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"
|
|
1054
|
+
],
|
|
1055
|
+
"flags": {
|
|
1056
|
+
"json": {
|
|
1057
|
+
"name": "json",
|
|
1058
|
+
"type": "boolean",
|
|
1059
|
+
"description": "Format output as json.",
|
|
1060
|
+
"helpGroup": "GLOBAL",
|
|
1061
|
+
"allowNo": false
|
|
1062
|
+
},
|
|
1063
|
+
"script": {
|
|
1064
|
+
"name": "script",
|
|
1065
|
+
"type": "option",
|
|
1066
|
+
"char": "s",
|
|
1067
|
+
"summary": "Filepath to the script you want to convert.",
|
|
1068
|
+
"required": true,
|
|
1069
|
+
"multiple": false
|
|
1070
|
+
},
|
|
1071
|
+
"no-prompt": {
|
|
1072
|
+
"name": "no-prompt",
|
|
1073
|
+
"type": "boolean",
|
|
1074
|
+
"summary": "Don't prompt for suggested replacements.",
|
|
1075
|
+
"hidden": true,
|
|
1076
|
+
"allowNo": false
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
"args": {}
|
|
1080
|
+
},
|
|
1043
1081
|
"dev:generate:command": {
|
|
1044
1082
|
"id": "dev:generate:command",
|
|
1045
1083
|
"summary": "Generate a new sf command.",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.18",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"jitPlugins": {
|
|
71
71
|
"@salesforce/plugin-custom-metadata": "2.1.19",
|
|
72
72
|
"@salesforce/plugin-community": "2.2.11",
|
|
73
|
-
"@salesforce/plugin-dev": "0.7.
|
|
73
|
+
"@salesforce/plugin-dev": "0.7.6",
|
|
74
74
|
"@salesforce/plugin-env": "2.1.8",
|
|
75
75
|
"@salesforce/plugin-functions": "1.21.8",
|
|
76
76
|
"@salesforce/plugin-packaging": "1.16.11",
|