tree-sitter/crates/cli/src/templates
ObserverOfTime f222db57ce fix(bindings): fix ESM errors in Node bindings
1. The module tries to call the native binary as a function.

Only `node-gyp-build` returns a function, so the call is moved there.

2. `node-types.json` is imported with outdated syntax.

Use import attributes which require Node 18.

3. The test does not properly catch import errors.

This is solved by moving the import inside the assertion.
2025-09-18 16:59:34 -04:00
..
.editorconfig Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
__init__.py Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
__init__.pyi feat(bindings): use CapsuleType in Python stub 2025-09-14 19:00:25 -04:00
_cargo.toml fix(bindings): only include top level LICENSE file 2025-07-25 13:21:14 +03:00
binding.go Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
binding.gyp Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
binding_test.go Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
binding_test.js fix(bindings): fix ESM errors in Node bindings 2025-09-18 16:59:34 -04:00
build.rs feat: support compiling to wasm32-unknown-unknown 2025-09-17 04:57:49 -04:00
build.zig fix(bindings): improve zig dependency fetching logic 2025-08-28 10:31:24 +03:00
build.zig.zon fix(bindings): update zig template files (#4637) 2025-08-09 10:18:07 +03:00
cmakelists.cmake feat(bindings): generate in 2 steps via make/cmake (#4646) 2025-08-02 11:57:29 +03:00
gitattributes fix(bindings): update swift & node dependencies (#4432) 2025-06-07 11:41:07 -07:00
gitignore fix(bindings): don't ignore lockfiles 2025-08-13 22:51:12 +03:00
go.mod Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
grammar.js feat: migrate to ESM 2025-09-16 02:24:11 -04:00
index.d.ts Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
index.js fix(bindings): fix ESM errors in Node bindings 2025-09-18 16:59:34 -04:00
js-binding.cc Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
lib.rs fix(bindings): use parser title in lib.rs description 2025-07-25 13:19:03 +03:00
makefile fix(bindings): fix clean makefile target 2025-08-09 14:41:22 +03:00
package.json feat: migrate to ESM 2025-09-16 02:24:11 -04:00
package.swift fix(bindings): update swift & node dependencies (#4432) 2025-06-07 11:41:07 -07:00
PARSER_NAME.h Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
PARSER_NAME.pc.in Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
py-binding.c Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
pyproject.toml fix(cli): require correct setuptools version 2025-06-27 14:10:30 +02:00
root.zig fix(bindings): update zig template files (#4637) 2025-08-09 10:18:07 +03:00
setup.py fix(bindings): properly detect MSVC compiler 2025-08-29 13:32:55 +03:00
test.zig fix(bindings): update zig template files (#4637) 2025-08-09 10:18:07 +03:00
test_binding.py feat(bindings): improve python binding test 2025-07-25 13:22:49 +03:00
tests.swift Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00