Skip to content

Commit f7cebe9

Browse files
authored
Merge pull request #44 from Bit-Developer/upgrade-ngx-monaco-editor-v2
upgrade ngx-monaco-editor to v2
2 parents e189f98 + 86a1967 commit f7cebe9

5 files changed

Lines changed: 37 additions & 17 deletions

File tree

angular.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"assets": [
2020
{
2121
"glob": "**/*",
22-
"input": "node_modules/ngx-monaco-editor/assets/monaco",
22+
"input": "node_modules/monaco-editor",
2323
"output": "/assets/monaco"
2424
},
2525
"src/assets",
@@ -119,7 +119,7 @@
119119
"assets": [
120120
{
121121
"glob": "**/*",
122-
"input": "node_modules/ngx-monaco-editor/assets/monaco",
122+
"input": "node_modules/monaco-editor",
123123
"output": "/assets/monaco"
124124
},
125125
"src/assets",

package-lock.json

Lines changed: 32 additions & 12 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
@@ -35,7 +35,7 @@
3535
"core-js": "^2.6.12",
3636
"express": "^4.17.2",
3737
"hawk": "^7.1.2",
38-
"ngx-monaco-editor": "^5.0.0",
38+
"ngx-monaco-editor-v2": "^15.0.1",
3939
"rimraf": "^2.6.3",
4040
"rxjs": "^6.6.7",
4141
"rxjs-compat": "^6.6.7",

src/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { FooterComponent } from './footer/footer.component';
99
import { CompareEditorComponent } from './compare-editor/compare-editor.component';
1010

1111
import { FormsModule } from '@angular/forms';
12-
import { MonacoEditorModule } from 'ngx-monaco-editor';
12+
import { MonacoEditorModule } from 'ngx-monaco-editor-v2';
1313

1414
// routes
1515
import { appRoutes } from './app.route';

src/app/compare-editor/compare-editor.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
Output,
66
OnInit
77
} from '@angular/core';
8-
import { DiffEditorModel } from 'ngx-monaco-editor';
8+
import { DiffEditorModel } from 'ngx-monaco-editor-v2';
99

1010
@Component({
1111
selector: 'widget-compare-editor',

0 commit comments

Comments
 (0)