Skip to content

Commit

Permalink
Update language server libraries to version 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew committed Oct 24, 2023
1 parent 1cbc82b commit a284aa9
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 46 deletions.
4 changes: 2 additions & 2 deletions examples/arithmetics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"chalk": "~5.3.0",
"commander": "~11.0.0",
"langium": "~2.0.0",
"vscode-languageclient": "~8.1.0",
"vscode-languageserver": "~8.1.0"
"vscode-languageclient": "~9.0.1",
"vscode-languageserver": "~9.0.1"
},
"devDependencies": {
"langium-cli": "~2.0.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/domainmodel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"commander": "~11.0.0",
"langium": "~2.0.0",
"lodash": "~4.17.21",
"vscode-languageclient": "~8.1.0",
"vscode-languageserver": "~8.1.0"
"vscode-languageclient": "~9.0.1",
"vscode-languageserver": "~9.0.1"
},
"devDependencies": {
"langium-cli": "~2.0.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/requirements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
"commander": "~11.0.0",
"langium": "~2.0.0",
"lodash": "~4.17.21",
"vscode-languageclient": "~8.1.0",
"vscode-languageserver": "~8.1.0"
"vscode-languageclient": "~9.0.1",
"vscode-languageserver": "~9.0.1"
},
"devDependencies": {
"langium-cli": "~2.0.0"
Expand Down
4 changes: 3 additions & 1 deletion examples/statemachine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
"chalk": "~5.3.0",
"commander": "~11.0.0",
"langium": "~2.0.0",
"lodash": "^4.17.21"
"lodash": "^4.17.21",
"vscode-languageclient": "~9.0.1",
"vscode-languageserver": "~9.0.1"
},
"devDependencies": {
"langium-cli": "~2.0.0"
Expand Down
74 changes: 38 additions & 36 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions packages/generator-langium/test/yeoman-generator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ describe('Check yeoman generator works', () => {
result.assertFile(files);
result.assertJsonFileContent(targetRoot + '/hello-world/package.json', PACKAGE_JSON_EXPECTATION);
result.assertFileContent(targetRoot + '/hello-world/.vscode/tasks.json', TASKS_JSON_EXPECTATION);
}).finally(() => {
context.cleanTestDirectory(true);
});
}, 120_000);

Expand Down
2 changes: 1 addition & 1 deletion packages/langium-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"dependencies": {
"langium": "2.0.1",
"langium-railroad": "2.0.0",
"vscode-languageserver": "~8.1.0",
"vscode-languageserver": "~9.0.1",
"ignore": "~5.2.4"
},
"volta": {
Expand Down
4 changes: 2 additions & 2 deletions packages/langium/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"dependencies": {
"chevrotain": "~11.0.3",
"chevrotain-allstar": "~0.3.0",
"vscode-languageserver": "~8.1.0",
"vscode-languageserver-textdocument": "~1.0.8",
"vscode-languageserver": "~9.0.1",
"vscode-languageserver-textdocument": "~1.0.11",
"vscode-uri": "~3.0.7"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/langium/test/parser/langium-parser-builder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ describe('Handling EOF', () => {
const grammar = `
grammar Test
entry Main: greet='Hello!' EOF;
hidden terminal WS: /\\s+/;
`;
const services = await createLangiumGrammarServices(EmptyFileSystem);
const output = await parseHelper(services.grammar)(grammar, {validation: true});
Expand Down Expand Up @@ -716,6 +717,7 @@ describe('Handling EOF', () => {
const grammar = `
grammar Test
entry Main: greet='Hello!' EOF name='user!';
hidden terminal WS: /\\s+/;
`;
const services = await createServicesForGrammar({ grammar });
const parse = parseHelper(services);
Expand Down

0 comments on commit a284aa9

Please sign in to comment.