monaco-languageclient-examples 8.0.0-next.5 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -2
- package/{License.txt → LICENSE} +2 -4
- package/README.md +9 -1
- package/dist/browser/main.js +1 -1
- package/dist/common/example-apps-common.js +1 -1
- package/dist/common/language-server-runner.js +1 -1
- package/dist/groovy/client/main.js +1 -1
- package/dist/groovy/config.js +1 -1
- package/dist/groovy/server/direct.js +1 -1
- package/dist/groovy/server/main.js +1 -1
- package/dist/index.js +1 -1
- package/dist/json/client/wrapperWs.js +1 -1
- package/dist/json/server/direct.js +1 -1
- package/dist/json/server/json-server.js +1 -1
- package/dist/json/server/main.js +1 -1
- package/dist/langium/langium-dsl/config/classicConfig.js +1 -1
- package/dist/langium/langium-dsl/config/extendedConfig.js +1 -1
- package/dist/langium/langium-dsl/config/langium.monarch.js +1 -1
- package/dist/langium/langium-dsl/worker/langium-server.js +1 -1
- package/dist/langium/langium-dsl/wrapperLangium.js +1 -1
- package/dist/langium/statemachine/config/wrapperStatemachineConfig.js +1 -1
- package/dist/langium/statemachine/ls/generated/grammar.js +324 -324
- package/dist/langium/statemachine/main-react.js +1 -1
- package/dist/langium/statemachine/main.js +1 -1
- package/dist/langium/statemachine/worker/statemachine-server-port.js +1 -1
- package/dist/langium/statemachine/worker/statemachine-server-start.js +1 -1
- package/dist/langium/statemachine/worker/statemachine-server.js +1 -1
- package/dist/node.js +1 -1
- package/dist/python/client/config.js +1 -1
- package/dist/python/client/main.js +1 -1
- package/dist/python/client/reactPython.js +1 -1
- package/dist/python/server/direct.js +1 -1
- package/dist/python/server/main.js +1 -1
- package/dist/ts/wrapperAdvanced.js +1 -1
- package/dist/ts/wrapperTs.js +1 -1
- package/dist/utils/fs-utils.js +1 -1
- package/dist/utils/localeLoader.js +1 -1
- package/package.json +6 -6
- package/src/browser/main.ts +1 -1
- package/src/common/example-apps-common.ts +1 -1
- package/src/common/language-server-runner.ts +1 -1
- package/src/common/server-commons.ts +1 -1
- package/src/groovy/client/main.ts +1 -1
- package/src/groovy/config.ts +1 -1
- package/src/groovy/server/README.md +19 -0
- package/src/groovy/server/direct.ts +1 -1
- package/src/groovy/server/main.ts +1 -1
- package/src/index.ts +1 -1
- package/src/json/client/wrapperWs.ts +1 -1
- package/src/json/server/direct.ts +1 -1
- package/src/json/server/json-server.ts +1 -1
- package/src/json/server/main.ts +1 -1
- package/src/langium/langium-dsl/config/classicConfig.ts +1 -1
- package/src/langium/langium-dsl/config/extendedConfig.ts +1 -1
- package/src/langium/langium-dsl/config/langium.monarch.ts +1 -1
- package/src/langium/langium-dsl/worker/langium-server.ts +1 -1
- package/src/langium/langium-dsl/wrapperLangium.ts +1 -1
- package/src/langium/statemachine/config/wrapperStatemachineConfig.ts +1 -1
- package/src/langium/statemachine/ls/generated/grammar.ts +334 -334
- package/src/langium/statemachine/ls/generated/module.ts +25 -25
- package/src/langium/statemachine/main-react.tsx +1 -1
- package/src/langium/statemachine/main.ts +1 -1
- package/src/langium/statemachine/worker/statemachine-server-port.ts +1 -1
- package/src/langium/statemachine/worker/statemachine-server-start.ts +1 -1
- package/src/langium/statemachine/worker/statemachine-server.ts +1 -1
- package/src/node.ts +1 -1
- package/src/python/client/config.ts +1 -1
- package/src/python/client/main.ts +1 -1
- package/src/python/client/reactPython.tsx +1 -1
- package/src/python/server/direct.ts +1 -1
- package/src/python/server/main.ts +1 -1
- package/src/ts/wrapperAdvanced.ts +1 -1
- package/src/ts/wrapperTs.ts +1 -1
- package/src/utils/fs-utils.ts +1 -1
- package/src/utils/localeLoader.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this npm module are documented in this file.
|
|
4
4
|
|
|
5
|
-
## [8.0.0] - 2024-
|
|
5
|
+
## [8.0.0] - 2024-03-18
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- Repository now includes `monaco-editor-wrapper` and `@typefox/monaco-editor-react`
|
|
8
|
+
- Unified examples. Make use of `monaco-editor-wrapper` or `@typefox/monaco-editor-react` in all client applications
|
|
9
|
+
- Aligned LICENSE usage throughout the repository
|
|
10
|
+
- Updated to `monaco-languageclient@8.0.0`, `vscode-ws-jsonrpc@3.3.0`, `monaco-editor-wrapper@4.0.0` and `@typefox/monaco-editor-react@3.0.0`
|
|
8
11
|
- feat: add LanguageServerRunConfig and groovy example [#591](https://github.com/TypeFox/monaco-languageclient/pull/591)
|
|
9
12
|
|
|
10
13
|
## [7.3.0] - 2023-01-04
|
package/{License.txt → LICENSE}
RENAMED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
Copyright (c) 2018-2024 TypeFox GmbH (http://www.typefox.io)
|
|
2
|
-
|
|
3
|
-
All rights reserved.
|
|
4
|
-
|
|
5
1
|
MIT License
|
|
6
2
|
|
|
3
|
+
Copyright 2023 - present TypeFox GmbH
|
|
4
|
+
|
|
7
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
8
6
|
|
|
9
7
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
package/README.md
CHANGED
|
@@ -12,6 +12,14 @@ This package contains [all examples from the monaco-languageclient repository](h
|
|
|
12
12
|
|
|
13
13
|
All changes are noted in the [CHANGELOG](https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/CHANGELOG.md).
|
|
14
14
|
|
|
15
|
+
## Getting Started
|
|
16
|
+
|
|
17
|
+
This is npm package is part of the <https://github.com/TypeFox/monaco-languageclient> mono repo. Please follow the main repositories [instructions]](<https://github.com/TypeFox/monaco-languageclient#getting-started>) to get started with local development.
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
Needs to be added.
|
|
22
|
+
|
|
15
23
|
## License
|
|
16
24
|
|
|
17
|
-
[MIT](https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/
|
|
25
|
+
[MIT](https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/LICENSE)
|
package/dist/browser/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import * as vscode from 'vscode';
|
|
6
6
|
import getKeybindingsServiceOverride from '@codingame/monaco-vscode-keybindings-service-override';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import { MonacoEditorLanguageClientWrapper } from 'monaco-editor-wrapper';
|
|
6
6
|
import { languages } from 'monaco-editor';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import { WebSocketServer } from 'ws';
|
|
6
6
|
import express from 'express';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import getKeybindingsServiceOverride from '@codingame/monaco-vscode-keybindings-service-override';
|
|
6
6
|
// this is required syntax highlighting
|
package/dist/groovy/config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
export const groovyConfig = {
|
|
6
6
|
port: 30002,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import { resolve } from 'path';
|
|
6
6
|
import { getLocalDirectory } from '../../utils/fs-utils.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import { runLanguageServer } from '../../common/language-server-runner.js';
|
|
6
6
|
import { resolve } from 'path';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
/* client side export only */
|
|
6
6
|
export * from './common/example-apps-common.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import getKeybindingsServiceOverride from '@codingame/monaco-vscode-keybindings-service-override';
|
|
6
6
|
// this is required syntax highlighting
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import { resolve } from 'path';
|
|
6
6
|
import { runJsonServer } from './main.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import { readFile } from 'fs';
|
|
6
6
|
import requestLight from 'request-light';
|
package/dist/json/server/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import { runLanguageServer } from '../../common/language-server-runner.js';
|
|
6
6
|
import { resolve } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import { Uri } from 'vscode';
|
|
6
6
|
import getConfigurationServiceOverride from '@codingame/monaco-vscode-configuration-service-override';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import getEditorServiceOverride from '@codingame/monaco-vscode-editor-service-override';
|
|
6
6
|
import getKeybindingsServiceOverride from '@codingame/monaco-vscode-keybindings-service-override';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
export const LangiumMonarchContent = {
|
|
6
6
|
keywords: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import { EmptyFileSystem } from 'langium';
|
|
6
6
|
import { startLanguageServer } from 'langium/lsp';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import { MonacoEditorLanguageClientWrapper } from 'monaco-editor-wrapper';
|
|
6
6
|
import { setupLangiumClientExtended } from './config/extendedConfig.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) 2024 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See
|
|
3
|
+
* Licensed under the MIT License. See LICENSE in the package root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
import getEditorServiceOverride from '@codingame/monaco-vscode-editor-service-override';
|
|
6
6
|
import getKeybindingsServiceOverride from '@codingame/monaco-vscode-keybindings-service-override';
|