sdl-mcp-tree-sitter-bash
v1.0.1
Published
sdl-mcp peer-range wrapper around tree-sitter-bash. 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.
Maintainers
Readme
sdl-mcp-tree-sitter-bash
Peer-range wrapper around tree-sitter-bash 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-bash 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-bash");
// equivalent to:
const grammar = require("tree-sitter-bash");No native compilation happens here — the upstream grammar ships prebuilt .node binaries that are reused transitively.
Pins
- Upstream pin:
~0.25.1 - 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).
