@optave/codegraph 1.1.0 → 1.3.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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,69 +1,90 @@
1
- {
2
- "name": "@optave/codegraph",
3
- "version": "1.1.0",
4
- "description": "Local code graph CLI — parse codebases with tree-sitter, build dependency graphs, query them",
5
- "type": "module",
6
- "main": "src/index.js",
7
- "exports": {
8
- ".": {
9
- "import": "./src/index.js"
10
- }
11
- },
12
- "bin": {
13
- "codegraph": "./src/cli.js"
14
- },
15
- "files": [
16
- "src/",
17
- "grammars/",
18
- "LICENSE",
19
- "README.md"
20
- ],
21
- "engines": {
22
- "node": ">=20"
23
- },
24
- "scripts": {
25
- "build:wasm": "node scripts/build-wasm.js",
26
- "test": "vitest run",
27
- "test:watch": "vitest",
28
- "test:coverage": "vitest run --coverage",
29
- "lint": "echo \"No linter configured yet\"",
30
- "prepublishOnly": "npm test"
31
- },
32
- "keywords": [
33
- "codegraph",
34
- "dependency-graph",
35
- "code-analysis",
36
- "tree-sitter",
37
- "static-analysis",
38
- "call-graph",
39
- "impact-analysis",
40
- "mcp"
41
- ],
42
- "repository": {
43
- "type": "git",
44
- "url": "https://github.com/optave/codegraph.git"
45
- },
46
- "bugs": {
47
- "url": "https://github.com/optave/codegraph/issues"
48
- },
49
- "homepage": "https://github.com/optave/codegraph#readme",
50
- "dependencies": {
51
- "better-sqlite3": "^11.0.0",
52
- "commander": "^12.0.0",
53
- "web-tree-sitter": "^0.26.5"
54
- },
55
- "optionalDependencies": {
56
- "@huggingface/transformers": "^3.8.1",
57
- "@modelcontextprotocol/sdk": "^1.0.0"
58
- },
59
- "devDependencies": {
60
- "@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",
61
- "@vitest/coverage-v8": "^4.0.18",
62
- "tree-sitter-cli": "^0.26.5",
63
- "tree-sitter-javascript": "^0.23.1",
64
- "tree-sitter-python": "^0.23.6",
65
- "tree-sitter-typescript": "^0.23.2",
66
- "vitest": "^4.0.18"
67
- },
68
- "license": "Apache-2.0"
69
- }
1
+ {
2
+ "name": "@optave/codegraph",
3
+ "version": "1.3.0",
4
+ "description": "Local code graph CLI — parse codebases with tree-sitter, build dependency graphs, query them",
5
+ "type": "module",
6
+ "main": "src/index.js",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./src/index.js"
10
+ }
11
+ },
12
+ "bin": {
13
+ "codegraph": "./src/cli.js"
14
+ },
15
+ "files": [
16
+ "src/",
17
+ "grammars/",
18
+ "LICENSE",
19
+ "README.md"
20
+ ],
21
+ "engines": {
22
+ "node": ">=20"
23
+ },
24
+ "scripts": {
25
+ "build:wasm": "node scripts/build-wasm.js",
26
+ "test": "vitest run",
27
+ "test:watch": "vitest",
28
+ "test:coverage": "vitest run --coverage",
29
+ "lint": "biome check src/ tests/",
30
+ "lint:fix": "biome check --write src/ tests/",
31
+ "format": "biome format --write src/ tests/",
32
+ "prepare": "npm run build:wasm && husky",
33
+ "release": "commit-and-tag-version",
34
+ "release:dry-run": "commit-and-tag-version --dry-run",
35
+ "version": "node scripts/sync-native-versions.js && git add package.json",
36
+ "prepublishOnly": "npm test"
37
+ },
38
+ "keywords": [
39
+ "codegraph",
40
+ "dependency-graph",
41
+ "code-analysis",
42
+ "tree-sitter",
43
+ "static-analysis",
44
+ "call-graph",
45
+ "impact-analysis",
46
+ "mcp"
47
+ ],
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/optave/codegraph.git"
51
+ },
52
+ "bugs": {
53
+ "url": "https://github.com/optave/codegraph/issues"
54
+ },
55
+ "homepage": "https://github.com/optave/codegraph#readme",
56
+ "dependencies": {
57
+ "better-sqlite3": "^12.6.2",
58
+ "commander": "^14.0.3",
59
+ "web-tree-sitter": "^0.26.5"
60
+ },
61
+ "optionalDependencies": {
62
+ "@huggingface/transformers": "^3.8.1",
63
+ "@modelcontextprotocol/sdk": "^1.0.0",
64
+ "@optave/codegraph-darwin-arm64": "1.3.0",
65
+ "@optave/codegraph-darwin-x64": "1.3.0",
66
+ "@optave/codegraph-linux-x64-gnu": "1.3.0",
67
+ "@optave/codegraph-win32-x64-msvc": "1.3.0"
68
+ },
69
+ "devDependencies": {
70
+ "@biomejs/biome": "^2.4.4",
71
+ "@commitlint/cli": "^19.8",
72
+ "@commitlint/config-conventional": "^19.8",
73
+ "commit-and-tag-version": "^12.5",
74
+ "husky": "^9.1",
75
+ "@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",
76
+ "@vitest/coverage-v8": "^4.0.18",
77
+ "tree-sitter-c-sharp": "^0.23.1",
78
+ "tree-sitter-cli": "^0.26.5",
79
+ "tree-sitter-go": "^0.23.4",
80
+ "tree-sitter-java": "^0.23.5",
81
+ "tree-sitter-javascript": "^0.25.0",
82
+ "tree-sitter-php": "^0.24.2",
83
+ "tree-sitter-python": "^0.25.0",
84
+ "tree-sitter-ruby": "^0.23.1",
85
+ "tree-sitter-rust": "^0.24.0",
86
+ "tree-sitter-typescript": "^0.23.2",
87
+ "vitest": "^4.0.18"
88
+ },
89
+ "license": "Apache-2.0"
90
+ }