Skip to content

Commit dd8c2b7

Browse files
committed
Use the correct monaco package
The `monaco` package is some indepdantly maintained build and not the original monaco editor. It also seemed incredibly outdated (9y) and not API compatible with the current `monaco` release and broke the editors. Switch to `monaco-editor` instead.
1 parent 808748c commit dd8c2b7

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

webapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"d3": "3.5.17",
66
"file-saver": "^2.0.5",
77
"jquery-debounce-throttle": "^1.0.6-rc.0",
8-
"monaco": "^1.201704190613.0",
8+
"monaco-editor": "^0.54.0",
99
"nvd3": "1.8.6",
1010
"select2": "^4.0.13"
1111
}

webapp/public/js/monaco/vs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../node_modules/monaco/build/vs
1+
../../../node_modules/monaco-editor/min/vs/

webapp/var/log/.gitkeep

100644100755
File mode changed.

webapp/yarn.lock

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ d3@3.5.17:
1717
resolved "https://registry.yarnpkg.com/d3/-/d3-3.5.17.tgz#bc46748004378b21a360c9fc7cf5231790762fb8"
1818
integrity sha512-yFk/2idb8OHPKkbAL8QaOaqENNoMhIaSHZerk3oQsECwkObkCpJyjYwCe+OHiq6UEdhe1m8ZGARRRO3ljFjlKg==
1919

20+
dompurify@3.1.7:
21+
version "3.1.7"
22+
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.1.7.tgz#711a8c96479fb6ced93453732c160c3c72418a6a"
23+
integrity sha512-VaTstWtsneJY8xzy7DekmYWEOZcmzIe3Qb3zPd4STve1OBTa+e+WmS1ITQec1fZYXI3HCsOZZiSMpG6oxoWMWQ==
24+
2025
file-saver@^2.0.5:
2126
version "2.0.5"
2227
resolved "https://registry.yarnpkg.com/file-saver/-/file-saver-2.0.5.tgz#d61cfe2ce059f414d899e9dd6d4107ee25670c38"
@@ -34,10 +39,18 @@ jquery@>=1.7:
3439
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.7.1.tgz#083ef98927c9a6a74d05a6af02806566d16274de"
3540
integrity sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==
3641

37-
monaco@^1.201704190613.0:
38-
version "1.201704190613.0"
39-
resolved "https://registry.npmjs.org/monaco/-/monaco-1.201704190613.0.tgz"
40-
integrity sha512-xcQUOfa7inJdhOjHmwxILMIyPk4nl80E9AVvwyz5PUC2uEbxSjNUR9tjEIUxR+rR5o0xe64lqsIpChSzu8YMOQ==
42+
marked@14.0.0:
43+
version "14.0.0"
44+
resolved "https://registry.yarnpkg.com/marked/-/marked-14.0.0.tgz#79a1477358a59e0660276f8fec76de2c33f35d83"
45+
integrity sha512-uIj4+faQ+MgHgwUW1l2PsPglZLOLOT1uErt06dAPtx2kjteLAkbsd/0FiYg/MGS+i7ZKLb7w2WClxHkzOOuryQ==
46+
47+
monaco-editor@^0.54.0:
48+
version "0.54.0"
49+
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.54.0.tgz#c0d6ebb46b83f1bef6f67f6aa471e38ba7ef8231"
50+
integrity sha512-hx45SEUoLatgWxHKCmlLJH81xBo0uXP4sRkESUpmDQevfi+e7K1VuiSprK6UpQ8u4zOcKNiH0pMvHvlMWA/4cw==
51+
dependencies:
52+
dompurify "3.1.7"
53+
marked "14.0.0"
4154

4255
nvd3@1.8.6:
4356
version "1.8.6"

0 commit comments

Comments
 (0)