-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathpackage.json
More file actions
341 lines (341 loc) · 8.19 KB
/
package.json
File metadata and controls
341 lines (341 loc) · 8.19 KB
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
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
{
"name": "devdb",
"version": "3.0.3",
"publisher": "damms005",
"engines": {
"vscode": "^1.83.0"
},
"license": "SEE LICENSE IN LICENSE.txt",
"displayName": "DevDb",
"description": "A zero-config extension that displays your database records right inside VS Code and provides tools and affordances to aid development and debugging.",
"categories": [
"Programming Languages",
"Visualization",
"Data Science",
"Other"
],
"keywords": [
"devdb",
"database",
"mysql",
"mariadb",
"sqlite",
"postgresql",
"postgres",
"rails",
"ruby on rails",
"django",
"python django",
"sql",
"database",
"database management",
"database management system",
"database manager",
"database manager",
"database manager"
],
"galleryBanner": {
"color": "#f9fafb",
"theme": "light"
},
"preview": false,
"main": "./dist/extension.js",
"homepage": "https://github.com/damms005/devdb-vscode/blob/main/README.md",
"bugs": {
"url": "https://github.com/damms005/devdb-vscode/discussions",
"email": "damms005@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/damms005/devdb-vscode.git"
},
"icon": "resources/devdb-128x128.png",
"activationEvents": [
"workspaceContains:**/.devdbrc",
"onLanguage:php",
"onLanguage:javascript",
"onLanguage:typescript",
"onUri"
],
"contributes": {
"commands": [
{
"command": "devdb.goto-table",
"title": "Go to Table"
},
{
"command": "devdb.context-menu.open-table-at-cursor",
"title": "Open table at cursor"
},
{
"command": "devdb.laravel.generate-factory",
"title": "Generate Laravel Factory"
},
{
"command": "devdb.context-menu.laravel.generate-factory-from-word-under-cursor",
"title": "Generate Laravel Factory"
},
{
"command": "devdb.laravel.explain-query",
"title": "Explain query"
},
{
"command": "devdb.context-menu.laravel.explain-query",
"title": "Explain query"
},
{
"command": "devdb.license.manage",
"title": "DevDb Pro: Manage License",
"category": "DevDb Pro"
}
],
"jsonValidation": [
{
"fileMatch": ".devdbrc",
"url": "./schemas/devdbrc.json"
}
],
"snippets": [
{
"language": "json",
"path": "./snippets/devdbrc.json"
}
],
"languages": [
{
"id": "json",
"filenames": [
".devdbrc"
],
"aliases": [
"DevDb Config"
]
}
],
"viewsContainers": {
"panel": [
{
"id": "devdb-container",
"title": "DevDb",
"icon": "resources/devdb.png"
}
]
},
"views": {
"devdb-container": [
{
"type": "webview",
"id": "devdb",
"name": "DevDb",
"icon": "resources/devdb.png"
}
]
},
"keybindings": [
{
"command": "devdb.focus",
"key": "CTRL+K CTRL+D",
"mac": "CMD+K CMD+D",
"title": "Toggle DevDb Panel"
},
{
"command": "devdb.goto-table",
"key": "CTRL+K CTRL+G",
"mac": "CMD+K CMD+G",
"title": "Go to Table"
}
],
"menus": {
"commandPalette": [
{
"command": "devdb.context-menu.laravel.generate-factory-from-word-under-cursor",
"when": "false"
},
{
"command": "devdb.laravel.generate-factory",
"when": "false"
},
{
"command": "devdb.laravel.explain-query",
"when": "false"
}
],
"editor/context": [
{
"submenu": "devdb.submenu",
"group": "navigation@1"
}
],
"devdb.submenu": [
{
"command": "devdb.context-menu.open-table-at-cursor",
"when": "editorTextFocus",
"group": "1_general@1"
},
{
"command": "devdb.context-menu.laravel.generate-factory-from-word-under-cursor",
"label": "Generate Laravel Factory",
"when": "resourceLangId == php",
"group": "2_laravel@1"
},
{
"command": "devdb.context-menu.laravel.explain-query",
"label": "Explain query",
"when": "resourceLangId == php",
"group": "2_laravel@1"
}
]
},
"submenus": [
{
"id": "devdb.submenu",
"label": "DevDb"
}
],
"configuration": {
"title": "DevDb",
"properties": {
"Devdb.colorTheme": {
"title": "Color Theme",
"type": "string",
"default": "light",
"description": "The color theme for the webview.",
"enum": [
"light",
"dark"
]
},
"Devdb.showDebugInfo": {
"type": "boolean",
"default": false,
"description": "Show debugging information in the console."
},
"Devdb.phpExecutablePath": {
"type": "string",
"default": "php",
"markdownDescription": "Path to PHP executable used for running Laravel Artisan commands. Defaults to 'php' if not specified."
},
"Devdb.enableCodeLensForTextSelection": {
"type": "boolean",
"default": true,
"description": "Enable Code Lens for text selection."
},
"Devdb.showFewerUpdateNotificationActions": {
"type": "boolean",
"default": false,
"markdownDescription": "Show fewer actions on new update notification."
},
"Devdb.customBasePath": {
"type": "string",
"default": "",
"title": "Custom absolute path for zero config",
"markdownDescription": "Custom absolute path to use for zero config instead of defaulting to current workspace path."
},
"Devdb.enableMcpServer": {
"type": "boolean",
"default": true,
"description": "Enable DevDb's local MCP server."
}
}
}
},
"scripts": {
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"build": "cd ui-shell && npm run build && cd .. && npm run compile",
"test": "node ./out/test/runTest.js",
"mocha": "./node_modules/.bin/mocha --bail --require ts-node/register",
"test-services": "./node_modules/.bin/mocha --bail --timeout 30000 --require ts-node/register ./src/test/suite/**/*.test.ts",
"publish": "./publish.sh",
"compile": "npm run check-types && node esbuild.js",
"check-types": "tsc --noEmit",
"watch": "cd ui-shell && npm run watch",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"vscode:prepublish": "npm run package",
"package": "npm run check-types && node esbuild.js --production",
"vsix": "vsce package"
},
"devDependencies": {
"@testcontainers/mssqlserver": "^11.13.0",
"@testcontainers/mysql": "^11.13.0",
"@testcontainers/postgresql": "^11.13.0",
"@types/express": "^5.0.6",
"@types/mocha": "^10.0.10",
"@types/node": "^18.19.130",
"@types/ssh2": "^1.15.5",
"@types/pluralize": "^0.0.33",
"@types/vscode": "~1.83.3",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^8.57.2",
"@typescript-eslint/parser": "^8.57.2",
"@vscode/test-electron": "^2.5.2",
"chokidar-cli": "^3.0.0",
"eslint": "^10.1.0",
"from": "^0.1.7",
"glob": "^11.1.0",
"import": "^0.0.6",
"mocha": "^11.7.5",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.5.14",
"testcontainers": "^11.13.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"winston": "^3.19.0"
},
"dependencies": {
"@azure/app-configuration": "^1.11.0",
"@azure/keyvault-secrets": "^4.10.0",
"@modelcontextprotocol/sdk": "^1.28.0",
"@vscode/sqlite3": "^5.1.12-vscode",
"axios": "^1.13.6",
"better-sqlite3": "^11.10.0",
"case": "^1.6.3",
"cosmiconfig": "^8.3.6",
"csv-parse": "^5.6.0",
"dotenv": "^16.6.1",
"esbuild": "^0.25.12",
"express": "^5.2.1",
"knex": "^3.2.6",
"lru-cache": "^11.2.7",
"mongodb": "^6.21.0",
"mysql": "^2.18.1",
"mysql2": "^3.20.0",
"node-machine-id": "^1.1.12",
"npm-run-all": "^4.1.5",
"oci-common": "^2.126.3",
"oci-objectstorage": "^2.126.3",
"oci-secrets": "^2.126.3",
"oracledb": "^6.10.0",
"pg": "^8.20.0",
"pg-hstore": "^2.3.4",
"pg-query-stream": "^4.14.0",
"php-parser": "^3.5.0",
"pluralize": "^8.0.0",
"sql-formatter": "^13.1.0",
"sqlite3": "^6.0.1",
"tedious": "^18.6.2",
"ssh2": "^1.17.0",
"yaml": "^2.8.3"
},
"overrides": {
"minimatch": "^10.2.3",
"tar": "^7.5.11",
"diff": "^8.0.3",
"flatted": "^3.4.2",
"picomatch": "^4.0.4",
"serialize-javascript": "^7.0.3",
"hono": "^4.12.7",
"express-rate-limit": "^8.2.2"
},
"prettier": {
"plugins": [
"prettier-plugin-tailwindcss"
],
"useTabs": true,
"semi": false,
"printWidth": 165,
"singleQuote": true,
"arrowParens": "avoid"
}
}