Skip to content

Commit

Permalink
fix monaco peer deps and linting (#3071)
Browse files Browse the repository at this point in the history
  • Loading branch information
acao authored Mar 4, 2023
1 parent b2ee6d8 commit 1821ef2
Show file tree
Hide file tree
Showing 25 changed files with 4,520 additions and 2,128 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-hotels-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'monaco-graphql': minor
---

Upgrade peer resolutions for monaco-graphql
1,552 changes: 614 additions & 938 deletions examples/monaco-graphql-nextjs/package-lock.json

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions examples/monaco-graphql-nextjs/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react';

import '../styles/globals.css';
import type { AppProps } from 'next/app';

Expand Down
1 change: 0 additions & 1 deletion examples/monaco-graphql-nextjs/src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { Html, Head, Main, NextScript } from 'next/document';

export default function Document() {
Expand Down
2 changes: 0 additions & 2 deletions examples/monaco-graphql-nextjs/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react';

import Head from 'next/head';
import dynamic from 'next/dynamic';

Expand Down
30 changes: 23 additions & 7 deletions examples/monaco-graphql-webpack/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@

### Patch Changes

- Updated dependencies [[`e68cb8bc`](https://github.com/graphql/graphiql/commit/e68cb8bcaf9baddf6fca747abab871ecd1bc7a4c), [`f788e65a`](https://github.com/graphql/graphiql/commit/f788e65aff267ec873237034831d1fd936222a9b), [`bdc966cb`](https://github.com/graphql/graphiql/commit/bdc966cba6134a72ff7fe40f76543c77ba15d4a4), [`db2a0982`](https://github.com/graphql/graphiql/commit/db2a0982a17134f0069483ab283594eb64735b7d), [`8725d1b6`](https://github.com/graphql/graphiql/commit/8725d1b6b686139286cf05dec6a84d89942128ba)]:
- Updated dependencies
[[`e68cb8bc`](https://github.com/graphql/graphiql/commit/e68cb8bcaf9baddf6fca747abab871ecd1bc7a4c),
[`f788e65a`](https://github.com/graphql/graphiql/commit/f788e65aff267ec873237034831d1fd936222a9b),
[`bdc966cb`](https://github.com/graphql/graphiql/commit/bdc966cba6134a72ff7fe40f76543c77ba15d4a4),
[`db2a0982`](https://github.com/graphql/graphiql/commit/db2a0982a17134f0069483ab283594eb64735b7d),
[`8725d1b6`](https://github.com/graphql/graphiql/commit/8725d1b6b686139286cf05dec6a84d89942128ba)]:
- graphql-language-service@5.1.2
- monaco-graphql@1.1.8

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.1.1-alpha.7](https://github.com/graphql/graphiql/compare/example-monaco-graphql-webpack@1.1.1-alpha.6...example-monaco-graphql-webpack@1.1.1-alpha.7) (2021-01-07)

Expand All @@ -34,7 +40,9 @@ All notable changes to this project will be documented in this file. See [Conven

### Bug Fixes

- improve setSchema & schema loading, allow primitive schema ([#1648](https://github.com/graphql/graphiql/issues/1648)) ([975f29e](https://github.com/graphql/graphiql/commit/975f29ed6e21c7354c42ed778dfd1b52287f70c6))
- improve setSchema & schema loading, allow primitive schema
([#1648](https://github.com/graphql/graphiql/issues/1648))
([975f29e](https://github.com/graphql/graphiql/commit/975f29ed6e21c7354c42ed778dfd1b52287f70c6))

## [1.1.1-alpha.1](https://github.com/graphql/graphiql/compare/example-monaco-graphql-webpack@1.1.1-alpha.0...example-monaco-graphql-webpack@1.1.1-alpha.1) (2020-08-12)

Expand All @@ -48,13 +56,17 @@ All notable changes to this project will be documented in this file. See [Conven

### Features

- [RFC] GraphiQL rewrite for monaco editor, react context and redesign, i18n ([#1523](https://github.com/graphql/graphiql/issues/1523)) ([ad730cd](https://github.com/graphql/graphiql/commit/ad730cdc2e3cb7216d821a01725c60475989ee20))
- [RFC] GraphiQL rewrite for monaco editor, react context and redesign, i18n
([#1523](https://github.com/graphql/graphiql/issues/1523))
([ad730cd](https://github.com/graphql/graphiql/commit/ad730cdc2e3cb7216d821a01725c60475989ee20))

# [1.0.0](https://github.com/graphql/graphiql/compare/example-monaco-graphql-webpack@1.0.0-alpha.8...example-monaco-graphql-webpack@1.0.0) (2020-06-11)

### Features

- standalone monaco API ([#1575](https://github.com/graphql/graphiql/issues/1575)) ([954aa3d](https://github.com/graphql/graphiql/commit/954aa3d7159fd26bba9650824e0f668e417ca64f))
- standalone monaco API
([#1575](https://github.com/graphql/graphiql/issues/1575))
([954aa3d](https://github.com/graphql/graphiql/commit/954aa3d7159fd26bba9650824e0f668e417ca64f))

# [1.0.0-alpha.8](https://github.com/graphql/graphiql/compare/example-monaco-graphql-webpack@1.0.0-alpha.7...example-monaco-graphql-webpack@1.0.0-alpha.8) (2020-06-04)

Expand All @@ -76,5 +88,9 @@ All notable changes to this project will be documented in this file. See [Conven

### Features

- Monaco Mode - Phase 2 - Mode & Worker ([#1459](https://github.com/graphql/graphiql/issues/1459)) ([bc95fb4](https://github.com/graphql/graphiql/commit/bc95fb46459a4437ff9471ff43c98e1c5c50f51e))
- monaco-graphql docs, api, improvements ([#1521](https://github.com/graphql/graphiql/issues/1521)) ([c79158c](https://github.com/graphql/graphiql/commit/c79158c72e976ab286e7ec3fded7f3e2d24e50d0))
- Monaco Mode - Phase 2 - Mode & Worker
([#1459](https://github.com/graphql/graphiql/issues/1459))
([bc95fb4](https://github.com/graphql/graphiql/commit/bc95fb46459a4437ff9471ff43c98e1c5c50f51e))
- monaco-graphql docs, api, improvements
([#1521](https://github.com/graphql/graphiql/issues/1521))
([c79158c](https://github.com/graphql/graphiql/commit/c79158c72e976ab286e7ec3fded7f3e2d24e50d0))
40 changes: 32 additions & 8 deletions packages/cm6-graphql/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,54 @@

### Patch Changes

- [#2995](https://github.com/graphql/graphiql/pull/2995) [`5f276c41`](https://github.com/graphql/graphiql/commit/5f276c415ad93350382fec873025ffecc9a29d9d) Thanks [@imolorhe](https://github.com/imolorhe)! - fix(cm6-graphql): Fix query token used as field name
- [#2995](https://github.com/graphql/graphiql/pull/2995)
[`5f276c41`](https://github.com/graphql/graphiql/commit/5f276c415ad93350382fec873025ffecc9a29d9d)
Thanks [@imolorhe](https://github.com/imolorhe)! - fix(cm6-graphql): Fix query
token used as field name

- [#2962](https://github.com/graphql/graphiql/pull/2962) [`db2a0982`](https://github.com/graphql/graphiql/commit/db2a0982a17134f0069483ab283594eb64735b7d) Thanks [@B2o5T](https://github.com/B2o5T)! - clean all ESLint warnings, add `--max-warnings=0` and `--cache` flags
- [#2962](https://github.com/graphql/graphiql/pull/2962)
[`db2a0982`](https://github.com/graphql/graphiql/commit/db2a0982a17134f0069483ab283594eb64735b7d)
Thanks [@B2o5T](https://github.com/B2o5T)! - clean all ESLint warnings, add
`--max-warnings=0` and `--cache` flags

- [#2940](https://github.com/graphql/graphiql/pull/2940) [`8725d1b6`](https://github.com/graphql/graphiql/commit/8725d1b6b686139286cf05dec6a84d89942128ba) Thanks [@B2o5T](https://github.com/B2o5T)! - enable `unicorn/prefer-node-protocol` rule
- [#2940](https://github.com/graphql/graphiql/pull/2940)
[`8725d1b6`](https://github.com/graphql/graphiql/commit/8725d1b6b686139286cf05dec6a84d89942128ba)
Thanks [@B2o5T](https://github.com/B2o5T)! - enable
`unicorn/prefer-node-protocol` rule

## 0.0.2

### Patch Changes

- [#2931](https://github.com/graphql/graphiql/pull/2931) [`f7addb20`](https://github.com/graphql/graphiql/commit/f7addb20c4a558fbfb4112c8ff095bbc8f9d9147) Thanks [@B2o5T](https://github.com/B2o5T)! - enable `no-negated-condition` and `no-else-return` rules
- [#2931](https://github.com/graphql/graphiql/pull/2931)
[`f7addb20`](https://github.com/graphql/graphiql/commit/f7addb20c4a558fbfb4112c8ff095bbc8f9d9147)
Thanks [@B2o5T](https://github.com/B2o5T)! - enable `no-negated-condition` and
`no-else-return` rules

- [#2922](https://github.com/graphql/graphiql/pull/2922) [`d1fcad72`](https://github.com/graphql/graphiql/commit/d1fcad72607e2789517dfe4936b5ec604e46762b) Thanks [@B2o5T](https://github.com/B2o5T)! - extends `plugin:import/recommended` and fix warnings
- [#2922](https://github.com/graphql/graphiql/pull/2922)
[`d1fcad72`](https://github.com/graphql/graphiql/commit/d1fcad72607e2789517dfe4936b5ec604e46762b)
Thanks [@B2o5T](https://github.com/B2o5T)! - extends
`plugin:import/recommended` and fix warnings

- [#2992](https://github.com/graphql/graphiql/pull/2992) [`cc245246`](https://github.com/graphql/graphiql/commit/cc2452467688f3cdcd7a196dddf47e3b81367d62) Thanks [@acao](https://github.com/acao)! - fix tsconfig reference, new netlify deploy
- [#2992](https://github.com/graphql/graphiql/pull/2992)
[`cc245246`](https://github.com/graphql/graphiql/commit/cc2452467688f3cdcd7a196dddf47e3b81367d62)
Thanks [@acao](https://github.com/acao)! - fix tsconfig reference, new netlify
deploy

## 0.0.1

### Patch Changes

- [#2867](https://github.com/graphql/graphiql/pull/2867) [`9fd12838`](https://github.com/graphql/graphiql/commit/9fd128381a86220a7c658f21d72baa8eea45a8af) Thanks [@imolorhe](https://github.com/imolorhe)! - fix: fixed "Mark decorations may not be empty" error
- [#2867](https://github.com/graphql/graphiql/pull/2867)
[`9fd12838`](https://github.com/graphql/graphiql/commit/9fd128381a86220a7c658f21d72baa8eea45a8af)
Thanks [@imolorhe](https://github.com/imolorhe)! - fix: fixed "Mark
decorations may not be empty" error

## 0.0.0

### Patch Changes

- [#2852](https://github.com/graphql/graphiql/pull/2852) [`20869583`](https://github.com/graphql/graphiql/commit/20869583eff563f5d6494e93302a835f0e034f4b) Thanks [@acao](https://github.com/acao)! - First release of a modern codemirror 6 mode for graphql by @imolorhe!
- [#2852](https://github.com/graphql/graphiql/pull/2852)
[`20869583`](https://github.com/graphql/graphiql/commit/20869583eff563f5d6494e93302a835f0e034f4b)
Thanks [@acao](https://github.com/acao)! - First release of a modern
codemirror 6 mode for graphql by @imolorhe!
Loading

0 comments on commit 1821ef2

Please sign in to comment.