feat(playground): Upgrade SQL editor to CodeMirror 6 and consolidate pnpm workspaces#62
Merged
Merged
Conversation
Add syntax highlighting (PostgreSQL dialect), line numbers, bracket matching, undo/redo, and search to the SQL input. The editor uses a custom amber theme that matches the existing playground aesthetic.
Hide sidebar controls and stretch the SQL editor to fill the sidebar height so longer DDL can be edited comfortably.
Move per-package pnpm-workspace.yaml and lockfiles into a single root workspace. Shared devDependencies (esbuild, oxfmt, oxlint, @typescript/native-preview) are managed via pnpm catalog. Unify Dependabot npm entry and update CI workflows to install from the workspace root.
mhiro2
force-pushed
the
feat/playground-codemirror-editor
branch
from
April 13, 2026 13:42
169e8c4 to
6f0c999
Compare
Code Metrics Report
Details | | main (371a2cb) | #62 (eb4ded1) | +/- |
|---------------------|----------------|---------------|------|
| Coverage | 94.2% | 94.2% | 0.0% |
| Files | 77 | 77 | 0 |
| Lines | 31140 | 31140 | 0 |
| Covered | 29365 | 29365 | 0 |
- | Test Execution Time | 2m53s | 3m1s | +8s |Reported by octocov |
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.
Summary
highlighting, line numbers, bracket matching, undo/redo, and search
pnpm-workspace.yamlfiles and lockfiles into a single root pnpm workspace withshared devDependencies managed via catalog
Changes
search/replace panel
editor.ts@codemirror/*dependencies to the playground packageDDL editing
pnpm-workspace.yamland lockfiles into a single root workspaceesbuild,oxfmt,oxlint,@typescript/native-preview) via pnpm catalog