@codingame/monaco-vscode-cpp-default-extension 1.81.8-next.1 → 1.82.0-next.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.
Files changed (3) hide show
  1. package/index.d.ts +2 -0
  2. package/index.js +3 -1
  3. package/package.json +4 -3
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const whenReady: () => Promise<void>
2
+ export { whenReady }
package/index.js CHANGED
@@ -2,7 +2,7 @@ import { registerExtension } from 'vscode/extensions';
2
2
 
3
3
  var manifest = {name:"cpp",displayName:"C/C++ Language Basics",description:"Provides snippets, syntax highlighting, bracket matching and folding in C/C++ files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},scripts:{"update-grammar":"node ./build/update-grammars.js"},contributes:{languages:[{id:"c",extensions:[".c",".i"],aliases:["C","c"],configuration:"./language-configuration.json"},{id:"cpp",extensions:[".cpp",".cc",".cxx",".c++",".hpp",".hh",".hxx",".h++",".h",".ii",".ino",".inl",".ipp",".ixx",".tpp",".txx",".hpp.in",".h.in"],aliases:["C++","Cpp","cpp"],configuration:"./language-configuration.json"},{id:"cuda-cpp",extensions:[".cu",".cuh"],aliases:["CUDA C++"],configuration:"./language-configuration.json"}],grammars:[{language:"c",scopeName:"source.c",path:"./syntaxes/c.tmLanguage.json"},{language:"cpp",scopeName:"source.cpp.embedded.macro",path:"./syntaxes/cpp.embedded.macro.tmLanguage.json"},{language:"cpp",scopeName:"source.cpp",path:"./syntaxes/cpp.tmLanguage.json"},{scopeName:"source.c.platform",path:"./syntaxes/platform.tmLanguage.json"},{language:"cuda-cpp",scopeName:"source.cuda-cpp",path:"./syntaxes/cuda-cpp.tmLanguage.json"}],problemPatterns:[{name:"nvcc-location",regexp:"^(.*)\\((\\d+)\\):\\s+(warning|error):\\s+(.*)",kind:"location",file:1,location:2,severity:3,message:4}],problemMatchers:[{name:"nvcc",owner:"cuda-cpp",fileLocation:["relative","${workspaceFolder}"],pattern:"$nvcc-location"}],snippets:[{language:"c",path:"./snippets/c.code-snippets"},{language:"cpp",path:"./snippets/cpp.code-snippets"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"},main:undefined};
4
4
 
5
- const { registerFileUrl } = registerExtension(manifest);
5
+ const { registerFileUrl, whenReady } = registerExtension(manifest);
6
6
  registerFileUrl('./syntaxes/c.tmLanguage.json', new URL('./c.tmLanguage.json', import.meta.url).toString(), 'application/json');
7
7
  registerFileUrl('./syntaxes/cpp.embedded.macro.tmLanguage.json', new URL('./cpp.embedded.macro.tmLanguage.json', import.meta.url).toString(), 'application/json');
8
8
  registerFileUrl('./syntaxes/cpp.tmLanguage.json', new URL('./cpp.tmLanguage.json', import.meta.url).toString(), 'application/json');
@@ -11,3 +11,5 @@ registerFileUrl('./syntaxes/cuda-cpp.tmLanguage.json', new URL('./cuda-cpp.tmLan
11
11
  registerFileUrl('./language-configuration.json', new URL('./language-configuration.json', import.meta.url).toString(), 'application/json');
12
12
  registerFileUrl('./snippets/c.code-snippets', new URL('./c.code-snippets', import.meta.url).toString(), 'application/json');
13
13
  registerFileUrl('./snippets/cpp.code-snippets', new URL('./c.code-snippets', import.meta.url).toString(), 'application/json');
14
+
15
+ export { whenReady };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-cpp-default-extension",
3
- "version": "1.81.8-next.1",
3
+ "version": "1.82.0-next.0",
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.1"
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.82.0-next.0"
21
22
  }
22
23
  }