Skip to content

Commit

Permalink
add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Aug 2, 2023
1 parent 369d33c commit 0d6b286
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .changeset/fluffy-pens-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
'monaco-graphql': patch
---

import only `editor.api` & basic features, add `monaco-graphql/lite`

- switch from exporting `edcore.js` to `editor.api.js` as recommended, and minimal features to get the editor working
- `edcore` imports `editor.all` which contains many monaco-editor features we don't use
- dynamic import of `json` language mode only if the user supplies configuration for json validation
- update monaco examples to show minimal `typescript` implementation alongside `graphql`
- add new simplified `exports` with backwards compatibility:
- `monaco-graphql/initializeMode`
- `monaco-graphql/graphql.worker`
- `monaco-graphql/monaco-editor`
- introduce `monaco-graphql/lite` for users who want the most minimum version possible, and to only import the features they need

0 comments on commit 0d6b286

Please sign in to comment.