@codingame/monaco-editor-wrapper 1.14.9 → 2.1.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 (98) hide show
  1. package/dist/COBOL.tmLanguage.js +2 -2
  2. package/dist/META.js +100 -0
  3. package/dist/atd.js +114 -0
  4. package/dist/atd2.js +110 -0
  5. package/dist/cobol-snippets.js +2 -2117
  6. package/dist/cobol2.js +46 -0
  7. package/dist/cpp.tmLanguage.js +50 -15
  8. package/dist/cpptools.js +44 -3
  9. package/dist/cram.js +257 -0
  10. package/dist/dart3.js +37 -1
  11. package/dist/directives.tmLanguage.js +20 -0
  12. package/dist/dune-project.js +65 -0
  13. package/dist/dune-project2.js +481 -0
  14. package/dist/dune-workspace.js +65 -0
  15. package/dist/dune-workspace2.js +298 -0
  16. package/dist/dune.js +65 -0
  17. package/dist/dune2.js +2962 -0
  18. package/dist/erlang.js +4 -4
  19. package/dist/features/extensionConfigurations.js +11 -1
  20. package/dist/fsharp.tmLanguage.js +24 -4
  21. package/dist/index.js +38 -1
  22. package/dist/interpolations.tmLanguage.js +20 -0
  23. package/dist/java2.js +6 -0
  24. package/dist/json.js +1 -1
  25. package/dist/jsonc.js +1 -1
  26. package/dist/lua2.js +1089 -125
  27. package/dist/main.js +825 -426
  28. package/dist/markdown-svelte-css.js +37 -0
  29. package/dist/markdown-svelte-js.js +37 -0
  30. package/dist/markdown-svelte.js +59 -0
  31. package/dist/markdown-vue.js +59 -0
  32. package/dist/menhir-action.js +51 -0
  33. package/dist/menhir.js +597 -0
  34. package/dist/merlin.js +23 -23
  35. package/dist/monaco.d.ts +1 -1
  36. package/dist/oasis.js +99 -0
  37. package/dist/ocaml-dune-project.js +38 -0
  38. package/dist/ocaml-dune.js +53 -0
  39. package/dist/ocaml-markdown-codeblock.js +1 -1
  40. package/dist/ocaml-ocaml.js +88 -0
  41. package/dist/ocaml-ocamllex.js +12 -0
  42. package/dist/ocaml.META.js +29 -0
  43. package/dist/ocaml.interface.js +114 -0
  44. package/dist/ocaml.interface2.js +292 -0
  45. package/dist/ocaml.js +40 -8
  46. package/dist/ocaml.menhir.js +81 -0
  47. package/dist/ocaml.oasis.js +18 -0
  48. package/dist/ocaml.ocamlbuild.js +45 -0
  49. package/dist/ocaml.ocamlformat.js +8 -0
  50. package/dist/ocaml.ocamllex.js +60 -0
  51. package/dist/ocaml.opam-install.js +49 -0
  52. package/dist/ocaml.opam.js +69 -0
  53. package/dist/ocaml2.js +600 -2676
  54. package/dist/ocaml3.js +89 -105
  55. package/dist/ocamlbuild.js +142 -192
  56. package/dist/ocamldoc.js +54 -0
  57. package/dist/ocamlformat.js +206 -0
  58. package/dist/ocamllex.js +133 -0
  59. package/dist/omnisharp.js +2 -2
  60. package/dist/opam-install.js +40 -0
  61. package/dist/opam.js +100 -109
  62. package/dist/postcss.src.yaml.js +393 -0
  63. package/dist/pug-svelte-dotblock.js +69 -0
  64. package/dist/pug-svelte-tags.js +215 -0
  65. package/dist/pug-svelte.js +307 -0
  66. package/dist/reason-markdown-codeblock.js +1 -1
  67. package/dist/reason.js +0 -4
  68. package/dist/scalameta.js +5 -3
  69. package/dist/sql.tmLanguage.js +21 -5
  70. package/dist/svelte.js +118 -0
  71. package/dist/svelte.svelte-vscode-svelte.js +46 -0
  72. package/dist/svelte.svelte-vscode.js +373 -0
  73. package/dist/svelte.tmLanguage.src.yaml.js +1099 -0
  74. package/dist/theme-defaults~light_vs.js +2 -1
  75. package/dist/tools/EditorOpenHandlerRegistry.d.ts +8 -0
  76. package/dist/typescript-language-features.js +16 -0
  77. package/dist/typescript.js +20 -1
  78. package/dist/typescriptreact.js +20 -1
  79. package/dist/vetur.js +407 -0
  80. package/dist/vscode-R.js +55 -0
  81. package/dist/vscode-python.js +6 -6
  82. package/dist/vue-generated.js +1301 -0
  83. package/dist/vue-html.js +99 -0
  84. package/dist/vue-html.tmLanguage.js +573 -0
  85. package/dist/vue-postcss.js +72 -0
  86. package/dist/vue-sugarss.js +60 -0
  87. package/dist/vue-sugarss2.js +396 -0
  88. package/dist/vue.js +106 -0
  89. package/package.json +52 -6
  90. package/stats.html +1 -1
  91. package/dist/ocaml-hover-info.js +0 -34
  92. package/dist/ocaml-hover-type.js +0 -24
  93. package/dist/ocaml-reason.js +0 -100
  94. package/dist/reason-hover-info.js +0 -34
  95. package/dist/reason-hover-signature.js +0 -21
  96. package/dist/reason-hover-type.js +0 -21
  97. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -9
  98. package/dist/services/TextModelService.d.ts +0 -25
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@codingame/monaco-editor-wrapper",
3
- "version": "1.14.9",
3
+ "version": "2.1.0",
4
4
  "private": false,
5
5
  "description": "Enhanced Monaco editor with TextMate grammars and more",
6
6
  "scripts": {
7
- "build": "rollup --config rollup.config.ts --configPlugin typescript && npm run generate-types",
7
+ "build": "npm run lint && rollup --config rollup.config.ts --configPlugin typescript && npm run generate-types",
8
8
  "generate-types": "tsc --project tsconfig.types.json",
9
- "update-extensions": "ts-node update-extensions.ts"
9
+ "update-extensions": "node --loader ts-node/esm update-extensions.ts",
10
+ "lint": "eslint --ext .ts src update-extensions.ts"
10
11
  },
11
12
  "repository": {
12
13
  "type": "git",
@@ -15,6 +16,50 @@
15
16
  "moduleResolution": "node",
16
17
  "main": "dist/main.js",
17
18
  "module": "dist/main.js",
19
+ "exports": {
20
+ ".": {
21
+ "default": "./dist/main.js"
22
+ },
23
+ "./features/jsonContribution": {
24
+ "types": "./dist/features/jsonContribution.d.ts",
25
+ "default": "./dist/features/jsonContribution.js"
26
+ },
27
+ "./features/cssContribution": {
28
+ "types": "./dist/features/cssContribution.d.ts",
29
+ "default": "./dist/features/cssContribution.js"
30
+ },
31
+ "./features/htmlContribution": {
32
+ "types": "./dist/features/htmlContribution.d.ts",
33
+ "default": "./dist/features/htmlContribution.js"
34
+ },
35
+ "./features/typescriptContribution": {
36
+ "types": "./dist/features/typescriptContribution.d.ts",
37
+ "default": "./dist/features/typescriptContribution.js"
38
+ },
39
+ "./features/extensionConfigurations": {
40
+ "types": "./dist/features/extensionConfigurations.d.ts",
41
+ "default": "./dist/features/extensionConfigurations.js"
42
+ }
43
+ },
44
+ "typesVersions": {
45
+ "*": {
46
+ "./features/jsonContribution": [
47
+ "./dist/features/jsonContribution.d.ts"
48
+ ],
49
+ "./features/cssContribution": [
50
+ "./dist/features/cssContribution.d.ts"
51
+ ],
52
+ "./features/htmlContribution": [
53
+ "./dist/features/htmlContribution.d.ts"
54
+ ],
55
+ "./features/typescriptContribution": [
56
+ "./dist/features/typescriptContribution.d.ts"
57
+ ],
58
+ "./features/extensionConfigurations": [
59
+ "./dist/features/extensionConfigurations.d.ts"
60
+ ]
61
+ }
62
+ },
18
63
  "files": [
19
64
  "dist/",
20
65
  "stats.html"
@@ -22,6 +67,7 @@
22
67
  "types": "dist/index.d.ts",
23
68
  "dependencies": {
24
69
  "monaco-editor": "npm:@codingame/monaco-editor@^0.33.6",
70
+ "vscode": "npm:@codingame/monaco-vscode-api@~1.67.9",
25
71
  "vscode-oniguruma": "^1.6.2"
26
72
  },
27
73
  "devDependencies": {
@@ -36,11 +82,11 @@
36
82
  "@rollup/plugin-alias": "3.1.9",
37
83
  "@rollup/plugin-babel": "5.3.1",
38
84
  "@rollup/plugin-commonjs": "22.0.0",
39
- "@rollup/plugin-eslint": "8.0.2",
40
85
  "@rollup/plugin-json": "4.1.0",
41
86
  "@rollup/plugin-node-resolve": "13.3.0",
42
87
  "@rollup/plugin-typescript": "^8.3.3",
43
88
  "@types/ini": "1.3.31",
89
+ "@types/js-yaml": "^4.0.5",
44
90
  "@types/node": "16.11.7",
45
91
  "@types/rollup-plugin-node-builtins": "^2.1.2",
46
92
  "@typescript-eslint/eslint-plugin": "5.27.1",
@@ -56,6 +102,7 @@
56
102
  "eslint-plugin-unused-imports": "2.0.0",
57
103
  "fast-plist": "0.1.2",
58
104
  "ini": "3.0.0",
105
+ "js-yaml": "^4.1.0",
59
106
  "json5": "2.2.1",
60
107
  "monaco-emacs": "^0.3.0",
61
108
  "monaco-vim": "^0.3.4",
@@ -70,8 +117,7 @@
70
117
  "ts-node": "10.8.1",
71
118
  "tslib": "^2.4.0",
72
119
  "typescript": "4.7.3",
73
- "vscode-textmate": "^6.0.0",
74
- "yaml": "2.1.1"
120
+ "vscode-textmate": "^6.0.0"
75
121
  },
76
122
  "browserslist": [
77
123
  "defaults",