@salesforce/cli 2.0.0-beta.16 → 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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "2.0.0-beta.16",
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.16",
9
+ "version": "2.0.0-beta.18",
10
10
  "hasInstallScript": true,
11
11
  "license": "BSD-3-Clause",
12
12
  "dependencies": {
@@ -22,7 +22,7 @@
22
22
  "@oclif/plugin-warn-if-update-available": "2.0.36",
23
23
  "@oclif/plugin-which": "2.2.19",
24
24
  "@salesforce/core": "3.36.0",
25
- "@salesforce/plugin-apex": "2.2.15",
25
+ "@salesforce/plugin-apex": "2.2.16",
26
26
  "@salesforce/plugin-auth": "2.7.14",
27
27
  "@salesforce/plugin-data": "2.3.14",
28
28
  "@salesforce/plugin-deploy-retrieve": "1.8.18",
@@ -38,7 +38,7 @@
38
38
  "@salesforce/plugin-templates": "55.4.13",
39
39
  "@salesforce/plugin-trust": "2.4.14",
40
40
  "@salesforce/plugin-user": "2.3.10",
41
- "@salesforce/sf-plugins-core": "2.4.0",
41
+ "@salesforce/sf-plugins-core": "2.4.2",
42
42
  "debug": "^4.3.4",
43
43
  "semver": "^7.3.8",
44
44
  "tslib": "^2.4.1"
@@ -9418,9 +9418,9 @@
9418
9418
  }
9419
9419
  },
9420
9420
  "node_modules/@salesforce/plugin-apex": {
9421
- "version": "2.2.15",
9422
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-apex/-/plugin-apex-2.2.15.tgz",
9423
- "integrity": "sha512-7K9kWg/eFxmjnKLsZg+sHBgRGYF7DKllxLb79LPdzye7quEY+P0EgH9AzdJE8RRliMm77RX226kUHUjB/RBJsw==",
9421
+ "version": "2.2.16",
9422
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-apex/-/plugin-apex-2.2.16.tgz",
9423
+ "integrity": "sha512-dcl9YgvsEZRj+Em/pxtQzv0CcMryV5SuaY+OLP81+4Re2HiQY2X4ybBQDXhFeUdw/s+aLqUBXmhcls0skdhDYQ==",
9424
9424
  "license": "BSD-3-Clause",
9425
9425
  "dependencies": {
9426
9426
  "@oclif/core": "^2.8.2",
@@ -9980,13 +9980,13 @@
9980
9980
  "license": "ISC"
9981
9981
  },
9982
9982
  "node_modules/@salesforce/sf-plugins-core": {
9983
- "version": "2.4.0",
9984
- "resolved": "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-2.4.0.tgz",
9985
- "integrity": "sha512-IOcWeljHB2byDDIn3J18c4MIURHOJ8fQ0TkKVQ9t3rIITj/I/QOwB2yYloGntFvvsFMnDV3NS+IL+rOuq6iRxg==",
9983
+ "version": "2.4.2",
9984
+ "resolved": "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-2.4.2.tgz",
9985
+ "integrity": "sha512-X2KuYhC0vQN53j+10dDch3MbDAQMsldgyW8m8UrKcya12puJcyVv41PHw5XhrPk532/dFu8iCDjQ4tl2Pq4/RA==",
9986
9986
  "license": "BSD-3-Clause",
9987
9987
  "dependencies": {
9988
- "@oclif/core": "^2.8.2",
9989
- "@salesforce/core": "^3.35.0",
9988
+ "@oclif/core": "^2.8.5",
9989
+ "@salesforce/core": "^3.36.0",
9990
9990
  "@salesforce/kit": "^1.9.2",
9991
9991
  "@salesforce/ts-types": "^1.7.3",
9992
9992
  "chalk": "^4",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0-beta.16",
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.16",
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.4",
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",
@@ -130,7 +130,7 @@
130
130
  "@oclif/plugin-warn-if-update-available": "2.0.36",
131
131
  "@oclif/plugin-which": "2.2.19",
132
132
  "@salesforce/core": "3.36.0",
133
- "@salesforce/plugin-apex": "2.2.15",
133
+ "@salesforce/plugin-apex": "2.2.16",
134
134
  "@salesforce/plugin-auth": "2.7.14",
135
135
  "@salesforce/plugin-data": "2.3.14",
136
136
  "@salesforce/plugin-deploy-retrieve": "1.8.18",
@@ -146,7 +146,7 @@
146
146
  "@salesforce/plugin-templates": "55.4.13",
147
147
  "@salesforce/plugin-trust": "2.4.14",
148
148
  "@salesforce/plugin-user": "2.3.10",
149
- "@salesforce/sf-plugins-core": "2.4.0",
149
+ "@salesforce/sf-plugins-core": "2.4.2",
150
150
  "debug": "^4.3.4",
151
151
  "semver": "^7.3.8",
152
152
  "tslib": "^2.4.1"