diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md index ad5a82f8..d9c9bd73 100644 --- a/DEPENDENCIES.md +++ b/DEPENDENCIES.md @@ -1,7 +1,7 @@ # Dependencies ``` -@optave/codegraph@2.0.0 H:\Vscode\codegraph +@optave/codegraph@2.1.0 /home/runner/work/codegraph/codegraph ├─┬ @huggingface/transformers@3.8.1 │ ├── @huggingface/jinja@0.5.5 │ ├─┬ onnxruntime-node@1.21.0 @@ -71,21 +71,23 @@ │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-libvips-linux-ppc64@1.2.4 │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-libvips-linux-riscv64@1.2.4 │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-libvips-linux-s390x@1.2.4 -│ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-libvips-linux-x64@1.2.4 +│ ├── @img/sharp-libvips-linux-x64@1.2.4 │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-libvips-linuxmusl-arm64@1.2.4 -│ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-libvips-linuxmusl-x64@1.2.4 +│ ├── @img/sharp-libvips-linuxmusl-x64@1.2.4 │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-linux-arm@0.34.5 │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-linux-arm64@0.34.5 │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-linux-ppc64@0.34.5 │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-linux-riscv64@0.34.5 │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-linux-s390x@0.34.5 -│ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-linux-x64@0.34.5 +│ ├─┬ @img/sharp-linux-x64@0.34.5 +│ │ └── @img/sharp-libvips-linux-x64@1.2.4 deduped │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-linuxmusl-arm64@0.34.5 -│ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-linuxmusl-x64@0.34.5 +│ ├─┬ @img/sharp-linuxmusl-x64@0.34.5 +│ │ └── @img/sharp-libvips-linuxmusl-x64@1.2.4 deduped │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-wasm32@0.34.5 │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-win32-arm64@0.34.5 │ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-win32-ia32@0.34.5 -│ ├── @img/sharp-win32-x64@0.34.5 +│ ├── UNMET OPTIONAL DEPENDENCY @img/sharp-win32-x64@0.34.5 │ ├── detect-libc@2.1.2 │ └── semver@7.7.4 ├─┬ @modelcontextprotocol/sdk@1.26.0 @@ -246,10 +248,10 @@ │ ├─┬ zod-to-json-schema@3.25.1 │ │ └── zod@4.3.6 deduped │ └── zod@4.3.6 -├── UNMET OPTIONAL DEPENDENCY @optave/codegraph-darwin-arm64@2.0.0 -├── UNMET OPTIONAL DEPENDENCY @optave/codegraph-darwin-x64@2.0.0 -├── UNMET OPTIONAL DEPENDENCY @optave/codegraph-linux-x64-gnu@2.0.0 -├── UNMET OPTIONAL DEPENDENCY @optave/codegraph-win32-x64-msvc@2.0.0 +├── UNMET OPTIONAL DEPENDENCY @optave/codegraph-darwin-arm64@2.1.0 +├── UNMET OPTIONAL DEPENDENCY @optave/codegraph-darwin-x64@2.1.0 +├── @optave/codegraph-linux-x64-gnu@2.0.0 invalid: "2.1.0" from the root project +├── UNMET OPTIONAL DEPENDENCY @optave/codegraph-win32-x64-msvc@2.1.0 ├─┬ better-sqlite3@12.6.2 │ ├─┬ bindings@1.5.0 │ │ └── file-uri-to-path@1.0.0 diff --git a/artifacts/native-darwin-arm64/codegraph-core.node b/artifacts/native-darwin-arm64/codegraph-core.node new file mode 100644 index 00000000..0e1de4b9 Binary files /dev/null and b/artifacts/native-darwin-arm64/codegraph-core.node differ diff --git a/artifacts/native-darwin-x64/codegraph-core.node b/artifacts/native-darwin-x64/codegraph-core.node new file mode 100644 index 00000000..90731e5d Binary files /dev/null and b/artifacts/native-darwin-x64/codegraph-core.node differ diff --git a/artifacts/native-linux-x64/codegraph-core.node b/artifacts/native-linux-x64/codegraph-core.node new file mode 100644 index 00000000..ac38a70f Binary files /dev/null and b/artifacts/native-linux-x64/codegraph-core.node differ diff --git a/artifacts/native-win32-x64/codegraph-core.node b/artifacts/native-win32-x64/codegraph-core.node new file mode 100644 index 00000000..7e266e59 Binary files /dev/null and b/artifacts/native-win32-x64/codegraph-core.node differ diff --git a/package-lock.json b/package-lock.json index 5c88a68f..13c55c49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@optave/codegraph", - "version": "1.4.0", + "version": "2.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@optave/codegraph", - "version": "1.4.0", + "version": "2.1.0", "license": "Apache-2.0", "dependencies": { "better-sqlite3": "^12.6.2", diff --git a/package.json b/package.json index 756ce7cb..fcbb7462 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@optave/codegraph", - "version": "2.0.0", + "version": "2.1.0", "description": "Local code graph CLI — parse codebases with tree-sitter, build dependency graphs, query them", "type": "module", "main": "src/index.js", @@ -33,8 +33,7 @@ "deps:tree": "node scripts/gen-deps.cjs", "release": "commit-and-tag-version", "release:dry-run": "commit-and-tag-version --dry-run", - "version": "node scripts/sync-native-versions.js && git add package.json", - "prepublishOnly": "npm test" + "version": "node scripts/sync-native-versions.js && git add package.json" }, "keywords": [ "codegraph", @@ -62,19 +61,19 @@ "optionalDependencies": { "@huggingface/transformers": "^3.8.1", "@modelcontextprotocol/sdk": "^1.0.0", - "@optave/codegraph-darwin-arm64": "2.0.0", - "@optave/codegraph-darwin-x64": "2.0.0", - "@optave/codegraph-linux-x64-gnu": "2.0.0", - "@optave/codegraph-win32-x64-msvc": "2.0.0" + "@optave/codegraph-darwin-arm64": "2.1.0", + "@optave/codegraph-darwin-x64": "2.1.0", + "@optave/codegraph-linux-x64-gnu": "2.1.0", + "@optave/codegraph-win32-x64-msvc": "2.1.0" }, "devDependencies": { "@biomejs/biome": "^2.4.4", "@commitlint/cli": "^19.8", "@commitlint/config-conventional": "^19.8", - "commit-and-tag-version": "^12.5", - "husky": "^9.1", "@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0", "@vitest/coverage-v8": "^4.0.18", + "commit-and-tag-version": "^12.5", + "husky": "^9.1", "tree-sitter-c-sharp": "^0.23.1", "tree-sitter-cli": "^0.26.5", "tree-sitter-go": "^0.23.4", diff --git a/pkg/darwin-arm64/codegraph-core.node b/pkg/darwin-arm64/codegraph-core.node new file mode 100644 index 00000000..0e1de4b9 Binary files /dev/null and b/pkg/darwin-arm64/codegraph-core.node differ diff --git a/pkg/darwin-arm64/package.json b/pkg/darwin-arm64/package.json new file mode 100644 index 00000000..7c475e42 --- /dev/null +++ b/pkg/darwin-arm64/package.json @@ -0,0 +1,14 @@ +{ + "name": "@optave/codegraph-darwin-arm64", + "version": "2.1.0", + "description": "Native codegraph-core binary for darwin-arm64", + "os": ["darwin"], + "cpu": ["arm64"], + "main": "codegraph-core.node", + "files": ["codegraph-core.node"], + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/optave/codegraph.git" + } +} diff --git a/pkg/darwin-x64/codegraph-core.node b/pkg/darwin-x64/codegraph-core.node new file mode 100644 index 00000000..90731e5d Binary files /dev/null and b/pkg/darwin-x64/codegraph-core.node differ diff --git a/pkg/darwin-x64/package.json b/pkg/darwin-x64/package.json new file mode 100644 index 00000000..08e20286 --- /dev/null +++ b/pkg/darwin-x64/package.json @@ -0,0 +1,14 @@ +{ + "name": "@optave/codegraph-darwin-x64", + "version": "2.1.0", + "description": "Native codegraph-core binary for darwin-x64", + "os": ["darwin"], + "cpu": ["x64"], + "main": "codegraph-core.node", + "files": ["codegraph-core.node"], + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/optave/codegraph.git" + } +} diff --git a/pkg/linux-x64/codegraph-core.node b/pkg/linux-x64/codegraph-core.node new file mode 100644 index 00000000..ac38a70f Binary files /dev/null and b/pkg/linux-x64/codegraph-core.node differ diff --git a/pkg/linux-x64/package.json b/pkg/linux-x64/package.json new file mode 100644 index 00000000..fb70915c --- /dev/null +++ b/pkg/linux-x64/package.json @@ -0,0 +1,14 @@ +{ + "name": "@optave/codegraph-linux-x64-gnu", + "version": "2.1.0", + "description": "Native codegraph-core binary for linux-x64", + "os": ["linux"], + "cpu": ["x64"], + "main": "codegraph-core.node", + "files": ["codegraph-core.node"], + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/optave/codegraph.git" + } +} diff --git a/pkg/win32-x64/codegraph-core.node b/pkg/win32-x64/codegraph-core.node new file mode 100644 index 00000000..7e266e59 Binary files /dev/null and b/pkg/win32-x64/codegraph-core.node differ diff --git a/pkg/win32-x64/package.json b/pkg/win32-x64/package.json new file mode 100644 index 00000000..114932db --- /dev/null +++ b/pkg/win32-x64/package.json @@ -0,0 +1,14 @@ +{ + "name": "@optave/codegraph-win32-x64-msvc", + "version": "2.1.0", + "description": "Native codegraph-core binary for win32-x64", + "os": ["win32"], + "cpu": ["x64"], + "main": "codegraph-core.node", + "files": ["codegraph-core.node"], + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/optave/codegraph.git" + } +}