瀏覽代碼

Adopt latest `monaco-editor-core`

Alexandru Dima 4 年之前
父節點
當前提交
ecd888cdc5
共有 3 個文件被更改,包括 7 次插入5 次删除
  1. 3 3
      package-lock.json
  2. 1 1
      package.json
  3. 3 1
      test/setup.js

+ 3 - 3
package-lock.json

@@ -1178,9 +1178,9 @@
 			"dev": true
 		},
 		"monaco-editor-core": {
-			"version": "0.21.0",
-			"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.21.0.tgz",
-			"integrity": "sha512-buBxOxwexlb7pdQrIHjj7OGmtVmEe735NN7M8GbhN03eYAKQmaeIAs1AyneOOHvbvh1Ntm7PoHH8f196gd2p6w==",
+			"version": "0.22.0",
+			"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.22.0.tgz",
+			"integrity": "sha512-KzghzcLxuLspZkOQdSqhAxES7pB/0VgjcBk126+e+ydiXAnrUTiMhiUV1lWA3cSPg0xL08HN64y5eYy+6Au8iw==",
 			"dev": true
 		},
 		"monaco-plugin-helpers": {

+ 1 - 1
package.json

@@ -24,7 +24,7 @@
 		"glob": "^7.1.6",
 		"husky": "^4.3.0",
 		"jsdom": "^16.4.0",
-		"monaco-editor-core": "0.21.0",
+		"monaco-editor-core": "0.22.0",
 		"monaco-plugin-helpers": "^1.0.3",
 		"prettier": "^2.1.2",
 		"pretty-quick": "^3.0.2",

+ 3 - 1
test/setup.js

@@ -20,4 +20,6 @@ define('vs/nls', [], {
 	}
 });
 
-define(['vs/editor/editor.main', function () {}]);
+define(['vs/editor/editor.main'], function (api) {
+	global.monaco = api;
+});