Skip to content

Commit

Permalink
Fix GH-42: removed a dependency to monaco-editor-core
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
  • Loading branch information
akosyakov committed Feb 1, 2018
1 parent f0f2c10 commit 80934d5
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 11 deletions.
1 change: 0 additions & 1 deletion example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"src"
],
"files": [
"../node_modules/monaco-editor-core/monaco.d.ts"
"../node_modules/monaco-editor/monaco.d.ts"
]
}
2 changes: 1 addition & 1 deletion example/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const CopyWebpackPlugin = require('copy-webpack-plugin');

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

module.exports = {
entry: path.resolve(buildRoot, "main.js"),
Expand Down
5 changes: 0 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"dependencies": {
"glob-to-regexp": "^0.3.0",
"monaco-editor": "^0.10.0",
"monaco-editor-core": "^0.10.0",
"vscode-base-languageclient": "^0.0.1-alpha.2"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"src"
],
"files": [
"node_modules/monaco-editor-core/monaco.d.ts",
"node_modules/monaco-editor/monaco.d.ts",
"typings/monaco/index.d.ts",
"typings/glob-to-regexp/index.d.ts"
]
Expand Down
2 changes: 1 addition & 1 deletion typings/monaco/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path='../../node_modules/monaco-editor-core/monaco.d.ts'/>
/// <reference path='../../node_modules/monaco-editor/monaco.d.ts'/>

declare module monaco.editor {
export interface IStandaloneCodeEditor {
Expand Down

0 comments on commit 80934d5

Please sign in to comment.