@salesforce/plugin-data 0.6.0 → 0.6.4
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/CHANGELOG.md +40 -3
- package/LICENSE.txt +12 -0
- package/README.md +77 -10
- package/lib/api/data/tree/exportApi.js +10 -9
- package/lib/api/data/tree/exportApi.js.map +1 -1
- package/lib/api/data/tree/importApi.js +17 -15
- package/lib/api/data/tree/importApi.js.map +1 -1
- package/lib/commands/force/data/bulk/delete.js.map +1 -1
- package/lib/commands/force/data/record/get.js +1 -1
- package/lib/commands/force/data/record/get.js.map +1 -1
- package/lib/commands/force/data/record/update.js +6 -2
- package/lib/commands/force/data/record/update.js.map +1 -1
- package/lib/commands/force/data/soql/query.d.ts +1 -0
- package/lib/commands/force/data/soql/query.js +20 -8
- package/lib/commands/force/data/soql/query.js.map +1 -1
- package/lib/commands/force/data/tree/import.js +1 -1
- package/lib/commands/force/data/tree/import.js.map +1 -1
- package/lib/dataCommand.js +1 -1
- package/lib/dataCommand.js.map +1 -1
- package/lib/reporters.js +7 -7
- package/lib/reporters.js.map +1 -1
- package/oclif.manifest.json +1 -0
- package/package.json +138 -115
package/package.json
CHANGED
|
@@ -1,120 +1,143 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"@oclif/plugin-command-snapshot",
|
|
14
|
-
"@salesforce/plugin-command-reference"
|
|
2
|
+
"name": "@salesforce/plugin-data",
|
|
3
|
+
"version": "0.6.4",
|
|
4
|
+
"description": "Plugin for salesforce data commands",
|
|
5
|
+
"author": "Salesforce",
|
|
6
|
+
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"force",
|
|
9
|
+
"salesforce",
|
|
10
|
+
"sfdx",
|
|
11
|
+
"salesforcedx",
|
|
12
|
+
"sfdx-plugin"
|
|
15
13
|
],
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
14
|
+
"license": "BSD-3-Clause",
|
|
15
|
+
"config": {
|
|
16
|
+
"commitizen": {
|
|
17
|
+
"path": "cz-conventional-changelog"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"oclif": {
|
|
21
|
+
"commands": "./lib/commands",
|
|
22
|
+
"bin": "sfdx",
|
|
23
|
+
"devPlugins": [
|
|
24
|
+
"@oclif/plugin-help",
|
|
25
|
+
"@oclif/plugin-command-snapshot",
|
|
26
|
+
"@salesforce/plugin-command-reference"
|
|
27
|
+
],
|
|
28
|
+
"topics": {
|
|
29
|
+
"force": {
|
|
30
|
+
"description": "tools for the Salesforce developer",
|
|
31
|
+
"subtopics": {
|
|
32
|
+
"data": {
|
|
33
|
+
"description": "manipulate records in your org",
|
|
34
|
+
"longDescription": "Use the data commands to manipulate records in your org. Commands are available to help you work with various APIs. Import CSV files with the Bulk API. Export and import data that includes master-detail relationships with the SObject Tree Save API. Perform simple CRUD operations on individual records with the REST API.",
|
|
35
|
+
"subtopics": {
|
|
36
|
+
"bulk": {
|
|
37
|
+
"description": "manipulate records using the bulk API"
|
|
38
|
+
},
|
|
39
|
+
"record": {
|
|
40
|
+
"description": "manipulate records using the enterprise API"
|
|
41
|
+
},
|
|
42
|
+
"soql": {
|
|
43
|
+
"description": "fetch records using SOQL"
|
|
44
|
+
},
|
|
45
|
+
"tree": {
|
|
46
|
+
"description": "import/export records using the tree API"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
36
51
|
}
|
|
37
|
-
}
|
|
38
52
|
}
|
|
39
|
-
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"/lib",
|
|
56
|
+
"/messages",
|
|
57
|
+
"/schema",
|
|
58
|
+
"/oclif.manifest.json"
|
|
59
|
+
],
|
|
60
|
+
"repository": "salesforcecli/plugin-data",
|
|
61
|
+
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public"
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "sf-build",
|
|
67
|
+
"clean": "sf-clean",
|
|
68
|
+
"clean-all": "sf-clean all",
|
|
69
|
+
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
|
70
|
+
"compile": "sf-compile",
|
|
71
|
+
"docs": "sf-docs",
|
|
72
|
+
"format": "sf-format",
|
|
73
|
+
"lint": "sf-lint",
|
|
74
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
75
|
+
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
|
|
76
|
+
"prepack": "sf-prepack",
|
|
77
|
+
"prepare": "sf-install",
|
|
78
|
+
"pretest": "sf-compile-test",
|
|
79
|
+
"test": "sf-test",
|
|
80
|
+
"test:command-reference": "./bin/run commandreference:generate --erroronwarnings",
|
|
81
|
+
"test:deprecation-policy": "./bin/run snapshot:compare",
|
|
82
|
+
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
83
|
+
"version": "oclif-dev readme"
|
|
84
|
+
},
|
|
85
|
+
"dependencies": {
|
|
86
|
+
"@oclif/config": "^1",
|
|
87
|
+
"@salesforce/command": "^4.1.3",
|
|
88
|
+
"@salesforce/core": "^2.28.0",
|
|
89
|
+
"@salesforce/ts-types": "^1.5.20",
|
|
90
|
+
"chalk": "^4.1.0",
|
|
91
|
+
"csv-parse": "^4.16.3",
|
|
92
|
+
"tslib": "^2"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@oclif/dev-cli": "^1",
|
|
96
|
+
"@oclif/plugin-command-snapshot": "^2.1.1",
|
|
97
|
+
"@salesforce/cli-plugins-testkit": "^1.4.10",
|
|
98
|
+
"@salesforce/dev-config": "^2.1.2",
|
|
99
|
+
"@salesforce/dev-scripts": "0.9.18",
|
|
100
|
+
"@salesforce/plugin-command-reference": "^1.3.0",
|
|
101
|
+
"@salesforce/prettier-config": "^0.0.2",
|
|
102
|
+
"@salesforce/ts-sinon": "^1.3.15",
|
|
103
|
+
"@types/chai-as-promised": "^7.1.3",
|
|
104
|
+
"@types/graceful-fs": "^4.1.5",
|
|
105
|
+
"@types/jsforce": "^1.9.35",
|
|
106
|
+
"@types/mkdirp": "^1.0.1",
|
|
107
|
+
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
108
|
+
"@typescript-eslint/parser": "^4.33.0",
|
|
109
|
+
"chai": "^4.2.0",
|
|
110
|
+
"chai-as-promised": "^7.1.1",
|
|
111
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
112
|
+
"eslint": "^7.27.0",
|
|
113
|
+
"eslint-config-prettier": "^8.3.0",
|
|
114
|
+
"eslint-config-salesforce": "^0.1.6",
|
|
115
|
+
"eslint-config-salesforce-license": "^0.1.6",
|
|
116
|
+
"eslint-config-salesforce-typescript": "^0.2.7",
|
|
117
|
+
"eslint-plugin-header": "^3.1.1",
|
|
118
|
+
"eslint-plugin-import": "2.24.2",
|
|
119
|
+
"eslint-plugin-jsdoc": "^35.1.3",
|
|
120
|
+
"eslint-plugin-prettier": "^3.1.3",
|
|
121
|
+
"fast-xml-parser": "^3.20.3",
|
|
122
|
+
"husky": "^4.3.8",
|
|
123
|
+
"mocha": "^8.4.0",
|
|
124
|
+
"nyc": "^15.1.0",
|
|
125
|
+
"prettier": "^2.4.1",
|
|
126
|
+
"pretty-quick": "^3.1.0",
|
|
127
|
+
"shx": "^0.3.3",
|
|
128
|
+
"sinon": "10.0.0",
|
|
129
|
+
"ts-node": "^10.0.0",
|
|
130
|
+
"typescript": "^4.1.3"
|
|
131
|
+
},
|
|
132
|
+
"husky": {
|
|
133
|
+
"hooks": {
|
|
134
|
+
"commit-msg": "sf-husky-commit-msg",
|
|
135
|
+
"pre-commit": "sf-husky-pre-commit",
|
|
136
|
+
"pre-push": "sf-husky-pre-push"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"sfdx": {
|
|
140
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/0.6.4.crt",
|
|
141
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/0.6.4.sig"
|
|
40
142
|
}
|
|
41
|
-
|
|
42
|
-
"files": [
|
|
43
|
-
"/lib",
|
|
44
|
-
"/messages",
|
|
45
|
-
"/schema",
|
|
46
|
-
"/oclif.manifest.json"
|
|
47
|
-
],
|
|
48
|
-
"repository": {
|
|
49
|
-
"type": "git",
|
|
50
|
-
"url": "git+https://github.com/salesforcecli/data.git"
|
|
51
|
-
},
|
|
52
|
-
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
53
|
-
"publishConfig": {
|
|
54
|
-
"access": "public"
|
|
55
|
-
},
|
|
56
|
-
"scripts": {
|
|
57
|
-
"build": "sf-build",
|
|
58
|
-
"clean": "sf-clean",
|
|
59
|
-
"clean-all": "sf-clean all",
|
|
60
|
-
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
|
61
|
-
"compile": "sf-compile",
|
|
62
|
-
"docs": "sf-docs",
|
|
63
|
-
"format": "sf-format",
|
|
64
|
-
"lint": "sf-lint",
|
|
65
|
-
"postpack": "shx rm -f oclif.manifest.json",
|
|
66
|
-
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
|
|
67
|
-
"prepack": "sf-build",
|
|
68
|
-
"pretest": "sf-compile-test",
|
|
69
|
-
"test": "sf-test",
|
|
70
|
-
"test:command-reference": "./bin/run commandreference:generate --erroronwarnings",
|
|
71
|
-
"test:deprecation-policy": "./bin/run snapshot:compare",
|
|
72
|
-
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
73
|
-
"version": "oclif-dev readme && git add ."
|
|
74
|
-
},
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"@oclif/config": "^1",
|
|
77
|
-
"@salesforce/command": "^3.1.3",
|
|
78
|
-
"@salesforce/core": "^2.24.0",
|
|
79
|
-
"@salesforce/data": "^0.1.8",
|
|
80
|
-
"@salesforce/ts-types": "^1.5.13",
|
|
81
|
-
"@types/graceful-fs": "^4.1.5",
|
|
82
|
-
"@types/mkdirp": "^1.0.1",
|
|
83
|
-
"chalk": "^4.1.0",
|
|
84
|
-
"csv-parse": "^4.14.1",
|
|
85
|
-
"tslib": "^2"
|
|
86
|
-
},
|
|
87
|
-
"devDependencies": {
|
|
88
|
-
"@oclif/dev-cli": "^1",
|
|
89
|
-
"@oclif/plugin-command-snapshot": "^2.1.1",
|
|
90
|
-
"@salesforce/cli-plugins-testkit": "^1.1.5",
|
|
91
|
-
"@salesforce/dev-config": "^2.1.2",
|
|
92
|
-
"@salesforce/dev-scripts": "0.9.15",
|
|
93
|
-
"@salesforce/prettier-config": "^0.0.2",
|
|
94
|
-
"@salesforce/ts-sinon": "^1.3.15",
|
|
95
|
-
"@types/chai-as-promised": "^7.1.3",
|
|
96
|
-
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
|
97
|
-
"@typescript-eslint/parser": "^4.26.0",
|
|
98
|
-
"chai": "^4.2.0",
|
|
99
|
-
"chai-as-promised": "^7.1.1",
|
|
100
|
-
"eslint": "^7.27.0",
|
|
101
|
-
"eslint-config-prettier": "^6.11.0",
|
|
102
|
-
"eslint-config-salesforce": "^0.1.6",
|
|
103
|
-
"eslint-config-salesforce-license": "^0.1.6",
|
|
104
|
-
"eslint-config-salesforce-typescript": "^0.2.7",
|
|
105
|
-
"eslint-plugin-header": "^3.1.1",
|
|
106
|
-
"eslint-plugin-import": "^2.23.4",
|
|
107
|
-
"eslint-plugin-jsdoc": "^35.1.2",
|
|
108
|
-
"eslint-plugin-prettier": "^3.1.3",
|
|
109
|
-
"fast-xml-parser": "^3.17.5",
|
|
110
|
-
"husky": "^5.1.3",
|
|
111
|
-
"mocha": "^8.4.0",
|
|
112
|
-
"nyc": "^15.1.0",
|
|
113
|
-
"prettier": "^2.0.5",
|
|
114
|
-
"pretty-quick": "^3.1.0",
|
|
115
|
-
"shx": "^0.3.3",
|
|
116
|
-
"sinon": "10.0.0",
|
|
117
|
-
"ts-node": "^10.0.0",
|
|
118
|
-
"typescript": "^4.1.3"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
143
|
+
}
|