monaco-languageclient-examples 2025.8.5 → 2025.8.6

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 CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this npm module are documented in this file.
4
4
 
5
+ ## [2025.8.6] - 2025-08-22
6
+
7
+ - Makes json-client independent of external resource files.
8
+
5
9
  ## [2025.8.5] - 2025-08-22
6
10
 
7
11
  - Fixed broken json-client sub-package export.
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/json/client/client.ts"],"names":[],"mappings":"AAMA,OAAO,iDAAiD,CAAC;AAKzD,eAAO,MAAM,cAAc,qBAE1B,CAAC"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/json/client/client.ts"],"names":[],"mappings":"AAMA,OAAO,iDAAiD,CAAC;AAIzD,eAAO,MAAM,cAAc,qBAM1B,CAAC"}
@@ -4,10 +4,13 @@
4
4
  * ------------------------------------------------------------------------------------------ */
5
5
  // this is required syntax highlighting
6
6
  import '@codingame/monaco-vscode-json-default-extension';
7
- import helloJsonCode from '../../../resources/json/workspace/hello.json?raw';
8
7
  import { runExtendedClient } from '../../common/client/extendedClient.js';
9
8
  import { jsontLsConfig } from './config.js';
10
9
  export const runJsonWrapper = async () => {
10
+ const helloJsonCode = `{
11
+ "$schema": "http://json.schemastore.org/coffeelint",
12
+ "line_endings": {"value": "unix"}
13
+ }`;
11
14
  await runExtendedClient(jsontLsConfig, helloJsonCode);
12
15
  };
13
16
  //# sourceMappingURL=client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/json/client/client.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAEhG,uCAAuC;AACvC,OAAO,iDAAiD,CAAC;AACzD,OAAO,aAAa,MAAM,kDAAkD,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,IAAI,EAAE;IACrC,MAAM,iBAAiB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;AAC1D,CAAC,CAAC"}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/json/client/client.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAEhG,uCAAuC;AACvC,OAAO,iDAAiD,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,IAAI,EAAE;IACrC,MAAM,aAAa,GAAG;;;EAGxB,CAAC;IACC,MAAM,iBAAiB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;AAC1D,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monaco-languageclient-examples",
3
- "version": "2025.8.5",
3
+ "version": "2025.8.6",
4
4
  "description": "Monaco Language client examples",
5
5
  "author": {
6
6
  "name": "TypeFox GmbH",
@@ -5,10 +5,13 @@
5
5
 
6
6
  // this is required syntax highlighting
7
7
  import '@codingame/monaco-vscode-json-default-extension';
8
- import helloJsonCode from '../../../resources/json/workspace/hello.json?raw';
9
8
  import { runExtendedClient } from '../../common/client/extendedClient.js';
10
9
  import { jsontLsConfig } from './config.js';
11
10
 
12
11
  export const runJsonWrapper = async () => {
12
+ const helloJsonCode = `{
13
+ "$schema": "http://json.schemastore.org/coffeelint",
14
+ "line_endings": {"value": "unix"}
15
+ }`;
13
16
  await runExtendedClient(jsontLsConfig, helloJsonCode);
14
17
  };