Patch Changes
-
#4231
6f5d5d2Thanks @trevor-scheer! - Fix degraded type declarations in published packagesBoth packages import from
@graphiql/reactat build time but only declared it as a peer dependency. Yarn workspaces topologically orders builds viadependencies/devDependencies, notpeerDependencies, so on a clean checkout these plugins built before@graphiql/reacthad emitted itsdist/*.d.ts.vite-plugin-dtsthen rantscagainst unresolved@graphiql/reactimports, fell back toanyfor any return type that flowed throughuseGraphiQL, and published.d.tsartifacts where hooks likeuseDocExploreranduseDocExplorerActionsresolved to() => anyinstead of their real shapes.Adding
@graphiql/reactas adevDependencymatches the pattern already in@graphiql/plugin-explorerand@graphiql/plugin-code-exporterand lets the build run in topological order. -
#4140
40359ebThanks @trevor-scheer! - Removereact-compiler-runtimepeer dependency -
#4211
e7b30c1Thanks @davidjb! - Add *.css to sideEffects to allow import of CSS in Webpack Javascript