Skip to content

Version Packages (alpha)#4309

Merged
trevor-scheer merged 1 commit into
release/cdn-fix-alphafrom
changeset-release/release/cdn-fix-alpha
May 19, 2026
Merged

Version Packages (alpha)#4309
trevor-scheer merged 1 commit into
release/cdn-fix-alphafrom
changeset-release/release/cdn-fix-alpha

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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-alpha is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on release/cdn-fix-alpha.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

graphiql@5.2.4-alpha.0

Patch Changes

  • Updated dependencies [5f44a27]:
    • @graphiql/react@0.37.6-alpha.0
    • @graphiql/plugin-doc-explorer@0.4.3-alpha.0
    • @graphiql/plugin-history@0.4.3-alpha.0

@graphiql/plugin-code-exporter@5.1.3-alpha.0

Patch Changes

  • Updated dependencies [5f44a27]:
    • @graphiql/react@0.37.6-alpha.0

@graphiql/plugin-doc-explorer@0.4.3-alpha.0

Patch Changes

  • Updated dependencies [5f44a27]:
    • @graphiql/react@0.37.6-alpha.0

@graphiql/plugin-explorer@5.1.3-alpha.0

Patch Changes

  • Updated dependencies [5f44a27]:
    • @graphiql/react@0.37.6-alpha.0

@graphiql/plugin-history@0.4.3-alpha.0

Patch Changes

  • Updated dependencies [5f44a27]:
    • @graphiql/react@0.37.6-alpha.0

@graphiql/react@0.37.6-alpha.0

Patch Changes

  • #4308 5f44a27 Thanks @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 ?standalone mode in particular) split that file in a way that leaves the consumer with two monaco-editor instances: one with the graphql and json languages registered, and one without. The lazily-loaded json/graphql tokenization runs against the unregistered instance and throws Cannot 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

  • Updated dependencies [e46fc55]:
    • graphql-language-service-server@2.14.10-alpha.0

graphql-language-service-server@2.14.10-alpha.0

Patch Changes

  • #4308 e46fc55 Thanks @trevor-scheer! - Point the package's types field at dist/index.d.ts, matching the CJS build output. The previous typings: esm/index.d.ts referenced 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. tsc tolerated the misaligned path by falling back to dist/index.d.ts next to main; tsgo resolves 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

  • Updated dependencies [e46fc55]:
    • graphql-language-service-server@2.14.10-alpha.0

@trevor-scheer trevor-scheer reopened this May 19, 2026
@trevor-scheer trevor-scheer merged commit 573d04c into release/cdn-fix-alpha May 19, 2026
6 of 7 checks passed
@trevor-scheer trevor-scheer deleted the changeset-release/release/cdn-fix-alpha branch May 19, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant