A graphql-react integration for Next.js.
^18.17.0 || >=20.4.0
.test-director
.AbortController
, AbortSignal
, Event
, EventTarget
, and performance
APIs available in modern Node.js and removed the dev dependencies abort-controller
and event-target-shim
.next
peer dependency to 12 - 14
, fixing #7.package.json
field repository
to conform to new npm requirements.eslint-plugin-optimal-modules
.actions/checkout
to v4.actions/setup-node
to v4.withGraphQLReact
tests:
next export
to the new Next.js static export API.startNext
.cjsDefaultImport
.next
peer dependency to 12 - 13
.graphql-react
peer dependency to ^20.0.0
.react-waterfall-render
dependency to v5.node:
URL scheme for Node.js builtin module imports in tests.fs
to node:fs/promises
in tests.fsPathRemove
with the function rm
from the Node.js builtin module node:fs/promises
.graphql-react
peer dependency to ^19.0.0
.react
and react-dom
peer dependencies to ^18.0.0
.react-dom/server
imports to suit React v18.not IE > 0
from the Browserslist query..js
file extension.^14.17.0 || ^16.0.0 || >= 18.0.0
.graphql-react
peer dependency to ^18.0.0
.jsdoc-md
dev dependency and the package docs-update
and docs-check
scripts, replacing the readme “API” section with a manually written “Exports” section.types
script.Link
header array values.React.createElement
instead of the the new React JSX runtime in tests.actions/checkout
to v3.actions/setup-node
to v3..mjs
file extension for Next.js pages in test fixtures.license.md
MIT License file.^12.22.0 || ^14.17.0 || >= 16.0.0
.graphql-react
peer dependency to ^16.0.0
.next
peer dependency to ^12.0.0
.files
and exports
fields../package
from the package exports
field; the full package.json
filename must be used in a require
path./public/
..mjs
files instead of CJS in .js
files, accessible via import
but not require
.React.createElement
instead of the the new React JSX runtime.graphql
dev dependency.singleQuote
to the default, false
.next
peer dependency to 9.5 - 11
.Head.rewind()
within the function withGraphQLReact
, as it was made a noop in Next.js v9.5 and was removed in Next.js v11.eslint-config-next
dev dependency for next
v11.graphql-react
peer dependency to 14 - 15
.disposable-directory
and install-from
dev dependencies.NEXT_TELEMETRY_DISABLED
environment variable to disable Next.js telemetry for tests.^12.20 || >= 14.13
.graphql-react
peer dependency to ^14.0.0
.package.json
exports
field public subpath folder mapping (deprecated by Node.js) with a subpath pattern. Deep require
paths within next-graphql-react/public/
must now include the .js
file extension..mjs
files instead of CJS in .js
files.sideEffects
field.jsdoc-md
v10+ automatically generates a Prettier formatted readme.test:jsdoc
script that checks the readme API docs are up to date with the source JSDoc..js
file extension in internal require
paths.changelog.md
is no longer published.