dsh-codegraph-visualizer 0.1.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/README.md +223 -0
- package/cordis.patch.yml +17 -0
- package/dist/client/index.css +2404 -0
- package/dist/client/index.esm.js +44283 -0
- package/dist/client/index.js +46706 -0
- package/dist/client-cjs/index.cjs +44283 -0
- package/dist/client-cjs/index.css +2404 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2277 -0
- package/dist/index.js.map +1 -0
- package/package.json +96 -0
package/package.json
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-codegraph-visualizer",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "DSH 代码图谱可视化插件 - 打通 dsh-codegraph/dsh-tool-lens 数据源 → 聚合转换 → 交互式代码图谱",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "DSH Team",
|
|
8
|
+
"engines": {
|
|
9
|
+
"node": ">=22.19 || >=24",
|
|
10
|
+
"pnpm": ">=9"
|
|
11
|
+
},
|
|
12
|
+
"packageManager": "pnpm@9.12.0",
|
|
13
|
+
"main": "dist/index.js",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"sync-version": "node scripts/sync-version.mjs",
|
|
16
|
+
"prebuild": "pnpm run sync-version",
|
|
17
|
+
"build": "tsdown src/index.ts --format esm --dts --outDir dist && pnpm run build:client",
|
|
18
|
+
"build:host": "tsdown src/index.ts --format esm --dts --outDir dist-host --platform node",
|
|
19
|
+
"build:client": "node scripts/build-client.mjs",
|
|
20
|
+
"dev": "node scripts/dev-server.mjs",
|
|
21
|
+
"typecheck": "tsc -p tsconfig.host.json && tsc -p tsconfig.client.json && tsc -p tsconfig.test.json",
|
|
22
|
+
"typecheck:host": "tsc -p tsconfig.host.json",
|
|
23
|
+
"typecheck:client": "tsc -p tsconfig.client.json",
|
|
24
|
+
"typecheck:test": "tsc -p tsconfig.test.json",
|
|
25
|
+
"test": "vitest run",
|
|
26
|
+
"test:coverage": "vitest run --coverage",
|
|
27
|
+
"test:watch": "vitest",
|
|
28
|
+
"test:e2e": "playwright test",
|
|
29
|
+
"test:web": "playwright test --project=chromium",
|
|
30
|
+
"lint": "oxlint src/",
|
|
31
|
+
"lint:fix": "oxlint src/ --fix",
|
|
32
|
+
"hygiene": "publint dist && node scripts/consume-check.mjs",
|
|
33
|
+
"prepublishOnly": "pnpm run build && pnpm run test"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
38
|
+
"@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
|
|
39
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
40
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
44
|
+
"@deepseek-ai/dsh-llm": "0.1.1-rc.2",
|
|
45
|
+
"@deepseek-ai/dsh-session": "0.1.1-rc.2",
|
|
46
|
+
"@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
|
|
47
|
+
"@playwright/test": "^1.62.1",
|
|
48
|
+
"@types/node": "^22.10.0",
|
|
49
|
+
"@types/react": "^19.0.0",
|
|
50
|
+
"@types/react-dom": "^19.2.5",
|
|
51
|
+
"@vitejs/plugin-react": "^4.3.0",
|
|
52
|
+
"@vitest/coverage-v8": "^3.0.0",
|
|
53
|
+
"cytoscape": "^3.26.0",
|
|
54
|
+
"cytoscape-dagre": "^2.5.0",
|
|
55
|
+
"oxlint": "^1.80.0",
|
|
56
|
+
"playwright": "^1.50.0",
|
|
57
|
+
"react-dom": "^19.2.8",
|
|
58
|
+
"tsdown": "^0.10.0",
|
|
59
|
+
"typescript": "^5.7.0",
|
|
60
|
+
"vitest": "^3.0.0",
|
|
61
|
+
"zustand": "^5.0.0"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"dsh",
|
|
65
|
+
"codegraph",
|
|
66
|
+
"visualizer",
|
|
67
|
+
"cytoscape",
|
|
68
|
+
"code-analysis"
|
|
69
|
+
],
|
|
70
|
+
"files": [
|
|
71
|
+
"dist",
|
|
72
|
+
"cordis.patch.yml"
|
|
73
|
+
],
|
|
74
|
+
"exports": {
|
|
75
|
+
".": {
|
|
76
|
+
"types": "./dist/index.d.ts",
|
|
77
|
+
"import": "./dist/index.js"
|
|
78
|
+
},
|
|
79
|
+
"./client": {
|
|
80
|
+
"default": "./dist/client/index.js"
|
|
81
|
+
},
|
|
82
|
+
"./package.json": "./package.json"
|
|
83
|
+
},
|
|
84
|
+
"dsh": {
|
|
85
|
+
"bundle": {
|
|
86
|
+
"patch": "./cordis.patch.yml"
|
|
87
|
+
},
|
|
88
|
+
"client": {
|
|
89
|
+
"platform": "web",
|
|
90
|
+
"inject": [
|
|
91
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
92
|
+
"@deepseek-ai/dsh-client-connection"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|