docs: update Node.js requirement to match CI configuration

- Change Node.js requirement from v16 to v22+ to align with CI matrix
- Update tree-sitter CLI recommendation from global install to npx usage
- Matches actual devDependency configuration in package.json

Addresses PR #1 review comment from CodeRabbit.
This commit is contained in:
2025-11-25 23:30:00 +02:00
parent dd2b306852
commit 59b45f8505

View File

@@ -17,8 +17,8 @@ Thank you for your interest in contributing to tree-sitter-shellspec! This docum
### Prerequisites
- [Node.js](https://nodejs.org/) (v16 or later)
- [Tree-sitter CLI](https://github.com/tree-sitter/tree-sitter/tree/master/cli): `npm install -g tree-sitter-cli`
- [Node.js](https://nodejs.org/) (v22 or later)
- Tree-sitter CLI (provided via devDependency) — use `npx tree-sitter <cmd>`
- [Git](https://git-scm.com/)
- Basic knowledge of [Tree-sitter grammars](https://tree-sitter.github.io/tree-sitter/creating-parsers)
- Familiarity with [ShellSpec](https://shellspec.info/) syntax