codeviz 0.1.0 → 0.1.1
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 +446 -1
- package/dist/index.d.mts +3168 -5
- package/dist/index.d.ts +3168 -5
- package/dist/index.js +9978 -5
- package/dist/index.mjs +9846 -4
- package/package.json +66 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeviz",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Interactive 2D codebase visualization with hierarchical semantic zoom",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -19,12 +19,22 @@
|
|
|
19
19
|
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
20
20
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
21
21
|
"lint": "eslint src/",
|
|
22
|
+
"lint:fix": "eslint src/ --fix",
|
|
23
|
+
"format": "prettier --write src/",
|
|
24
|
+
"format:check": "prettier --check src/",
|
|
22
25
|
"test": "vitest",
|
|
26
|
+
"test:run": "vitest run",
|
|
27
|
+
"typecheck": "tsc --noEmit",
|
|
23
28
|
"prepublishOnly": "npm run build",
|
|
24
29
|
"release:patch": "npm version patch && git push && git push --tags",
|
|
25
30
|
"release:minor": "npm version minor && git push && git push --tags",
|
|
26
31
|
"release:major": "npm version major && git push && git push --tags",
|
|
27
|
-
"publish:npm": "npm run build && npm publish"
|
|
32
|
+
"publish:npm": "npm run build && npm publish",
|
|
33
|
+
"storybook": "storybook dev -p 6006",
|
|
34
|
+
"build-storybook": "storybook build",
|
|
35
|
+
"docs:api": "typedoc",
|
|
36
|
+
"test:e2e": "playwright test",
|
|
37
|
+
"test:e2e:ui": "playwright test --ui"
|
|
28
38
|
},
|
|
29
39
|
"keywords": [
|
|
30
40
|
"codebase",
|
|
@@ -43,10 +53,63 @@
|
|
|
43
53
|
"url": "https://github.com/alexngai/codeviz/issues"
|
|
44
54
|
},
|
|
45
55
|
"homepage": "https://github.com/alexngai/codeviz#readme",
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@sigma/edge-curve": "^3.1.0",
|
|
58
|
+
"@xyflow/react": "^12.10.0",
|
|
59
|
+
"elkjs": "^0.11.0",
|
|
60
|
+
"graphology": "^0.26.0",
|
|
61
|
+
"graphology-communities-louvain": "^2.0.2",
|
|
62
|
+
"graphology-layout-forceatlas2": "^0.10.1",
|
|
63
|
+
"graphology-layout-noverlap": "^0.4.2",
|
|
64
|
+
"ignore": "^5.3.0",
|
|
65
|
+
"lucide-react": "^0.562.0",
|
|
66
|
+
"sigma": "^3.0.2",
|
|
67
|
+
"tree-sitter": "^0.21.1",
|
|
68
|
+
"tree-sitter-javascript": "^0.21.0",
|
|
69
|
+
"tree-sitter-python": "^0.21.0",
|
|
70
|
+
"tree-sitter-typescript": "^0.21.0",
|
|
71
|
+
"web-tree-sitter": "^0.26.3"
|
|
72
|
+
},
|
|
46
73
|
"devDependencies": {
|
|
74
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
75
|
+
"@eslint/js": "^9.0.0",
|
|
76
|
+
"@playwright/test": "^1.57.0",
|
|
77
|
+
"@storybook/addon-a11y": "^10.1.11",
|
|
78
|
+
"@storybook/addon-docs": "^10.1.11",
|
|
79
|
+
"@storybook/addon-onboarding": "^10.1.11",
|
|
80
|
+
"@storybook/addon-vitest": "^10.1.11",
|
|
81
|
+
"@storybook/react-vite": "^10.1.11",
|
|
82
|
+
"@testing-library/dom": "^10.4.1",
|
|
83
|
+
"@testing-library/react": "^16.3.1",
|
|
84
|
+
"@types/node": "^20.10.0",
|
|
85
|
+
"@types/react": "^18.2.0",
|
|
86
|
+
"@vitest/browser": "^4.0.16",
|
|
87
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
88
|
+
"eslint": "^9.0.0",
|
|
89
|
+
"eslint-plugin-storybook": "^10.1.11",
|
|
90
|
+
"graphology-types": "^0.24.8",
|
|
91
|
+
"jsdom": "^27.4.0",
|
|
92
|
+
"memfs": "^4.6.0",
|
|
93
|
+
"playwright": "^1.57.0",
|
|
94
|
+
"prettier": "^3.2.0",
|
|
95
|
+
"react": "^19.2.3",
|
|
96
|
+
"react-dom": "^19.2.3",
|
|
97
|
+
"storybook": "^10.1.11",
|
|
47
98
|
"tsup": "^8.0.0",
|
|
99
|
+
"typedoc": "^0.28.15",
|
|
100
|
+
"typedoc-plugin-markdown": "^4.9.0",
|
|
48
101
|
"typescript": "^5.3.0",
|
|
49
|
-
"
|
|
102
|
+
"typescript-eslint": "^8.0.0",
|
|
103
|
+
"vitest": "^4.0.16",
|
|
104
|
+
"web-worker": "^1.5.0"
|
|
105
|
+
},
|
|
106
|
+
"peerDependencies": {
|
|
107
|
+
"react": "^18.0.0"
|
|
108
|
+
},
|
|
109
|
+
"peerDependenciesMeta": {
|
|
110
|
+
"react": {
|
|
111
|
+
"optional": true
|
|
112
|
+
}
|
|
50
113
|
},
|
|
51
114
|
"engines": {
|
|
52
115
|
"node": ">=18"
|