Skip to content

feat!: load monaco-editor 0.56.0 by default#67

Merged
exKAZUu merged 2 commits into
mainfrom
feat/monaco-0.56
Jul 26, 2026
Merged

feat!: load monaco-editor 0.56.0 by default#67
exKAZUu merged 2 commits into
mainfrom
feat/monaco-0.56

Conversation

@exKAZUu

@exKAZUu exKAZUu commented Jul 26, 2026

Copy link
Copy Markdown
Member

Summary

Upgrades @willbooster/monaco-loader to 2.0.0 and monaco-editor to the latest stable 0.56.0.

Monaco 0.56.0 reorganized its ESM entry points, and its exports map no longer resolves monaco-editor/esm/vs/editor/editor.api.js, so the type imports now use the monaco-editor root entry, which re-exports the same editor, Uri, and IDisposable types.

Verification

  • bun verify-full passes: typecheck, unit tests, and all five Playwright e2e tests, which load the real 0.56.0 assets from jsDelivr.
  • Unit snapshots updated for the loader's new default CDN URL.

BREAKING CHANGE: The default asset base URL and the pinned monaco-editor dependency moved from 0.55.1 to 0.56.0, so consumers now load a Monaco runtime with breaking API changes (most notably IOverlayWidgetPosition.stackOridinal renamed to stackOrdinal). TypeScript consumers also need a moduleResolution of bundler, node16, or nodenext, because monaco-editor 0.56.0 exposes its types only through its exports map.

exKAZUu and others added 2 commits July 26, 2026 16:56
Upgrade `@willbooster/monaco-loader` to 2.0.0 and `monaco-editor` to 0.56.0.

Monaco 0.56.0 reorganized its ESM entry points and its `exports` map no
longer resolves `monaco-editor/esm/vs/editor/editor.api.js`, so the type
imports now use the `monaco-editor` root entry, which re-exports the same
`editor`, `Uri`, and `IDisposable` types.

BREAKING CHANGE: The default asset base URL and the pinned `monaco-editor`
dependency moved from 0.55.1 to 0.56.0, so consumers now load a Monaco
runtime with breaking API changes (most notably
`IOverlayWidgetPosition.stackOridinal` renamed to `stackOrdinal`).

Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
`monaco-editor` 0.56.0 exposes its type declarations only through its
`exports` map, and its legacy `typings` field points at a file missing from
the published tarball, so `moduleResolution: node10` can no longer resolve
them through this package's `dist/index.d.ts`.

Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates monaco-editor to version 0.56.0 and @willbooster/monaco-loader to version 2.0.0. It simplifies type imports from monaco-editor/esm/vs/editor/editor.api.js to monaco-editor across the codebase, updates the README to document the new moduleResolution requirements, and updates lockfiles, tests, and snapshots accordingly. I have no feedback to provide.

@exKAZUu
exKAZUu merged commit d1a8674 into main Jul 26, 2026
7 checks passed
@exKAZUu
exKAZUu deleted the feat/monaco-0.56 branch July 26, 2026 08:10
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