Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
razzeee committed Nov 3, 2024
1 parent 27f502e commit 28f1046
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 21 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
- run: npm i
- run: npm run build
- run: npm run test-only
Expand All @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: https://registry.npmjs.org/
- run: npm i
- run: npm run build
Expand All @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: https://npm.pkg.github.com/
- run: npm i
- run: npm run build
Expand All @@ -50,15 +50,15 @@ jobs:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

publish:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Publish package
run: npx jsr publish
needs: build
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4

- name: Publish package
run: npx jsr publish
2 changes: 1 addition & 1 deletion .github/workflows/test-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node-version: [18, 20]
node-version: [20, 22]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node-version: [18, 20]
node-version: [20, 22]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-lsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node-version: [18, 20]
node-version: [20, 22]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ version = "5.7.0"
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = "0.20.10"
tree-sitter = "0.24.3"

[build-dependencies]
cc = "1.0"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"author": "Razze",
"license": "MIT",
"dependencies": {
"nan": "^2.18.0"
"nan": "^2.22.0"
},
"devDependencies": {
"tree-sitter-cli": "^0.20.8"
"tree-sitter-cli": "^0.24.3"
},
"scripts": {
"build": "tree-sitter generate",
Expand Down
38 changes: 38 additions & 0 deletions tree-sitter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"grammars": [
{
"name": "elm",
"camelcase": "Elm",
"scope": "source.elm",
"path": ".",
"file-types": [
"elm"
],
"highlights": "queries/highlights.scm",
"tags": "queries/tags.scm",
"injection-regex": "queries/injections.scm"
}
],
"metadata": {
"version": "5.7.0",
"license": "MIT",
"description": "Tree sitter definitions for elm",
"authors": [
{
"name": "Kolja Lampe",
"email": "razzeee@gmail.com"
}
],
"links": {
"repository": "https://github.com/elm-tooling/tree-sitter-elm"
}
},
"bindings": {
"c": true,
"go": true,
"node": true,
"python": true,
"rust": true,
"swift": true
}
}

0 comments on commit 28f1046

Please sign in to comment.