Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump the npm group with 2 updates #41

Merged
merged 3 commits into from
Feb 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ binding.gyp linguist-generated
setup.py linguist-generated
Makefile linguist-generated
Package.swift linguist-generated

# Zig bindings
build.zig linguist-generated
build.zig.zon linguist-generated
22 changes: 11 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
.vs
.vscode
*.bak
*.swp
~*
diff.log
debug.log

# Rust artifacts
Cargo.lock
target/

# Node artifacts
build/
prebuilds/
node_modules/
*.tgz

# Swift artifacts
.build/

# Go artifacts
go.sum
_obj/

# Python artifacts
Expand All @@ -36,6 +25,13 @@ dist/
*.dylib
*.dll
*.pc
*.exp
*.lib

# Zig artifacts
.zig-cache/
zig-cache/
zig-out/

# Example dirs
/examples/*/
Expand All @@ -45,3 +41,7 @@ dist/
*.obj
*.o

# Archives
*.tar.gz
*.tgz
*.zip
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ tree-sitter-language = "0.1"
cc = "1.2"

[dev-dependencies]
tree-sitter = "0.25.1"
tree-sitter = "0.25.2"
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"*.wasm"
],
"dependencies": {
"node-addon-api": "^8.3.0",
"node-addon-api": "^8.3.1",
"node-gyp-build": "^4.8.4"
},
"devDependencies": {
"prebuildify": "^6.0.1",
"tree-sitter-cli": "^0.25.1"
"tree-sitter-cli": "^0.25.2"
},
"peerDependencies": {
"tree-sitter": "^0.21.1"
Expand Down
2 changes: 1 addition & 1 deletion src/parser.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions update_bindings.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export CC=gcc

rm -rf bindings build node_modules binding.gyp CMakeLists.txt Cargo.toml \
Makefile Package.swift binding.gyp go.mod setup.py

npm install --save-dev tree-sitter-cli

node_modules/.bin/tree-sitter init --update
node_modules/.bin/tree-sitter generate --abi 14 && tree-sitter test --show-fields

Loading