Skip to content

Commit

Permalink
yarn: update to use yarn 4 (berry)
Browse files Browse the repository at this point in the history
  • Loading branch information
xTVaser committed Dec 19, 2023
1 parent 764b8c7 commit c939792
Show file tree
Hide file tree
Showing 5 changed files with 425 additions and 486 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:

- name: Install Dependencies and Run Tests
run: |
yarn set version stable
yarn set version berry
yarn install --immutable
yarn test
generate:
name: Ensure Generated
runs-on: ubuntu-latest
Expand All @@ -44,7 +45,7 @@ jobs:

- name: Install Dependencies and Generate
run: |
yarn set version stable
yarn set version berry
yarn install --immutable
cp -r ./src ./src.current
yarn gen
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ package-lock.json
*.exp
src.current/
.yarn/
.yarnrc.yml
1 change: 0 additions & 1 deletion .yarnrc.yml

This file was deleted.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"description": "A tree sitter parser for the OpenGOAL language",
"main": "bindings/node",
"scripts": {
"gen": "npx tree-sitter generate",
"test": "npx tree-sitter test",
"parse-sample": "npx tree-sitter parse test/samples/sample.gc",
"parse-test": "npx tree-sitter parse test/samples/test.gc"
"gen": "yarn tree-sitter generate",
"test": "yarn tree-sitter test",
"parse-sample": "yarn tree-sitter parse test/samples/sample.gc",
"parse-test": "yarn tree-sitter parse test/samples/test.gc"
},
"repository": {
"type": "git",
Expand All @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/open-goal/tree-sitter-opengoal#readme",
"dependencies": {
"nan": "^2.17.0"
"nan": "^2.18.0"
},
"devDependencies": {
"tree-sitter-cli": "^0.20.8"
Expand Down
Loading

0 comments on commit c939792

Please sign in to comment.