Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@hotwired/stimulus": "^3.2.2",
"dedent": "^1.7.2",
"lz-string": "^1.5.0",
"monaco-editor": "^0.55.1",
"monaco-editor": "^0.57.0",
"prismjs": "^1.30.0",
"vite": "^8.3.1"
},
Expand Down
5 changes: 1 addition & 4 deletions playground/src/language-service.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
languages,
Range as MonacoRange,
} from "monaco-editor/esm/vs/editor/edcore.main.js"
import { languages, Range as MonacoRange } from "monaco-editor/editor"

import {
ParserService,
Expand Down
2 changes: 1 addition & 1 deletion playground/src/monaco-environment.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import EditorWorker from "monaco-editor/esm/vs/editor/editor.worker.js?worker"
import EditorWorker from "monaco-editor/editor/editor.worker?worker"

self.MonacoEnvironment = {
getWorker() {
Expand Down
6 changes: 3 additions & 3 deletions playground/src/monaco.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import "./monaco-environment.js"
import "monaco-editor/features/register.all"
import "monaco-editor/languages/definitions/ruby/register"

import {
editor as MonacoEditor,
Expand All @@ -8,9 +10,7 @@ import {
KeyMod,
KeyCode,
languages,
} from "monaco-editor/esm/vs/editor/edcore.main.js"

import "monaco-editor/esm/vs/basic-languages/ruby/ruby.contribution.js"
} from "monaco-editor/editor"

const OVERFLOW_WIDGETS_ROOT_ID = "monaco-overflow-widgets-root"

Expand Down
4 changes: 0 additions & 4 deletions playground/src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/// <reference types="vite/client" />

declare module "monaco-editor/esm/vs/editor/edcore.main.js" {
export * from "monaco-editor/esm/vs/editor/editor.api"
}

declare module "*?worker" {
const WorkerConstructor: { new (): Worker }

Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2394,10 +2394,10 @@ domhandler@^4.2.0, domhandler@^4.3.1:
dependencies:
domelementtype "^2.2.0"

dompurify@3.2.7:
version "3.2.7"
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.2.7.tgz#721d63913db5111dd6dfda8d3a748cfd7982d44a"
integrity sha512-WhL/YuveyGXJaerVlMYGWhvQswa7myDG17P7Vu65EWC05o8vfeNbvNf4d/BOvH99+ZW+LlQsc1GDKMa1vNK6dw==
dompurify@3.4.15:
version "3.4.15"
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.4.15.tgz#30351b34513894f428c13bddb28bff0a027ae804"
integrity sha512-EUBjM+B+lkDE41iE82DDSCfkoPGfXx8IxFxPMjNzm/Uk4xDet77rTN9wqlxlVg71kK7XGuUMv6wUxJUwwv+Xyw==
optionalDependencies:
"@types/trusted-types" "^2.0.7"

Expand Down Expand Up @@ -4260,12 +4260,12 @@ mocha@^11.7.6:
yargs-parser "^21.1.1"
yargs-unparser "^2.0.0"

monaco-editor@^0.55.1:
version "0.55.1"
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.55.1.tgz#e74c6fe5a6bf985b817d2de3eb88d56afc494a1b"
integrity sha512-jz4x+TJNFHwHtwuV9vA9rMujcZRb0CEilTEwG2rRSpe/A7Jdkuj8xPKttCgOh+v/lkHy7HsZ64oj+q3xoAFl9A==
monaco-editor@^0.57.0:
version "0.57.0"
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.57.0.tgz#9889fb51ddc27fe90e6da0e96c237c852adc4654"
integrity sha512-5BkI9KGoqrNvBGUe15/QlZq3OooZ8WLg1AxTpaqHRCP3HNpzPPZKE2EDz8M7c+VRmCeUw1Brp4cx/PWm3kI/5A==
dependencies:
dompurify "3.2.7"
dompurify "3.4.15"
marked "14.0.0"

mrmime@^2.0.0:
Expand Down
Loading