sdl-mcp-tree-sitter-java
v1.0.1
Published
sdl-mcp peer-range wrapper around tree-sitter-java. Re-exports upstream unchanged with a permissive tree-sitter peer range (>=0.21.0 <1.0.0) so installs of sdl-mcp avoid ERESOLVE peer-dependency warnings.
Downloads
603
Maintainers
Readme
sdl-mcp-tree-sitter-java
Peer-range wrapper around tree-sitter-java maintained by the sdl-mcp project.
Why this package exists
sdl-mcp aliases tree-sitter to @keqingmoe/[email protected] for Node 24 / C++20 compatibility. Upstream tree-sitter-java declares a narrower peer range that rejects 0.26.x, producing ERESOLVE overriding peer dependency warnings on install. This wrapper re-exports upstream unchanged but widens the peer range so consumers see no warnings.
What it does
const grammar = require("sdl-mcp-tree-sitter-java");
// equivalent to:
const grammar = require("tree-sitter-java");No native compilation happens here — the upstream grammar ships prebuilt .node binaries that are reused transitively.
Pins
- Upstream pin:
~0.23.5 - Wrapper version:
1.0.1 - Peer
tree-sitter:>=0.21.0 <1.0.0(optional)
Bump by editing scripts/scaffold-grammar-wrappers.mjs and re-running.
License
MIT (matches upstream).
