diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cde9d5fe..dfc3cc40 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1178,8 +1178,8 @@ importers: specifier: 1.2.1 version: 1.2.1 langium-cli: - specifier: 1.2.1 - version: 1.2.1 + specifier: 2.0.1 + version: 2.0.1 path: specifier: ^0.12.7 version: 0.12.7 @@ -1282,8 +1282,8 @@ importers: specifier: ~8.33.0 version: 8.33.0 langium-cli: - specifier: ~1.2.0 - version: 1.2.1 + specifier: ~2.0.0 + version: 2.0.1 shx: specifier: ^0.3.4 version: 0.3.4 @@ -4645,18 +4645,44 @@ packages: '@chevrotain/gast': 10.4.2 '@chevrotain/types': 10.4.2 lodash: 4.17.21 + dev: false + + /@chevrotain/cst-dts-gen@11.0.3: + resolution: {integrity: sha512-BvIKpRLeS/8UbfxXxgC33xOumsacaeCKAjAeLyOn7Pcp95HiRbrpl14S+9vaZLolnbssPIUuiUd8IvgkRyt6NQ==} + dependencies: + '@chevrotain/gast': 11.0.3 + '@chevrotain/types': 11.0.3 + lodash-es: 4.17.21 /@chevrotain/gast@10.4.2: resolution: {integrity: sha512-4ZAn8/mjkmYonilSJ60gGj1tAF0cVWYUMlIGA0e4ATAc3a648aCnvpBw7zlPHDQjFp50XC13iyWEgWAKiRKTOA==} dependencies: '@chevrotain/types': 10.4.2 lodash: 4.17.21 + dev: false + + /@chevrotain/gast@11.0.3: + resolution: {integrity: sha512-+qNfcoNk70PyS/uxmj3li5NiECO+2YKZZQMbmjTqRI3Qchu8Hig/Q9vgkHpI3alNjr7M+a2St5pw5w5F6NL5/Q==} + dependencies: + '@chevrotain/types': 11.0.3 + lodash-es: 4.17.21 + + /@chevrotain/regexp-to-ast@11.0.3: + resolution: {integrity: sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==} /@chevrotain/types@10.4.2: resolution: {integrity: sha512-QzSCjg6G4MvIoLeIgOiMR0IgzkGEQqrNJJIr3T5ETRa7l4Av4AMIiEctV99mvDr57iXwwk0/kr3RJxiU36Nevw==} + dev: false + + /@chevrotain/types@11.0.3: + resolution: {integrity: sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==} /@chevrotain/utils@10.4.2: resolution: {integrity: sha512-V34dacxWLwKcvcy32dx96ADJVdB7kOJLm7LyBkBQw5u5HC9WdEFw2G17zml+U3ivavGTrGPJHl8o9/UJm0PlUw==} + dev: false + + /@chevrotain/utils@11.0.3: + resolution: {integrity: sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==} /@cloudflare/d1@1.4.1: resolution: {integrity: sha512-czIBkVoZG7csWK0GVpWXqvnfM2Uv91AqdhwXeTPd1zpdQ+x/or492tD1ybVe679868bGMsHRqtHxp+5rwHXRaA==} @@ -4836,7 +4862,7 @@ packages: '@commitlint/types': 17.4.4 '@types/node': 20.4.7 chalk: 4.1.0 - cosmiconfig: 8.3.6(typescript@4.9.5) + cosmiconfig: 8.3.6(typescript@5.2.0-beta) cosmiconfig-typescript-loader: 4.4.0(@types/node@20.4.7)(cosmiconfig@8.3.6)(ts-node@10.9.1)(typescript@4.9.5) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 @@ -20336,6 +20362,15 @@ packages: dependencies: chevrotain: 10.4.2 lodash: 4.17.21 + dev: false + + /chevrotain-allstar@0.3.1(chevrotain@11.0.3): + resolution: {integrity: sha512-b7g+y9A0v4mxCW1qUhf3BSVPg+/NvGErk/dOkrDaHA0nQIQGAtrOjlX//9OQtRlSCy+x9rfB5N8yC71lH1nvMw==} + peerDependencies: + chevrotain: ^11.0.0 + dependencies: + chevrotain: 11.0.3 + lodash-es: 4.17.21 /chevrotain@10.4.2: resolution: {integrity: sha512-gzF5GxE0Ckti5kZVuKEZycLntB5X2aj9RVY0r4/220GwQjdnljU+/t3kP74/FMWC7IzCDDEjQ9wsFUf0WCdSHg==} @@ -20346,6 +20381,17 @@ packages: '@chevrotain/utils': 10.4.2 lodash: 4.17.21 regexp-to-ast: 0.5.0 + dev: false + + /chevrotain@11.0.3: + resolution: {integrity: sha512-ci2iJH6LeIkvP9eJW6gpueU8cnZhv85ELY8w8WiFtNjMHA5ad6pQLaJo9mEly/9qUyCpvqX8/POVUTf18/HFdw==} + dependencies: + '@chevrotain/cst-dts-gen': 11.0.3 + '@chevrotain/gast': 11.0.3 + '@chevrotain/regexp-to-ast': 11.0.3 + '@chevrotain/types': 11.0.3 + '@chevrotain/utils': 11.0.3 + lodash-es: 4.17.21 /chokidar@3.5.1: resolution: {integrity: sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==} @@ -21226,7 +21272,7 @@ packages: typescript: '>=4' dependencies: '@types/node': 20.4.7 - cosmiconfig: 8.3.6(typescript@4.9.5) + cosmiconfig: 8.3.6(typescript@5.2.0-beta) ts-node: 10.9.1(@swc/core@1.3.90)(@types/node@20.4.7)(typescript@4.9.5) typescript: 4.9.5 @@ -21284,6 +21330,7 @@ packages: parse-json: 5.2.0 path-type: 4.0.0(patch_hash=t2y4p5c63ifj2lrtth34hk3bda) typescript: 4.9.5 + dev: false /cosmiconfig@8.3.6(typescript@5.2.0-beta): resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} @@ -29291,18 +29338,25 @@ packages: engines: {node: '>= 8'} dev: true - /langium-cli@1.2.1: - resolution: {integrity: sha512-sbGucMXqfDfLmF6bvFsyv7f4/y2dNivVKpXD5j//OxMrBsF+N8fATVqq8bopUvAxxvb0dmaV0xpIxYr7b7Efjg==} - engines: {node: '>=14.0.0'} + /langium-cli@2.0.1: + resolution: {integrity: sha512-dPPaHimIoCgELED4tvRGdU3i26tjWuyVwexXgPtTtTzp1MBdGCBLppLADXHkL8yFVdWM/PWlCq06YyqAT4eV3A==} + engines: {node: '>=16.0.0'} hasBin: true dependencies: - chalk: 4.1.2 + chalk: 5.3.0 commander: 10.0.1 fs-extra: 11.1.1 jsonschema: 1.4.1 - langium: 1.2.1 + langium: 2.0.2 + langium-railroad: 2.0.0 lodash: 4.17.21 + /langium-railroad@2.0.0: + resolution: {integrity: sha512-g6y8vPh4i7ll/Q4D9aFrjk4UgtkuzkE6WGfiTHJHTFlDwHoiKrPSIIBZO4wjEb3XUF9P5vIt7aRjerTy7Jgm0g==} + dependencies: + langium: 2.0.2 + railroad-diagrams: 1.0.0 + /langium@1.2.1: resolution: {integrity: sha512-tpUa1r47pxuUBNqX5X4GAB08qhWpVwWhxjwOV+948skElHO9OV6emngfY3jOYzchJS4H6UZwyKalsOb8GGPsnQ==} engines: {node: '>=14.0.0'} @@ -29312,6 +29366,17 @@ packages: vscode-languageserver: 8.0.2 vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.7 + dev: false + + /langium@2.0.2: + resolution: {integrity: sha512-K9gycp9E88ZzJALJaBy7DSajD7GrWX2uwnYN4xL6MBtQZmiqX17fi4ZyN6HoVJjt40v7rrEUS5gRpzmrO8yO1w==} + engines: {node: '>=16.0.0'} + dependencies: + chevrotain: 11.0.3 + chevrotain-allstar: 0.3.1(chevrotain@11.0.3) + vscode-languageserver: 8.0.2 + vscode-languageserver-textdocument: 1.0.11 + vscode-uri: 3.0.7 /language-subtag-registry@0.3.22: resolution: {integrity: sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==} @@ -35197,6 +35262,9 @@ packages: engines: {node: '>=14.18.0'} dev: false + /railroad-diagrams@1.0.0: + resolution: {integrity: sha512-cz93DjNeLY0idrCNOH6PviZGRN9GJhsdm9hpn1YCS879fj4W+x5IFJhhkRZcwVgMmFF7R82UA/7Oh+R8lLZg6A==} + /ramda-adjunct@4.1.1(ramda@0.29.0): resolution: {integrity: sha512-BnCGsZybQZMDGram9y7RiryoRHS5uwx8YeGuUeDKuZuvK38XO6JJfmK85BwRWAKFA6pZ5nZBO/HBFtExVaf31w==} engines: {node: '>=0.10.3'} @@ -36250,6 +36318,7 @@ packages: /regexp-to-ast@0.5.0: resolution: {integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==} + dev: false /regexp.prototype.flags@1.5.1: resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} diff --git a/tools/forecast/codegen/package.json b/tools/forecast/codegen/package.json index 0a44702f..17ac0a0f 100644 --- a/tools/forecast/codegen/package.json +++ b/tools/forecast/codegen/package.json @@ -11,7 +11,7 @@ "glob": "^10.3.3", "handlebars": "^4.7.8", "langium": "1.2.1", - "langium-cli": "1.2.1", + "langium-cli": "2.0.1", "path": "^0.12.7", "pluralize": "^8.0.0", "prettier": "2.8.8", diff --git a/tools/forecast/language/package.json b/tools/forecast/language/package.json index 2d9613f8..050bc20c 100644 --- a/tools/forecast/language/package.json +++ b/tools/forecast/language/package.json @@ -57,7 +57,7 @@ "@typescript-eslint/parser": "~5.51.0", "esbuild": "^0.16.14", "eslint": "~8.33.0", - "langium-cli": "~1.2.0", + "langium-cli": "~2.0.0", "shx": "^0.3.4", "typescript": "~4.9.5" },