@codingame/monaco-vscode-json-default-extension 1.81.8-next.3 → 1.82.1

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/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const whenReady: () => Promise<void>
2
+ export { whenReady }
package/index.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import { registerExtension } from 'vscode/extensions';
2
2
 
3
- var manifest = {name:"json",displayName:"JSON Language Basics",description:"Provides syntax highlighting & bracket matching in JSON files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"0.10.x"},scripts:{"update-grammar":"node ./build/update-grammars.js"},contributes:{languages:[{id:"json",aliases:["JSON","json"],extensions:[".json",".bowerrc",".jscsrc",".webmanifest",".js.map",".css.map",".ts.map",".har",".jslintrc",".jsonld",".geojson",".ipynb",".vuerc"],filenames:["composer.lock",".watchmanconfig"],mimetypes:["application/json","application/manifest+json"],configuration:"./language-configuration.json"},{id:"jsonc",aliases:["JSON with Comments"],extensions:[".jsonc",".eslintrc",".eslintrc.json",".jsfmtrc",".jshintrc",".swcrc",".hintrc",".babelrc"],filenames:["babel.config.json",".babelrc.json",".ember-cli","typedoc.json"],configuration:"./language-configuration.json"},{id:"jsonl",aliases:["JSON Lines"],extensions:[".jsonl"],filenames:[],configuration:"./language-configuration.json"}],grammars:[{language:"json",scopeName:"source.json",path:"./syntaxes/JSON.tmLanguage.json"},{language:"jsonc",scopeName:"source.json.comments",path:"./syntaxes/JSONC.tmLanguage.json"},{language:"jsonl",scopeName:"source.json.lines",path:"./syntaxes/JSONL.tmLanguage.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"},main:undefined};
3
+ var manifest = {name:"json",displayName:"JSON Language Basics",description:"Provides syntax highlighting & bracket matching in JSON files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"0.10.x"},scripts:{"update-grammar":"node ./build/update-grammars.js"},contributes:{languages:[{id:"json",aliases:["JSON","json"],extensions:[".json",".bowerrc",".jscsrc",".webmanifest",".js.map",".css.map",".ts.map",".har",".jslintrc",".jsonld",".geojson",".ipynb",".vuerc"],filenames:["composer.lock",".watchmanconfig"],mimetypes:["application/json","application/manifest+json"],configuration:"./language-configuration.json"},{id:"jsonc",aliases:["JSON with Comments"],extensions:[".jsonc",".eslintrc",".eslintrc.json",".jsfmtrc",".jshintrc",".swcrc",".hintrc",".babelrc"],filenames:["babel.config.json",".babelrc.json",".ember-cli","typedoc.json"],configuration:"./language-configuration.json"},{id:"jsonl",aliases:["JSON Lines"],extensions:[".jsonl"],filenames:[],configuration:"./language-configuration.json"},{id:"snippets",aliases:["Code Snippets"],extensions:[".code-snippets"],filenamePatterns:["**/User/snippets/*.json","**/User/profiles/*/snippets/*.json"],configuration:"./language-configuration.json"}],grammars:[{language:"json",scopeName:"source.json",path:"./syntaxes/JSON.tmLanguage.json"},{language:"jsonc",scopeName:"source.json.comments",path:"./syntaxes/JSONC.tmLanguage.json"},{language:"jsonl",scopeName:"source.json.lines",path:"./syntaxes/JSONL.tmLanguage.json"},{language:"snippets",scopeName:"source.json.comments.snippets",path:"./syntaxes/snippets.tmLanguage.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"},main:undefined};
4
4
 
5
5
  const { registerFileUrl, whenReady } = registerExtension(manifest);
6
6
  registerFileUrl('./syntaxes/JSON.tmLanguage.json', new URL('./JSON.tmLanguage.json', import.meta.url).toString(), 'application/json');
7
7
  registerFileUrl('./syntaxes/JSONC.tmLanguage.json', new URL('./JSONC.tmLanguage.json', import.meta.url).toString(), 'application/json');
8
8
  registerFileUrl('./syntaxes/JSONL.tmLanguage.json', new URL('./JSONL.tmLanguage.json', import.meta.url).toString(), 'application/json');
9
+ registerFileUrl('./syntaxes/snippets.tmLanguage.json', new URL('./snippets.tmLanguage.json', import.meta.url).toString(), 'application/json');
9
10
  registerFileUrl('./language-configuration.json', new URL('./language-configuration.json', import.meta.url).toString(), 'application/json');
10
11
 
11
12
  export { whenReady };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-json-default-extension",
3
- "version": "1.81.8-next.3",
3
+ "version": "1.82.1",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -9,14 +9,15 @@
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/CodinGame/monaco-vscode-api"
12
+ "url": "git+https://github.com/CodinGame/monaco-vscode-api.git"
13
13
  },
14
14
  "type": "module",
15
15
  "private": false,
16
16
  "description": "Default VSCode extension designed to be used with @codingame/monaco-vscode-api",
17
17
  "main": "index.js",
18
18
  "module": "index.js",
19
+ "types": "index.d.ts",
19
20
  "dependencies": {
20
- "vscode": "npm:@codingame/monaco-vscode-api@1.81.8-next.3"
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.82.1"
21
22
  }
22
23
  }