Skip to content

Commit

Permalink
Merge pull request #41 from jpt13653903/dependabot/npm_and_yarn/npm-9…
Browse files Browse the repository at this point in the history
…f11dd3af1

build(deps): bump the npm group with 2 updates
  • Loading branch information
jpt13653903 authored Feb 23, 2025
2 parents cfc522a + b2c349e commit f3a8d69
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 25 deletions.
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

0 comments on commit f3a8d69

Please sign in to comment.