Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix import bug that broke support for all versions after [email protected]
  • Loading branch information
Nishchit14 authored Oct 10, 2021
1 parent af84094 commit fec37c6
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/flat-flies-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'monaco-graphql': minor
---

devDependancy and peerDependancy of monaco-graphql has been upgraded for monaco-editor. monaco-graphql is now supporting latest version of monaco-editor which is v0.27.0
4 changes: 2 additions & 2 deletions examples/monaco-graphql-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"css-loader": "^3.5.1",
"file-loader": "6.2.0",
"html-webpack-plugin": "^4.2.0",
"monaco-editor": "^0.20.0",
"monaco-editor-webpack-plugin": "^1.9.0",
"monaco-editor": "^0.27.0",
"monaco-editor-webpack-plugin": "^4.0.0",
"react-dom": "^16.12.0",
"style-loader": "^1.1.3",
"typescript": "^4.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/graphiql-2-rfc-context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"i18next": "^19.4.4",
"i18next-browser-languagedetector": "^4.1.1",
"markdown-it": "^10.0.0",
"monaco-editor": "^0.20.0",
"monaco-editor": "^0.27.0",
"monaco-graphql": "^0.4.2",
"react-i18next": "^11.4.0",
"theme-ui": "^0.3.1"
Expand Down Expand Up @@ -86,7 +86,7 @@
"jest": "^25.3.0",
"jsdom": "^16.4.0",
"mini-css-extract-plugin": "^0.9.0",
"monaco-editor-webpack-plugin": "^1.9.0",
"monaco-editor-webpack-plugin": "^4.0.0",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/monaco-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"devDependencies": {
"graphql": "experimental-stream-defer",
"monaco-editor": "^0.20.0",
"monaco-editor": "^0.27.0",
"vscode-languageserver-types": "^3.15.1"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/monaco-graphql/src/GraphQLWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import { FormattingOptions, ICreateData } from './typings';

import type { worker, editor, Position, IRange } from 'monaco-editor';
import * as monaco from 'monaco-editor';

import { getRange, LanguageService } from 'graphql-language-service';

Expand Down
1 change: 1 addition & 0 deletions packages/monaco-graphql/src/graphqlMode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

import { Uri, IDisposable } from 'monaco-editor';
import * as monaco from 'monaco-editor';

import IRichLanguageConfiguration = monaco.languages.LanguageConfiguration;

Expand Down
2 changes: 2 additions & 0 deletions packages/monaco-graphql/src/languageFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import type {
IRange,
} from 'monaco-editor';

import * as monaco from 'monaco-editor';

import { editor } from 'monaco-editor/esm/vs/editor/editor.api';
import { CompletionItemKind as lsCompletionItemKind } from 'vscode-languageserver-types';
import { CompletionItem as GraphQLCompletionItem } from 'graphql-language-service';
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12535,10 +12535,10 @@ monaco-editor-webpack-plugin@^1.9.0:
dependencies:
loader-utils "^1.2.3"

monaco-editor@^0.20.0:
version "0.20.0"
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.20.0.tgz#5d5009343a550124426cb4d965a4d27a348b4dea"
integrity sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ==
monaco-editor@^0.27.0:
version "0.27.0"
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.27.0.tgz#4b69108bb1dc1f60174c5dcdf51bc5306ab5ba26"
integrity sha512-UhwP78Wb8w0ZSYoKXQNTV/0CHObp6NS3nCt51QfKE6sKyBo5PBsvuDOHoI2ooBakc6uIwByRLHVeT7+yXQe2fQ==

move-concurrently@^1.0.1:
version "1.0.1"
Expand Down

0 comments on commit fec37c6

Please sign in to comment.