Skip to content

Commit

Permalink
add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheyenbrock authored and acao committed Mar 19, 2023
1 parent 03ebcc3 commit 44ebaef
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changeset/twenty-flies-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@graphiql/plugin-code-exporter': patch
'@graphiql/plugin-explorer': patch
'@graphiql/react': patch
---

Avoid bundling code from `react/jsx-runtime` so that the package can be used with Preact
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ onegraph
openvsx
ovsx
picomatch
preact
snyk
stackblitz
strictsoftware
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-code-exporter/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { GraphiQLPlugin } from '@graphiql/react';
import { useRef } from 'react';
import React, { useRef } from 'react';
import GraphiQLCodeExporter, {
GraphiQLCodeExporterProps,
} from 'graphiql-code-exporter';
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-explorer/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
useSchemaContext,
} from '@graphiql/react';
import GraphiQLExplorer, { GraphiQLExplorerProps } from 'graphiql-explorer';
import { useRef } from 'react';
import React, { useRef } from 'react';

import './graphiql-explorer.d.ts';
import './index.css';
Expand Down

0 comments on commit 44ebaef

Please sign in to comment.