Skip to content

Commit bb13c00

Browse files
authored
Merge pull request #58 from TypeFox/monaco-core
Depend on monaco-core only
2 parents cfacfcc + cb54c62 commit bb13c00

8 files changed

Lines changed: 27 additions & 34 deletions

File tree

example/package-lock.json

Lines changed: 20 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,5 @@
1818
},
1919
"include": [
2020
"src"
21-
],
22-
"files": [
23-
"../node_modules/monaco-editor/monaco.d.ts"
2421
]
2522
}

example/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path');
22
const CopyWebpackPlugin = require('copy-webpack-plugin');
33

44
const buildRoot = path.resolve(__dirname, "lib");
5-
const monacoEditorPath = '../node_modules/monaco-editor/dev/vs';
5+
const monacoEditorPath = '../node_modules/monaco-editor-core/dev/vs';
66

77
module.exports = {
88
entry: path.resolve(buildRoot, "main.js"),

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"dependencies": {
2222
"glob-to-regexp": "^0.3.0",
23-
"monaco-editor": "^0.10.0",
23+
"monaco-editor-core": "^0.10.1",
2424
"vscode-base-languageclient": "^0.0.1-alpha.2"
2525
},
2626
"scripts": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference path='../../node_modules/monaco-editor/monaco.d.ts'/>
1+
/// <reference types='monaco-editor-core/monaco'/>
22

33
declare module monaco.editor {
44
export interface IStandaloneCodeEditor {

tsconfig.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,5 @@
1919
},
2020
"include": [
2121
"src"
22-
],
23-
"files": [
24-
"node_modules/monaco-editor/monaco.d.ts",
25-
"typings/monaco/index.d.ts",
26-
"typings/glob-to-regexp/index.d.ts"
2722
]
2823
}

0 commit comments

Comments
 (0)