@salesforce/plugin-data 2.5.7 → 2.5.8
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 +352 -278
- package/messages/tree.export.md +1 -1
- package/oclif.manifest.json +2 -2
- package/package.json +14 -11
package/messages/tree.export.md
CHANGED
|
@@ -30,7 +30,7 @@ Directory in which to generate the JSON files; default is current directory.
|
|
|
30
30
|
|
|
31
31
|
- Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:
|
|
32
32
|
|
|
33
|
-
<%= config.bin %> <%= command.id %> --query "SELECT Id, Name, (SELECT Name,
|
|
33
|
+
<%= config.bin %> <%= command.id %> --query "SELECT Id, Name, (SELECT Name, Address**c FROM Properties**r) FROM Broker\_\_c"
|
|
34
34
|
|
|
35
35
|
- Export data using a SOQL query in the "query.txt" file and generate JSON files for each object and a plan that aggregates them:
|
|
36
36
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.5.
|
|
2
|
+
"version": "2.5.8",
|
|
3
3
|
"commands": {
|
|
4
4
|
"data:query": {
|
|
5
5
|
"id": "data:query",
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
"force:data:tree:export"
|
|
683
683
|
],
|
|
684
684
|
"examples": [
|
|
685
|
-
"Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, (SELECT Name,
|
|
685
|
+
"Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, (SELECT Name, Address**c FROM Properties**r) FROM Broker\\_\\_c\"",
|
|
686
686
|
"Export data using a SOQL query in the \"query.txt\" file and generate JSON files for each object and a plan that aggregates them:\n<%= config.bin %> <%= command.id %> --query query.txt --plan",
|
|
687
687
|
"Prepend \"export-demo\" before each generated file and generate the files in the \"export-out\" directory; run the command on the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --query query.txt --plan --prefix export-demo --output-dir export-out --target-org my-scratch"
|
|
688
688
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.8",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"salesforce",
|
|
11
11
|
"sfdx",
|
|
12
12
|
"salesforcedx",
|
|
13
|
-
"sfdx-plugin"
|
|
13
|
+
"sfdx-plugin",
|
|
14
|
+
"sf-plugin"
|
|
14
15
|
],
|
|
15
16
|
"license": "BSD-3-Clause",
|
|
16
17
|
"engines": {
|
|
@@ -19,9 +20,10 @@
|
|
|
19
20
|
"config": {},
|
|
20
21
|
"oclif": {
|
|
21
22
|
"commands": "./lib/commands",
|
|
22
|
-
"bin": "
|
|
23
|
+
"bin": "sf",
|
|
23
24
|
"devPlugins": [
|
|
24
25
|
"@oclif/plugin-help",
|
|
26
|
+
"@salesforce/plugin-settings",
|
|
25
27
|
"@oclif/plugin-command-snapshot",
|
|
26
28
|
"@salesforce/plugin-command-reference"
|
|
27
29
|
],
|
|
@@ -106,7 +108,7 @@
|
|
|
106
108
|
"@oclif/core": "^2.11.7",
|
|
107
109
|
"@salesforce/core": "^5.2.0",
|
|
108
110
|
"@salesforce/kit": "^3.0.9",
|
|
109
|
-
"@salesforce/sf-plugins-core": "^3.1.
|
|
111
|
+
"@salesforce/sf-plugins-core": "^3.1.20",
|
|
110
112
|
"@salesforce/ts-types": "^2.0.6",
|
|
111
113
|
"chalk": "^4.1.0",
|
|
112
114
|
"csv-parse": "^4.16.3",
|
|
@@ -115,21 +117,22 @@
|
|
|
115
117
|
"tslib": "^2"
|
|
116
118
|
},
|
|
117
119
|
"devDependencies": {
|
|
120
|
+
"@salesforce/plugin-settings": "^1.4.27",
|
|
118
121
|
"@oclif/plugin-command-snapshot": "^4.0.13",
|
|
119
|
-
"@salesforce/cli-plugins-testkit": "^4.
|
|
122
|
+
"@salesforce/cli-plugins-testkit": "^4.3.1",
|
|
120
123
|
"@salesforce/dev-config": "^4.0.1",
|
|
121
124
|
"@salesforce/dev-scripts": "^5.7.0",
|
|
122
125
|
"@salesforce/plugin-command-reference": "^3.0.25",
|
|
123
126
|
"@salesforce/prettier-config": "^0.0.3",
|
|
124
127
|
"@salesforce/ts-sinon": "^1.4.14",
|
|
125
|
-
"@swc/core": "
|
|
128
|
+
"@swc/core": "1.3.31",
|
|
126
129
|
"@types/chai-as-promised": "^7.1.3",
|
|
127
130
|
"@types/shelljs": "^0.8.10",
|
|
128
131
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
129
132
|
"@typescript-eslint/parser": "^5.62.0",
|
|
130
|
-
"chai": "^4.3.
|
|
133
|
+
"chai": "^4.3.8",
|
|
131
134
|
"chai-as-promised": "^7.1.1",
|
|
132
|
-
"eslint": "^8.
|
|
135
|
+
"eslint": "^8.48.0",
|
|
133
136
|
"eslint-config-prettier": "^8.9.0",
|
|
134
137
|
"eslint-config-salesforce": "^2.0.2",
|
|
135
138
|
"eslint-config-salesforce-license": "^0.2.0",
|
|
@@ -149,7 +152,7 @@
|
|
|
149
152
|
"sinon": "10.0.0",
|
|
150
153
|
"ts-node": "^10.4.0",
|
|
151
154
|
"typescript": "^4.9.5",
|
|
152
|
-
"wireit": "^0.
|
|
155
|
+
"wireit": "^0.13.0"
|
|
153
156
|
},
|
|
154
157
|
"wireit": {
|
|
155
158
|
"build": {
|
|
@@ -257,7 +260,7 @@
|
|
|
257
260
|
}
|
|
258
261
|
},
|
|
259
262
|
"sfdx": {
|
|
260
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.5.
|
|
261
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.5.
|
|
263
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.5.8.crt",
|
|
264
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.5.8.sig"
|
|
262
265
|
}
|
|
263
266
|
}
|