From be0407ef03397fe04bf2dfbab387e13034d92279 Mon Sep 17 00:00:00 2001 From: Mark Sujew Date: Thu, 29 Feb 2024 13:42:06 +0100 Subject: [PATCH] Update version to v3 (#1390) --- examples/arithmetics/package.json | 6 +-- .../src/language-server/generated/ast.ts | 2 +- .../src/language-server/generated/grammar.ts | 2 +- .../src/language-server/generated/module.ts | 2 +- examples/domainmodel/package.json | 6 +-- .../src/language-server/generated/ast.ts | 2 +- .../src/language-server/generated/grammar.ts | 2 +- .../src/language-server/generated/module.ts | 2 +- examples/requirements/package.json | 6 +-- .../src/language-server/generated/ast.ts | 2 +- .../src/language-server/generated/grammar.ts | 2 +- .../src/language-server/generated/module.ts | 2 +- examples/statemachine/package.json | 6 +-- .../src/language-server/generated/ast.ts | 2 +- .../src/language-server/generated/grammar.ts | 2 +- .../src/language-server/generated/module.ts | 2 +- package-lock.json | 50 +++++++++---------- packages/generator-langium/package.json | 2 +- .../templates/core/.package.json | 4 +- packages/langium-cli/package.json | 6 +-- packages/langium-railroad/package.json | 4 +- packages/langium-sprotty/package.json | 4 +- packages/langium-vscode/package.json | 6 +-- packages/langium/package.json | 8 +-- .../langium/src/grammar/generated/grammar.ts | 2 +- .../langium/src/grammar/generated/module.ts | 2 +- .../langium/src/languages/generated/ast.ts | 2 +- 27 files changed, 69 insertions(+), 69 deletions(-) diff --git a/examples/arithmetics/package.json b/examples/arithmetics/package.json index 8741629c5..42e81c57b 100644 --- a/examples/arithmetics/package.json +++ b/examples/arithmetics/package.json @@ -1,7 +1,7 @@ { "name": "langium-arithmetics-dsl", "displayName": "Arithmetics DSL", - "version": "2.1.0", + "version": "3.0.0", "description": "Example language built with Langium", "homepage": "https://langium.org", "engines": { @@ -69,12 +69,12 @@ "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.1.0", + "langium": "~3.0.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~2.1.0" + "langium-cli": "~3.0.0" }, "volta": { "node": "18.17.1", diff --git a/examples/arithmetics/src/language-server/generated/ast.ts b/examples/arithmetics/src/language-server/generated/ast.ts index 7c12f731d..632bd00cd 100644 --- a/examples/arithmetics/src/language-server/generated/ast.ts +++ b/examples/arithmetics/src/language-server/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/arithmetics/src/language-server/generated/grammar.ts b/examples/arithmetics/src/language-server/generated/grammar.ts index a38b28b9a..bf5ee7d1b 100644 --- a/examples/arithmetics/src/language-server/generated/grammar.ts +++ b/examples/arithmetics/src/language-server/generated/grammar.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/arithmetics/src/language-server/generated/module.ts b/examples/arithmetics/src/language-server/generated/module.ts index cda4e6e42..0e763ba74 100644 --- a/examples/arithmetics/src/language-server/generated/module.ts +++ b/examples/arithmetics/src/language-server/generated/module.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/domainmodel/package.json b/examples/domainmodel/package.json index 3fc07a542..710f32dc2 100644 --- a/examples/domainmodel/package.json +++ b/examples/domainmodel/package.json @@ -1,7 +1,7 @@ { "name": "langium-domainmodel-dsl", "displayName": "Domain Model DSL", - "version": "2.1.0", + "version": "3.0.0", "description": "Example language built with Langium", "homepage": "https://langium.org", "engines": { @@ -60,13 +60,13 @@ "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.1.0", + "langium": "~3.0.0", "lodash": "~4.17.21", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~2.1.0" + "langium-cli": "~3.0.0" }, "volta": { "node": "18.17.1", diff --git a/examples/domainmodel/src/language-server/generated/ast.ts b/examples/domainmodel/src/language-server/generated/ast.ts index c9ea69163..55783755a 100644 --- a/examples/domainmodel/src/language-server/generated/ast.ts +++ b/examples/domainmodel/src/language-server/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/domainmodel/src/language-server/generated/grammar.ts b/examples/domainmodel/src/language-server/generated/grammar.ts index 0560815e5..0a8a7ae0f 100644 --- a/examples/domainmodel/src/language-server/generated/grammar.ts +++ b/examples/domainmodel/src/language-server/generated/grammar.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/domainmodel/src/language-server/generated/module.ts b/examples/domainmodel/src/language-server/generated/module.ts index a5636cd71..6e987e95e 100644 --- a/examples/domainmodel/src/language-server/generated/module.ts +++ b/examples/domainmodel/src/language-server/generated/module.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/requirements/package.json b/examples/requirements/package.json index bfd643b9b..372a1ce85 100644 --- a/examples/requirements/package.json +++ b/examples/requirements/package.json @@ -2,7 +2,7 @@ "name": "langium-requirements-dsl", "displayName": "Requirements DSL", "description": "A demo showing how to combine two DSLs", - "version": "2.1.0", + "version": "3.0.0", "engines": { "vscode": "^1.67.0" }, @@ -71,12 +71,12 @@ "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.1.0", + "langium": "~3.0.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~2.1.0" + "langium-cli": "~3.0.0" }, "volta": { "node": "18.17.1", diff --git a/examples/requirements/src/language-server/generated/ast.ts b/examples/requirements/src/language-server/generated/ast.ts index e76ce0d20..19ffdff33 100644 --- a/examples/requirements/src/language-server/generated/ast.ts +++ b/examples/requirements/src/language-server/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/requirements/src/language-server/generated/grammar.ts b/examples/requirements/src/language-server/generated/grammar.ts index a5b697000..44de47240 100644 --- a/examples/requirements/src/language-server/generated/grammar.ts +++ b/examples/requirements/src/language-server/generated/grammar.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/requirements/src/language-server/generated/module.ts b/examples/requirements/src/language-server/generated/module.ts index 40cb76260..9a84cd443 100644 --- a/examples/requirements/src/language-server/generated/module.ts +++ b/examples/requirements/src/language-server/generated/module.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/statemachine/package.json b/examples/statemachine/package.json index 8d96c0470..8d7044ee0 100644 --- a/examples/statemachine/package.json +++ b/examples/statemachine/package.json @@ -1,7 +1,7 @@ { "name": "langium-statemachine-dsl", "displayName": "State Machine DSL", - "version": "2.1.0", + "version": "3.0.0", "description": "Example language built with Langium", "homepage": "https://langium.org", "engines": { @@ -59,12 +59,12 @@ "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.1.0", + "langium": "~3.0.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~2.1.0" + "langium-cli": "~3.0.0" }, "volta": { "node": "18.17.1", diff --git a/examples/statemachine/src/language-server/generated/ast.ts b/examples/statemachine/src/language-server/generated/ast.ts index c002706b5..027795f34 100644 --- a/examples/statemachine/src/language-server/generated/ast.ts +++ b/examples/statemachine/src/language-server/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/statemachine/src/language-server/generated/grammar.ts b/examples/statemachine/src/language-server/generated/grammar.ts index 568068422..2eae0ea9d 100644 --- a/examples/statemachine/src/language-server/generated/grammar.ts +++ b/examples/statemachine/src/language-server/generated/grammar.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/statemachine/src/language-server/generated/module.ts b/examples/statemachine/src/language-server/generated/module.ts index 0b45d72d0..65ff27508 100644 --- a/examples/statemachine/src/language-server/generated/module.ts +++ b/examples/statemachine/src/language-server/generated/module.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/package-lock.json b/package-lock.json index 5057e1497..54539c833 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,12 +40,12 @@ }, "examples/arithmetics": { "name": "langium-arithmetics-dsl", - "version": "2.1.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.1.0", + "langium": "~3.0.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, @@ -53,7 +53,7 @@ "arithmetics-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~2.1.0" + "langium-cli": "~3.0.0" }, "engines": { "vscode": "^1.67.0" @@ -72,12 +72,12 @@ }, "examples/domainmodel": { "name": "langium-domainmodel-dsl", - "version": "2.1.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.1.0", + "langium": "~3.0.0", "lodash": "~4.17.21", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" @@ -86,7 +86,7 @@ "domainmodel-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~2.1.0" + "langium-cli": "~3.0.0" }, "engines": { "vscode": "^1.67.0" @@ -105,11 +105,11 @@ }, "examples/requirements": { "name": "langium-requirements-dsl", - "version": "2.1.0", + "version": "3.0.0", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.1.0", + "langium": "~3.0.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, @@ -117,7 +117,7 @@ "requirements-and-tests-lang-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~2.1.0" + "langium-cli": "~3.0.0" }, "engines": { "vscode": "^1.67.0" @@ -136,12 +136,12 @@ }, "examples/statemachine": { "name": "langium-statemachine-dsl", - "version": "2.1.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.1.0", + "langium": "~3.0.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, @@ -149,7 +149,7 @@ "statemachine-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~2.1.0" + "langium-cli": "~3.0.0" }, "engines": { "vscode": "^1.67.0" @@ -7920,7 +7920,7 @@ } }, "packages/generator-langium": { - "version": "2.1.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", @@ -9147,7 +9147,7 @@ } }, "packages/langium": { - "version": "2.1.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "chevrotain": "~11.0.3", @@ -9157,22 +9157,22 @@ "vscode-uri": "~3.0.8" }, "devDependencies": { - "langium-cli": "~2.1.0" + "langium-cli": "~3.0.0" }, "engines": { "node": ">=16.0.0" } }, "packages/langium-cli": { - "version": "2.1.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", "fs-extra": "~11.1.1", "jsonschema": "~1.4.1", - "langium": "~2.1.0", - "langium-railroad": "~2.1.0", + "langium": "~3.0.0", + "langium-railroad": "~3.0.0", "lodash": "~4.17.21" }, "bin": { @@ -9197,28 +9197,28 @@ } }, "packages/langium-railroad": { - "version": "2.1.0", + "version": "3.0.0", "license": "MIT", "dependencies": { - "langium": "~2.1.0", + "langium": "~3.0.0", "railroad-diagrams": "~1.0.0" } }, "packages/langium-sprotty": { - "version": "2.1.0", + "version": "3.0.0", "license": "MIT", "dependencies": { - "langium": "~2.1.0", + "langium": "~3.0.0", "sprotty-protocol": "^1.0.0" } }, "packages/langium-vscode": { - "version": "2.1.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "ignore": "~5.2.4", - "langium": "2.1.0", - "langium-railroad": "2.1.0", + "langium": "3.0.0", + "langium-railroad": "3.0.0", "vscode-languageserver": "~9.0.1" }, "engines": { diff --git a/packages/generator-langium/package.json b/packages/generator-langium/package.json index 945af0172..8a19f2070 100644 --- a/packages/generator-langium/package.json +++ b/packages/generator-langium/package.json @@ -1,6 +1,6 @@ { "name": "generator-langium", - "version": "2.1.0", + "version": "3.0.0", "description": "Yeoman generator for Langium - the language engineering tool", "homepage": "https://langium.org", "engines": { diff --git a/packages/generator-langium/templates/core/.package.json b/packages/generator-langium/templates/core/.package.json index 34d06f8ee..0ae1da293 100644 --- a/packages/generator-langium/templates/core/.package.json +++ b/packages/generator-langium/templates/core/.package.json @@ -15,14 +15,14 @@ "langium:watch": "langium generate --watch" }, "dependencies": { - "langium": "~2.1.0" + "langium": "~3.0.0" }, "devDependencies": { "@types/node": "^18.0.0", "@typescript-eslint/parser": "~6.4.1", "@typescript-eslint/eslint-plugin": "~6.4.1", "eslint": "~8.47.0", - "langium-cli": "~2.1.0", + "langium-cli": "~3.0.0", "typescript": "~5.1.6" } } diff --git a/packages/langium-cli/package.json b/packages/langium-cli/package.json index 013ffa44a..e6a9a2e91 100644 --- a/packages/langium-cli/package.json +++ b/packages/langium-cli/package.json @@ -1,6 +1,6 @@ { "name": "langium-cli", - "version": "2.1.0", + "version": "3.0.0", "description": "CLI for Langium - the language engineering tool", "homepage": "https://langium.org", "engines": { @@ -43,8 +43,8 @@ "commander": "~11.0.0", "fs-extra": "~11.1.1", "jsonschema": "~1.4.1", - "langium": "~2.1.0", - "langium-railroad": "~2.1.0", + "langium": "~3.0.0", + "langium-railroad": "~3.0.0", "lodash": "~4.17.21" }, "devDependencies": { diff --git a/packages/langium-railroad/package.json b/packages/langium-railroad/package.json index 5be6c147e..449a81b3e 100644 --- a/packages/langium-railroad/package.json +++ b/packages/langium-railroad/package.json @@ -1,6 +1,6 @@ { "name": "langium-railroad", - "version": "2.1.0", + "version": "3.0.0", "description": "Use Langium as source for railroad syntax diagrams", "homepage": "https://langium.org", "keywords": [ @@ -34,7 +34,7 @@ "publish:latest": "npm publish --tag latest --access public" }, "dependencies": { - "langium": "~2.1.0", + "langium": "~3.0.0", "railroad-diagrams": "~1.0.0" }, "volta": { diff --git a/packages/langium-sprotty/package.json b/packages/langium-sprotty/package.json index 87a251133..19ef420ba 100644 --- a/packages/langium-sprotty/package.json +++ b/packages/langium-sprotty/package.json @@ -1,6 +1,6 @@ { "name": "langium-sprotty", - "version": "2.1.0", + "version": "3.0.0", "description": "Use Langium as source for Sprotty diagram models", "homepage": "https://langium.org", "keywords": [ @@ -34,7 +34,7 @@ "publish:latest": "npm publish --tag latest --access public" }, "dependencies": { - "langium": "~2.1.0", + "langium": "~3.0.0", "sprotty-protocol": "^1.0.0" }, "volta": { diff --git a/packages/langium-vscode/package.json b/packages/langium-vscode/package.json index 69a66413d..2231bb2ed 100644 --- a/packages/langium-vscode/package.json +++ b/packages/langium-vscode/package.json @@ -1,7 +1,7 @@ { "name": "langium-vscode", "publisher": "langium", - "version": "2.1.0", + "version": "3.0.0", "displayName": "Langium", "description": "Support for the Langium Grammar Language", "homepage": "https://langium.org", @@ -95,8 +95,8 @@ "lint": "eslint src --ext ts" }, "dependencies": { - "langium": "2.1.0", - "langium-railroad": "2.1.0", + "langium": "3.0.0", + "langium-railroad": "3.0.0", "vscode-languageserver": "~9.0.1", "ignore": "~5.2.4" }, diff --git a/packages/langium/package.json b/packages/langium/package.json index cd234991e..4807a999a 100644 --- a/packages/langium/package.json +++ b/packages/langium/package.json @@ -1,6 +1,6 @@ { "name": "langium", - "version": "2.1.0", + "version": "3.0.0", "description": "A language engineering tool for the Language Server Protocol", "homepage": "https://langium.org", "engines": { @@ -47,8 +47,8 @@ "import": "./lib/grammar/index.js" }, "./lsp": { - "types": "./lib/lsp/index.d.ts", - "import": "./lib/lsp/index.js" + "types": "./lib/lsp/index.d.ts", + "import": "./lib/lsp/index.js" } }, "scripts": { @@ -70,7 +70,7 @@ "vscode-uri": "~3.0.8" }, "devDependencies": { - "langium-cli": "~2.1.0" + "langium-cli": "~3.0.0" }, "volta": { "node": "18.17.1", diff --git a/packages/langium/src/grammar/generated/grammar.ts b/packages/langium/src/grammar/generated/grammar.ts index f2efde882..bc259bdcc 100644 --- a/packages/langium/src/grammar/generated/grammar.ts +++ b/packages/langium/src/grammar/generated/grammar.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/packages/langium/src/grammar/generated/module.ts b/packages/langium/src/grammar/generated/module.ts index 952ac718d..29ef0bafa 100644 --- a/packages/langium/src/grammar/generated/module.ts +++ b/packages/langium/src/grammar/generated/module.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/packages/langium/src/languages/generated/ast.ts b/packages/langium/src/languages/generated/ast.ts index 561d483ce..fb869700d 100644 --- a/packages/langium/src/languages/generated/ast.ts +++ b/packages/langium/src/languages/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.1.0. + * This file was generated by langium-cli 3.0.0. * DO NOT EDIT MANUALLY! ******************************************************************************/