Skip to content

Commit

Permalink
Added postinstall for langium:generate, aligned node 18 env and updat…
Browse files Browse the repository at this point in the history
…ed some dependencies (#14)

* Added postinstall for langium:generate, aligned node 18 env and updated some dependencies
* Use correct vscode types
* Add GitHub Actions
  • Loading branch information
kaisalmen authored Oct 11, 2024
1 parent 261fe3c commit cbdf797
Show file tree
Hide file tree
Showing 7 changed files with 1,113 additions and 1,374 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,13 @@ indent_size = 4
end_of_line = lf
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[*.json]
indent_size = 2

[*.md]
indent_size = 2

[*.yml]
indent_size = 2
44 changes: 44 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build

on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
branches:
- main
workflow_dispatch:

jobs:
build:
name: monaco-languageclient
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Volta
uses: volta-cli/action@v4

- name: Install
shell: bash
run: |
npm ci
- name: Build
shell: bash
run: |
npm run build
- name: Lint
shell: bash
run: |
npm run lint
- name: Test
shell: bash
run: |
npm run test:run
12 changes: 6 additions & 6 deletions examples/lox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"vscode": "^1.67.0"
},
"volta": {
"node": "18.17.1",
"npm": "9.6.7"
"node": "18.20.4",
"npm": "10.7.0"
},
"scripts": {
"build": "tsc -b tsconfig.json && node esbuild.mjs",
Expand All @@ -27,15 +27,15 @@
"watch": "concurrently -n tsc,esbuild -c blue,yellow \"tsc -b tsconfig.json --watch\" \"node esbuild.mjs --watch\""
},
"dependencies": {
"commander": "~11.0.0",
"langium": "^3.2.0",
"commander": "~12.1.0",
"langium": "~3.2.0",
"typir": "~0.0.1",
"vscode": "^1.1.37",
"vscode-languageclient": "~9.0.1",
"vscode-languageserver": "~9.0.1"
},
"devDependencies": {
"langium-cli": "^3.2.0"
"@types/vscode": "~1.94.0",
"langium-cli": "~3.2.0"
},
"files": [
"bin",
Expand Down
18 changes: 9 additions & 9 deletions examples/ox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"vscode": "^1.67.0"
},
"volta": {
"node": "18.17.1",
"npm": "9.6.7"
"node": "18.20.4",
"npm": "10.7.0"
},
"scripts": {
"build": "tsc -b tsconfig.json && node esbuild.mjs",
Expand All @@ -27,15 +27,15 @@
"watch": "concurrently -n tsc,esbuild -c blue,yellow \"tsc -b tsconfig.json --watch\" \"node esbuild.mjs --watch\""
},
"dependencies": {
"commander": "~11.0.0",
"langium": "^3.2.0",
"typir": "~0.0.1",
"vscode": "^1.1.37",
"vscode-languageclient": "~9.0.1",
"vscode-languageserver": "~9.0.1"
"commander": "~12.1.0",
"langium": "~3.2.0",
"typir": "~0.0.1",
"vscode-languageclient": "~9.0.1",
"vscode-languageserver": "~9.0.1"
},
"devDependencies": {
"langium-cli": "^3.2.0"
"@types/vscode": "~1.94.0",
"langium-cli": "~3.2.0"
},
"files": [
"bin",
Expand Down
Loading

0 comments on commit cbdf797

Please sign in to comment.