-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
321 lines (312 loc) · 16.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
{
"name": "vscode-salesforce-doc-lookup",
"displayName": "Salesforce Reference",
"description": "Lookup Salesforce Documentation quickly from VSCode",
"publisher": "Oblongmana",
"icon": "images/SalesforceReferenceIcon.png",
"galleryBanner": {
"color": "#13193E",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/Oblongmana/vscode-salesforce-doc-lookup"
},
"version": "2.0.0",
"license": "GPL-3.0-only",
"homepage": "https://github.com/Oblongmana/vscode-salesforce-doc-lookup",
"bugs": {
"url": "https://github.com/Oblongmana/vscode-salesforce-doc-lookup/issues",
"email": "[email protected]"
},
"engines": {
"vscode": "^1.45.0"
},
"categories": [
"Other"
],
"keywords": [
"Salesforce",
"Documentation",
"Apex",
"SFDX"
],
"activationEvents": [
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-apex",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-visualforce",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-lightning-console",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-classic-console",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-metadata",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-object-reference",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-rest-api",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-soap-api",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-sfdx-cli",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-apex-dev-guide",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-ajax-dev-guide",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-ant-tool-guide",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-big-objects",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-bulk-api",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-data-loader",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-tooling-api",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-sfdx-cli-plugins",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-mobile-sdk",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-actions-api",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-sfdx-dev-guide",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-soql-sosl-reference",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-aura-components-dev-guide",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-connect-chatter-api-guide",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-field-reference",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-secure-coding-guide",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-lwc-aura-component-library",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-metadata-coverage-report",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-invalidate-cache",
"onCommand:vscode-salesforce-doc-lookup.salesforce-reference-current-word-search"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-apex",
"title": "Salesforce Reference: Apex Reference"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-visualforce",
"title": "Salesforce Reference: Visualforce"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-lightning-console",
"title": "Salesforce Reference: Lightning Console"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-classic-console",
"title": "Salesforce Reference: Classic Console"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-metadata",
"title": "Salesforce Reference: Metadata API"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-object-reference",
"title": "Salesforce Reference: Object Reference Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-rest-api",
"title": "Salesforce Reference: REST API"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-soap-api",
"title": "Salesforce Reference: SOAP API"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-sfdx-cli",
"title": "Salesforce Reference: SFDX CLI Command Reference"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-apex-dev-guide",
"title": "Salesforce Reference: Apex Developer Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-ajax-dev-guide",
"title": "Salesforce Reference: Ajax Toolkit Developer Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-ant-tool-guide",
"title": "Salesforce Reference: Ant Migration Tool Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-big-objects",
"title": "Salesforce Reference: Big Objects Implementation Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-bulk-api",
"title": "Salesforce Reference: Bulk API 2.0 and Bulk API Developer Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-data-loader",
"title": "Salesforce Reference: Data Loader Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-tooling-api",
"title": "Salesforce Reference: Tooling API"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-sfdx-cli-plugins",
"title": "Salesforce Reference: SFDX CLI Plugin Developer Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-mobile-sdk",
"title": "Salesforce Reference: Mobile SDK Development Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-actions-api",
"title": "Salesforce Reference: Actions API Developer Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-sfdx-dev-guide",
"title": "Salesforce Reference: SFDX Developer Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-soql-sosl-reference",
"title": "Salesforce Reference: SOQL & SOSL Reference"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-aura-components-dev-guide",
"title": "Salesforce Reference: Aura Components Developer Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-connect-chatter-api-guide",
"title": "Salesforce Reference: Connect/Chatter REST API Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-field-reference",
"title": "Salesforce Reference: Field Reference Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-secure-coding-guide",
"title": "Salesforce Reference: Secure Coding Guide"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-lwc-aura-component-library",
"title": "Salesforce Reference: LWC and Aura Component Library (EXPERIMENTAL)"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-metadata-coverage-report",
"title": "Salesforce Reference: Metadata Coverage Report"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-invalidate-cache",
"title": "Salesforce Reference: Invalidate Cache"
},
{
"command": "vscode-salesforce-doc-lookup.salesforce-reference-current-word-search",
"title": "Salesforce Reference: Search for current word or selection"
}
],
"configuration": {
"type": "object",
"title": "Salesforce Reference Configuration",
"properties": {
"vscode-salesforce-doc-lookup.EXPERIMENTAL.useWebview": {
"type": "boolean",
"order": 1,
"default": false,
"markdownDescription": "EXPERIMENTAL: If set to `true`, results will be retrieved and rendered in a WebView inside VSCode."
},
"vscode-salesforce-doc-lookup.EXPERIMENTAL.ADVANCED.languageAndVersionPreferences.atlasLanguageCode": {
"type": "string",
"order": 2,
"description": "ADVANCED, EXPERIMENTAL OPTION. Language code to request documentation. Please note that most non-'en-us' languages will not be available for most Salesforce release versions (including recent SF releases as there's often a lag in ja-jp release), language may not be customisable for some doc types at all, and documentation retrieval will fail. If you have specific requirements, suggest using the perDocType settings. In future, the plugin may be updated to pre-check if a version is valid, and fall-back if not.",
"default": "en-us",
"enum": [
"en-us",
"ja-jp"
],
"enumDescriptions": [
"English (United States)",
"Japanese"
]
},
"vscode-salesforce-doc-lookup.EXPERIMENTAL.ADVANCED.languageAndVersionPreferences.atlasVersionCode": {
"type": "string",
"order": 3,
"description": "ADVANCED, EXPERIMENTAL OPTION (Default: Leave blank to retrieve latest). Version code to request all Atlas-type documentation. Can be overriden by `perAtlasBasedDocType` settings. Please note that some version codes will not be available for many doc types, and documentation retrieval will fail. For Atlas type docs this is in the format e.g. '236.0'. In future, the plugin may be updated to pre-check if a version is valid, and fall-back if not.",
"default": ""
},
"vscode-salesforce-doc-lookup.EXPERIMENTAL.ADVANCED.languageAndVersionPreferences.metadataCoverageReportVersionCode": {
"type": "string",
"order": 5,
"description": "ADVANCED, EXPERIMENTAL OPTION (Default: Leave blank to retrieve latest). Version code to request Metadata Coverage Report. Please note that some version codes will not be available for many doc types, and documentation retrieval will fail. For Metadata Coverage Report docs this is in format e.g. '55'. In future, the plugin may be updated to pre-check if a version is valid, and fall-back if not.",
"default": ""
},
"vscode-salesforce-doc-lookup.EXPERIMENTAL.ADVANCED.languageAndVersionPreferences.perAtlasBasedDocType": {
"type": "object",
"order": 6,
"propertyNames": {
"type": "string",
"title": "DocType to customise language/version code for",
"enum": [
"APEX_DEV_GUIDE",
"APEX",
"CLASSIC_CONSOLE",
"LIGHTNING_CONSOLE",
"METADATA",
"OBJECT_REFERENCE",
"REST_API",
"SFDX_CLI",
"SOAP_API",
"VISUALFORCE",
"AJAX",
"ANT_MIGRATION_TOOL",
"BIG_OBJECTS",
"BULK_API",
"DATA_LOADER",
"TOOLING_API",
"SFDX_CLI_PLUGINS",
"MOBILE_SDK",
"API_ACTION",
"SFDX_DEV",
"SOQL_SOSL",
"AURA_COMP_DEV",
"CONNECT_CHATTER_API",
"FIELD_REFERENCE",
"SECURE_CODING_GUIDE"
],
"NOTE": "Any given one of these enum value definitions must EXACTLY match an entry in the DocTypeID.ts enum"
},
"additionalProperties": {
"type": "object",
"order": 1,
"title": "Language/Version Overrides for a specific DocType.",
"properties": {
"languageCode": {
"type": "string",
"order": 2,
"description": "ADVANCED, EXPERIMENTAL OPTION. Language code to request documentation. Please note that most non-'en-us' languages will not be available for most Salesforce release versions (including recent SF releases as there's often a lag in ja-jp release), language may not be customisable for some doc types at all, and documentation retrieval will fail. In future, the plugin may be updated to pre-check if a version is valid, and fall-back if not.",
"default": "en-us",
"enum": [
"en-us",
"ja-jp"
],
"enumDescriptions": [
"English (United States)",
"Japanese"
]
},
"versionCode": {
"type": "string",
"order": 3,
"description": "ADVANCED, EXPERIMENTAL OPTION (Default: Leave blank to retrieve latest). Version code to request documentation. Please note that some version codes will not be available for many doc types, and documentation retrieval will fail. For Atlas type docs this is the format e.g. '236.0'. In future, the plugin may be updated to pre-check if a version is valid, and fall-back if not.",
"default": ""
}
}
}
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/node": "^13.11.0",
"@types/semver": "^7.3.6",
"@types/vscode": "^1.45.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"eslint": "^6.8.0",
"typescript": "^4.2.2",
"vscode-test": "^1.3.0",
"yarn-audit-fix": "^9.3.2"
},
"dependencies": {
"cheerio": "^1.0.0-rc.10",
"got": "^11.3.0",
"semver": "^7.3.5",
"tslib": "^2.3.0"
}
}