Open szclentfort opened 3 months ago
Notes on how I got this to run:
./vendor/tree-sitter-hcl-1.1.0/
in my projecttree-sitter generate
in vendor/tree-sitter-hcl-1.1.0/
. This updates binding.gyp
binding.gyp
to include "src/scanner.css"
in the sources
-array"tree-sitter-hcl": "./vendor/tree-sitter-hcl-1.1.0/"
to my dependencies
in package.json
npm i
I think despite the name it's somewhat related to https://github.com/tree-sitter-grammars/tree-sitter-hcl/pull/52. We should have some actions to upload to npm and other package repositories. Cc @clason
Yes. Upstream is working on it.
We do have actions to upload to npm other package repositories.
Is your feature request related to a problem? Please describe. I would like to use the hcl grammar from a nodejs project. However, it is not published to NPM and I need to set up a full build chain to build the project locally, which I'd like to avoid
Describe the solution you'd like Have the package available from npmjs as
tree-sitter-hcl
Describe alternatives you've considered Building the grammar locally