Version Packages (alpha)#4309
Merged
trevor-scheer merged 1 commit intoMay 19, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release/cdn-fix-alpha, this PR will be updated.
release/cdn-fix-alphais currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonrelease/cdn-fix-alpha.Releases
graphiql@5.2.4-alpha.0
Patch Changes
5f44a27]:@graphiql/plugin-code-exporter@5.1.3-alpha.0
Patch Changes
5f44a27]:@graphiql/plugin-doc-explorer@0.4.3-alpha.0
Patch Changes
5f44a27]:@graphiql/plugin-explorer@5.1.3-alpha.0
Patch Changes
5f44a27]:@graphiql/plugin-history@0.4.3-alpha.0
Patch Changes
5f44a27]:@graphiql/react@0.37.6-alpha.0
Patch Changes
#4308
5f44a27Thanks @trevor-scheer! - Fix syntax highlighting and autocompletion when GraphiQL is loaded from a CDN such as esm.sh.The monaco store previously imported
monaco-graphql/esm/monaco-editor.js, a re-export module that both registers monaco-editor language contributions and re-exports the lean monaco-editor namespace. Some CDN bundlers (esm.sh's?standalonemode in particular) split that file in a way that leaves the consumer with two monaco-editor instances: one with thegraphqlandjsonlanguages registered, and one without. The lazily-loaded json/graphql tokenization runs against the unregistered instance and throwsCannot set tokens provider for unknown language json, breaking syntax highlighting and completion.The store now imports the language contribution side effects and the lean monaco-editor entry directly, so there is no re-export module for the bundler to split. Behavior is unchanged for npm-installed consumers using a bundler (Vite, webpack, Rollup, Next.js); module deduplication already produced a single instance there.
graphql-language-service-cli@3.5.1-alpha.0
Patch Changes
e46fc55]:graphql-language-service-server@2.14.10-alpha.0
Patch Changes
e46fc55Thanks @trevor-scheer! - Point the package'stypesfield atdist/index.d.ts, matching the CJS build output. The previoustypings: esm/index.d.tsreferenced the ESM build's output, which is emitted by a separate tsgo invocation that doesn't coordinate with the CJS project reference graph dependents rely on.tsctolerated the misaligned path by falling back todist/index.d.tsnext tomain;tsgoresolves project references more strictly and surfaced the misalignment as a "Could not find a declaration file" error during cold builds.vscode-graphql@0.13.6-alpha.0
Patch Changes
e46fc55]: