@elkindev/dbgraph 1.0.0
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/LICENSE +21 -0
- package/README.md +317 -0
- package/dist/chunk-2ESYSVXG.js +48 -0
- package/dist/chunk-CK6XTW3E.js +31 -0
- package/dist/chunk-JN26WCE7.js +231 -0
- package/dist/chunk-PQBJ4PR5.js +7994 -0
- package/dist/chunk-PXNV4PMV.js +3790 -0
- package/dist/chunk-TH4OVS4W.js +119 -0
- package/dist/cli.js +1827 -0
- package/dist/connectivity-outcome-GLCSH4UL.js +7 -0
- package/dist/errors-IVGCGSZR.js +31 -0
- package/dist/esm-WVQHRQ3J.js +5195 -0
- package/dist/index.cjs +125968 -0
- package/dist/index.d.cts +2692 -0
- package/dist/index.d.ts +2692 -0
- package/dist/index.js +8230 -0
- package/dist/lib-HSEC5IHY.js +32422 -0
- package/dist/mcp.js +7886 -0
- package/dist/mysql2-JRR5EBJC.js +15624 -0
- package/dist/open-WLBPYZLW.js +602 -0
- package/dist/parse-config-5TLAZCR3.js +8 -0
- package/dist/src-5YCYYWGV.js +147 -0
- package/dist/tedious-3WZBQM6C.js +59836 -0
- package/package.json +72 -0
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@elkindev/dbgraph",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Database schema graph for AI agents — index your database catalog into a local graph, served over MCP",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=22"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"require": "./dist/index.cjs"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"bin": {
|
|
24
|
+
"dbgraph": "./dist/cli.js",
|
|
25
|
+
"dbgraph-mcp": "./dist/mcp.js"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsup",
|
|
29
|
+
"test": "vitest run",
|
|
30
|
+
"test:integration": "vitest run --config vitest.integration.config.ts",
|
|
31
|
+
"test:watch": "vitest",
|
|
32
|
+
"bundle:sea": "node scripts/sea/build-bundle.mjs",
|
|
33
|
+
"build:sea:win": "powershell -ExecutionPolicy Bypass -File scripts/sea/build-sea.ps1",
|
|
34
|
+
"build:sea:linux": "node scripts/sea/build-linux-docker.mjs",
|
|
35
|
+
"smoke:binary": "vitest run --config vitest.smoke.config.ts",
|
|
36
|
+
"lint": "eslint .",
|
|
37
|
+
"format": "prettier --write .",
|
|
38
|
+
"hooks:install": "git config core.hooksPath scripts/git-hooks"
|
|
39
|
+
},
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/ElkinDev/dbgraph.git"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/ElkinDev/dbgraph#readme",
|
|
45
|
+
"bugs": {
|
|
46
|
+
"url": "https://github.com/ElkinDev/dbgraph/issues"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@modelcontextprotocol/sdk": "1.29.0",
|
|
50
|
+
"better-sqlite3": "12.11.1"
|
|
51
|
+
},
|
|
52
|
+
"optionalDependencies": {
|
|
53
|
+
"mongodb": "^7.3.0",
|
|
54
|
+
"mssql": "12.6.0",
|
|
55
|
+
"mysql2": "^3.22.5",
|
|
56
|
+
"pg": "^8.22.0"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@eslint/js": "^10.0.1",
|
|
60
|
+
"@types/better-sqlite3": "7.6.13",
|
|
61
|
+
"@types/node": "^26.1.0",
|
|
62
|
+
"esbuild": "^0.28.1",
|
|
63
|
+
"eslint": "^10.5.0",
|
|
64
|
+
"postject": "^1.0.0-alpha.6",
|
|
65
|
+
"prettier": "^3.9.4",
|
|
66
|
+
"testcontainers": "12.0.3",
|
|
67
|
+
"tsup": "^8.5.1",
|
|
68
|
+
"typescript": "^6.0.3",
|
|
69
|
+
"typescript-eslint": "^8.63.0",
|
|
70
|
+
"vitest": "^4.1.9"
|
|
71
|
+
}
|
|
72
|
+
}
|