Skip to content

Commit

Permalink
build: update bindings and versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Mar 7, 2024
1 parent 03e88c1 commit c85131f
Show file tree
Hide file tree
Showing 10 changed files with 85 additions and 47 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tree-sitter-python"
description = "Python grammar for tree-sitter"
version = "0.20.4"
version = "0.21.0"
authors = [
"Max Brunsfeld <[email protected]>",
"Amaan Qureshi <[email protected]>",
Expand Down
12 changes: 10 additions & 2 deletions Makefile

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

6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ let package = Package(
".github",
".gitignore",
".gitattributes",
".gitmodules",
],
sources: [
"src/parser.c",
// NOTE: if your language has an external scanner, add it here.
"src/scanner.c",
],
resources: [
.copy("queries")
],
publicHeadersPath: "bindings/swift",
cSettings: [.headerSearchPath("src")])
]
],
cLanguageStandard: .c11
)
7 changes: 3 additions & 4 deletions binding.gyp

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

2 changes: 1 addition & 1 deletion bindings/go/binding.go

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

35 changes: 13 additions & 22 deletions bindings/node/binding.cc

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

28 changes: 28 additions & 0 deletions bindings/node/index.d.ts

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

19 changes: 11 additions & 8 deletions package-lock.json

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

19 changes: 14 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
{
"name": "tree-sitter-python",
"version": "0.20.4",
"version": "0.21.0",
"description": "Python grammar for tree-sitter",
"main": "bindings/node",
"types": "bindings/node",
"files": [
"grammar.js",
"binding.gyp",
"bindings/node/*",
"queries/*",
"src/**"
],
"keywords": [
"parser",
"lexer",
"incremental",
"parsing",
"tree-sitter",
"python"
],
"author": "Max Brunsfeld",
"license": "MIT",
"dependencies": {
"nan": "^2.18.0"
"node-addon-api": "^7.1.0"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-google": "^0.14.0",
"tree-sitter-cli": "^0.21.0"
},
"scripts": {
"build": "tree-sitter generate && node-gyp build",
"build": "tree-sitter generate --no-bindings",
"lint": "eslint grammar.js",
"parse": "tree-sitter parse",
"test": "tree-sitter test"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "tree-sitter-python"
description = "Python grammar for tree-sitter"
version = "0.0.1"
version = "0.21.0"
keywords = ["parsing", "incremental", "python"]
classifiers = [
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit c85131f

Please sign in to comment.