monacozen 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +119 -24
  2. package/assets/{bat-C6DzPBcU.js → bat-T2vjbQzY.js} +1 -1
  3. package/assets/{clojure-D8WHGr6v.js → clojure-BvXzD8Uz.js} +1 -1
  4. package/assets/{coffee-C16Mnhbm.js → coffee-D_yet6sT.js} +1 -1
  5. package/assets/{cpp-_HbkGdoj.js → cpp-CsfEADPM.js} +1 -1
  6. package/assets/{csharp-DeGXkEgi.js → csharp-jw3fFksF.js} +1 -1
  7. package/assets/{css-DmO2GtiT.js → css-FsiUe-xI.js} +1 -1
  8. package/assets/{css.worker-zFzGcGyJ.js → css.worker-BIsSvM_Q.js} +36 -36
  9. package/assets/{css.worker-B59bB4vF.js → css.worker-BSHdDU9y.js} +2 -2
  10. package/assets/cssMode-BLJVTAbR.js +65 -0
  11. package/assets/{cypher-5654EJL_.js → cypher-B8DgU2PH.js} +1 -1
  12. package/assets/{dart-BjXVSQM-.js → dart-D1x60wEn.js} +1 -1
  13. package/assets/{dockerfile-DSA8TJLS.js → dockerfile-DSHxsy4G.js} +1 -1
  14. package/assets/{editor.api-C_6h_pYy.js → editor.api-ZYFspLPt.js} +15851 -13551
  15. package/assets/editorWebWorkerMain-BioN9fGU.js +33 -0
  16. package/assets/{editorWebWorkerMain-Cpqca1A3.js → editorWebWorkerMain-DXr8-Jst.js} +2 -2
  17. package/assets/{elixir-CzC02SL7.js → elixir-Cr7BtjRU.js} +1 -1
  18. package/assets/{fsharp-DRGCXPNW.js → fsharp-CeVKIr0d.js} +1 -1
  19. package/assets/{go-CyErB8P9.js → go-BL4_0srD.js} +1 -1
  20. package/assets/{graphql-CNnvnjR8.js → graphql-mhWekwK0.js} +1 -1
  21. package/assets/{handlebars-B9HHtHT5.js → handlebars-rQdtgZoQ.js} +2 -2
  22. package/assets/{hcl-D4a6HBjk.js → hcl-CfyDj6z_.js} +1 -1
  23. package/assets/{html-B5_5MvV-.js → html-DIDrd2Z7.js} +2 -2
  24. package/assets/{html.worker-Czi9KUKj.js → html.worker-BrBx6eB3.js} +2 -2
  25. package/assets/{html.worker-D4M1xqlZ.js → html.worker-CEvqvEpu.js} +27 -27
  26. package/assets/htmlMode-C87jndIO.js +74 -0
  27. package/assets/{ini-CpSjysbn.js → ini-DhiXkl_g.js} +1 -1
  28. package/assets/{java-DkRrYYRp.js → java-Ct9YHm5L.js} +1 -1
  29. package/assets/{javascript-Da2MNB2t.js → javascript-By915NHa.js} +2 -2
  30. package/assets/{json.worker-pkLWnKxn.js → json.worker-B0PzJ5jL.js} +2 -2
  31. package/assets/json.worker-CAiVr-gV.js +65 -0
  32. package/assets/{jsonMode-BtwFVp_X.js → jsonMode-DLDmNGq-.js} +47 -47
  33. package/assets/{julia-DXDdnD4p.js → julia-BAYXm_pL.js} +1 -1
  34. package/assets/{kotlin-BNDyMshT.js → kotlin-JEujETri.js} +1 -1
  35. package/assets/{less-3yDKfG4U.js → less-oHZXXDVD.js} +1 -1
  36. package/assets/{liquid-DCciKNzb.js → liquid-Cvs1eMgo.js} +2 -2
  37. package/assets/{lspLanguageFeatures-CAn_K3Js.js → lspLanguageFeatures-D6P77uh_.js} +3 -3
  38. package/assets/{lua-CqDy9oHE.js → lua-B3ViXcD8.js} +1 -1
  39. package/assets/{markdown-DIkeztiD.js → markdown-Ggb6Rgvc.js} +1 -1
  40. package/assets/{mdx-BcOG7QFm.js → mdx-Ce7sXDA4.js} +2 -2
  41. package/assets/{mips-BUbWxz0r.js → mips-cYdfQChM.js} +1 -1
  42. package/assets/{monaco-BMsB0TPD.js → monaco-DEq8WAj8.js} +10920 -9482
  43. package/assets/monaco-d37b1a8f.css +3 -0
  44. package/assets/{mysql-CX3tETwr.js → mysql-nklBC2QL.js} +1 -1
  45. package/assets/{objective-c-CK2i53vc.js → objective-c-x5BzCYEv.js} +1 -1
  46. package/assets/{pascal-wnGRqmNG.js → pascal-DWL5ya_C.js} +1 -1
  47. package/assets/{perl-DXuijcFO.js → perl-CbRoLks6.js} +1 -1
  48. package/assets/{pgsql-BFvD7ctB.js → pgsql-CVS-AsDB.js} +1 -1
  49. package/assets/{php-FZHoZ5C_.js → php-6gZIubF1.js} +1 -1
  50. package/assets/{powershell-Wf4X7WOf.js → powershell-DKgJI7BG.js} +1 -1
  51. package/assets/{protobuf-CcMDFVG6.js → protobuf-N0VyW3k9.js} +1 -1
  52. package/assets/{pug-OPBd_9cN.js → pug-BIMEUctf.js} +1 -1
  53. package/assets/{python-D2Z49Cw8.js → python-BKt2Winm.js} +2 -2
  54. package/assets/{r-FHjiK9Ff.js → r-Cb2uCcX6.js} +1 -1
  55. package/assets/{redis-CLJ_Tkzp.js → redis-D1CRAuQ1.js} +1 -1
  56. package/assets/{ruby-Dhjv9xsd.js → ruby-BzpgsYNr.js} +1 -1
  57. package/assets/{rust-Bq7le2bN.js → rust-CkIXqWDr.js} +1 -1
  58. package/assets/{scala-Bth6QY64.js → scala-CnJ7htCu.js} +1 -1
  59. package/assets/{scss-DVPfVfp2.js → scss-xP2eAFyY.js} +1 -1
  60. package/assets/{shell-DYY2DoAm.js → shell-JSjWPSrk.js} +1 -1
  61. package/assets/{solidity-C2dWya5C.js → solidity-C8AFhoIi.js} +1 -1
  62. package/assets/{sql-CE5EfRV1.js → sql-DqW-LmZI.js} +1 -1
  63. package/assets/{swift-v0LuaFKN.js → swift-BcHKQY-M.js} +1 -1
  64. package/assets/{systemverilog-BRC61WOW.js → systemverilog-Dmu-Ht4V.js} +1 -1
  65. package/assets/{ts.worker-CokkJ1Lk.js → ts.worker-BAchZA3W.js} +2 -2
  66. package/assets/{ts.worker-De3FAST6.js → ts.worker-DZhhT1EO.js} +131 -131
  67. package/assets/{tsMode-cdcRizUc.js → tsMode-DdcTxg_i.js} +7 -8
  68. package/assets/{twig-Dq5WyzaF.js → twig-Bj4rwioa.js} +1 -1
  69. package/assets/{typescript-B25ZZJLy.js → typescript-Djsb1cC9.js} +2 -2
  70. package/assets/{typespec-DVZXVZWY.js → typespec-xwJ6QpRP.js} +1 -1
  71. package/assets/{vb--Ows3SAS.js → vb-CMxAjmFH.js} +1 -1
  72. package/assets/{wgsl-gwRTfDFE.js → wgsl-CTYGQRo2.js} +1 -1
  73. package/assets/{xml-BD6eVsMx.js → xml-D7cJD5hW.js} +2 -2
  74. package/assets/{yaml-unVkvP57.js → yaml-B8A0QdVf.js} +2 -2
  75. package/assets/yaml.worker-Crtsysk5.js +474 -0
  76. package/assets/yaml.worker-DZ36155v.js +6 -0
  77. package/lib.d.ts +41 -17
  78. package/lib.js +2 -0
  79. package/package.json +1 -1
  80. package/src/main.js +19 -14
  81. package/assets/azcli-ue5GhsHI.js +0 -55
  82. package/assets/cameligo-BoKy-zSd.js +0 -191
  83. package/assets/csp-DGVEba9U.js +0 -48
  84. package/assets/cssMode-B-yiAIn5.js +0 -65
  85. package/assets/ecl-DoDWSDGs.js +0 -228
  86. package/assets/editorWebWorkerMain-_4oyTYIl.js +0 -33
  87. package/assets/freemarker2-Jvnudjht.js +0 -718
  88. package/assets/htmlMode-DcETbRqN.js +0 -74
  89. package/assets/json.worker-D3-21m4I.js +0 -65
  90. package/assets/m3-DyBtJGhR.js +0 -195
  91. package/assets/monaco-ffd8b062.css +0 -3
  92. package/assets/msdax-95fojGvn.js +0 -158
  93. package/assets/pascaligo-DR2NqTqc.js +0 -203
  94. package/assets/pla-Cmb_VVG6.js +0 -148
  95. package/assets/postiats-DUwtyBVk.js +0 -506
  96. package/assets/powerquery-wUlwxvME.js +0 -192
  97. package/assets/qsharp-C4P6iWbB.js +0 -145
  98. package/assets/razor-CfcSDTvR.js +0 -519
  99. package/assets/redshift-Cn0YgnO8.js +0 -160
  100. package/assets/restructuredtext-Ckzl4aRZ.js +0 -289
  101. package/assets/scheme-BHXdn3HT.js +0 -172
  102. package/assets/sophia-BdPli0VA.js +0 -149
  103. package/assets/sparql-Ca6NBL_y.js +0 -126
  104. package/assets/st-BKcHiAlg.js +0 -478
  105. package/assets/tcl-Xx48oN1j.js +0 -225
  106. package/assets/workers-qpP7-_JR.js +0 -48
package/README.md CHANGED
@@ -1,35 +1,43 @@
1
- # monacozen
1
+ <center><a href="https://npmjs.com/package/monacozen"><img src="https://shieldcn.dev/npm/v/monacozen.svg?variant=secondary&logo=npm&label=latest+version" alt="Latest version on npm"/></a> <a href="https://github.com/Jaid/monacozen/raw/HEAD/license.txt"><img src="https://shieldcn.dev/github/license/Jaid/monacozen.svg?variant=secondary" alt="License"/></a> <a href="https://bun.sh"><picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/badge/Bun-fbf0df.svg?variant=outline&logo=bun&logoColor=fbf0df&mode=dark"><img src="https://shieldcn.dev/badge/Bun-fbf0df.svg?variant=outline&logo=bun&logoColor=fbf0df&mode=light" alt="Bun"/></picture></a></center>
2
2
 
3
- An opinionated React editor with a lazily loaded Monaco backend and a lightweight native alternative.
3
+ # Monacozen
4
4
 
5
- ## Install
5
+ text editor component with batteries included and UI clutter removed
6
+
7
+ ## installation
8
+
9
+ <a href="https://npmjs.com/package/monacozen"><img src="https://shieldcn.dev/badge/npm-monacozen-C23039.svg?variant=secondary&logo=npm" alt="monacozen on npm"/></a>
6
10
 
7
11
  ```sh
8
- npm install monacozen
12
+ npm install --save monacozen
9
13
  ```
10
14
 
11
- React and React DOM are peer dependencies. Monaco, its workers and Antimono are included in the built package. Use a browser bundler that supports CSS imports, dynamic imports and worker asset URLs. The production package is tested through a separate Vite consumer build.
12
-
13
- ## Monaco editor
15
+ ## example
14
16
 
15
17
  ```tsx
18
+ import {useState} from 'react'
16
19
  import Monacozen from 'monacozen'
17
20
 
21
+ const [text, setText] = useState<string>('')
22
+
18
23
  <Monacozen
19
24
  language='typescript'
20
- monaco={{padding: {top: 6}, readOnly: false}}
21
25
  value={text}
22
26
  onChange={value => setText(value ?? '')}
23
27
  />
24
28
  ```
25
29
 
30
+ ## usage
31
+
32
+ ### Monaco editor
33
+
26
34
  `monaco` replaces the former `options` prop. Omit it to use the shared defaults or pass an options object to override them. `fontFamily` and `disableMonospaceOptimizations` are excluded because the `font` prop controls them. Padding is not part of the shared defaults.
27
35
 
28
36
  The existing Monaco props, including `beforeMount`, `onMount`, `onChange`, `onValidate`, model paths, language settings and view-state options, remain available in Monaco mode. Ordinary DOM events such as `onFocus`, `onBlur`, `onKeyDown`, `onPaste` and `onContextMenu` are handled on the enclosing element and bubble from the editor. `wrapperProps` provides additional wrapper attributes.
29
37
 
30
38
  The common `readOnly`, `disabled`, `placeholder`, `autoFocus` and `aria-label` props work in both modes. Explicit common props take precedence over the corresponding Monaco options.
31
39
 
32
- ## Native editor
40
+ ### native editor
33
41
 
34
42
  ```tsx
35
43
  <Monacozen
@@ -69,21 +77,59 @@ A dynamically selected mode is supported too:
69
77
 
70
78
  Uncontrolled text is retained when switching modes. For controlled input, keep supplying `value`. The callback types reflect the backend: a dynamically selected mode has a change-event union and an `onMount` callback that may receive either editor kind. Use `SwitchableEditorProps` when explicitly typing a dynamically selected mode.
71
79
 
72
- ## Appearance
80
+ ### appearance
73
81
 
74
82
  `dark` defaults to `true`. Monaco uses the bundled, modified `vs-dark` theme with a black background. `dark={false}` selects its light theme. The native editor uses white text on black or black text on white.
75
83
 
76
84
  `font` defaults to `antimono` and also accepts `mono` for the system monospace font or `dense` for the system sans-serif font. Both backends support `height`, `width`, `className` and `style`.
77
85
 
78
- ## Loading
86
+ ## advanced usage
79
87
 
80
- Importing Monacozen does not initialize Monaco or load either stylesheet. Rendering the Monaco backend starts the React adapter and Monaco imports concurrently. A Suspense boundary displays the `loading` prop while they load. Monaco's stylesheet belongs to its lazy chunks rather than the public entry, so it is fetched before the editor mounts.
88
+ ### loading
89
+
90
+ Importing Monacozen does not initialize Monaco or load either stylesheet. Rendering the Monaco backend starts the React adapter and Monaco imports concurrently. A Suspense boundary displays the `loading` prop while they load. Monaco’s stylesheet belongs to its lazy chunks rather than the public entry, so it is fetched before the editor mounts.
81
91
 
82
92
  Antimono has a separate stylesheet and lazy import. It is loaded only when a mounted editor selects `font='antimono'`, including when that selection comes from the default. Selecting `mono` or `dense` alone does not load it. Once the font finishes loading, mounted Monaco editors remeasure their font metrics.
83
93
 
84
- Modules and styles are reused across instances and mode changes. Styles are not removed when a component unmounts. Language workers are constructed on demand; an existing `MonacoEnvironment` worker configuration is respected. Loading errors can be handled by the application's React error boundary.
94
+ Modules and styles are reused across instances and mode changes. Styles are not removed when a component unmounts. Language workers are constructed on demand; an existing `MonacoEnvironment` worker configuration is respected. Loading errors can be handled by the application’s React error boundary.
95
+
96
+ ### schemas
97
+
98
+ The language-agnostic `schema` prop accepts a JSON Schema object. Monacozen applies it when the active model has a schema-aware language service. JSON and YAML are supported out of the box; unsupported languages and the native textarea backend simply ignore the prop.
99
+
100
+ ```tsx
101
+ const schema = {
102
+ type: 'object',
103
+ additionalProperties: false,
104
+ properties: {
105
+ name: {
106
+ type: 'string',
107
+ description: 'Display name.',
108
+ },
109
+ enabled: {type: 'boolean'},
110
+ },
111
+ }
112
+
113
+ <Monacozen language='yaml' schema={schema} value={text} />
114
+ ```
115
+
116
+ The association follows the active Monaco model, including model and language changes, and is removed when `schema` is unset or the editor is disposed. This also works directly with JSON Schema objects generated by libraries such as Zod. Schema-aware completion, hover documentation and diagnostics are provided by the active language service.
117
+
118
+ YAML additionally includes Prettier formatting. Standard YAML language-server schema comments remain supported when no `schema` prop is supplied:
119
+
120
+ ```tsx
121
+ <Monacozen
122
+ language='yaml'
123
+ path='file:///.prettierrc.yaml'
124
+ defaultValue={'# yaml-language-server: $schema=https://json.schemastore.org/prettierrc.json\nsingleQuote: true\nproseWrap: always\n'}
125
+ />
126
+ ```
127
+
128
+ Remote schemas and references are fetched on demand. Remote servers must allow browser requests from your application's origin. An inline `schema` can use internal fragment references and absolute remote `$ref` values; use a URL-backed YAML schema comment when relative external references need a URL base. Filenames alone do not enable automatic SchemaStore catalog lookup.
85
129
 
86
- ## Additional languages
130
+ The YAML language service is registered once for the shared Monaco instance, and its bundled worker starts only when YAML is used. Consumers do not need to install `monaco-yaml` or add a YAML worker to their bundler configuration. As with other language workers, applications supplying their own `MonacoEnvironment.getWorker` or `getWorkerUrl` remain responsible for handling the `yaml` label.
131
+
132
+ ### additional languages
87
133
 
88
134
  Set `language` to one of these IDs:
89
135
 
@@ -99,26 +145,75 @@ The definitions provide syntax highlighting and basic editing configuration, not
99
145
 
100
146
  The Monaco build continues to exclude `abap`, `apex`, `lexon`, `sb` and `flow9`.
101
147
 
102
- ## Build
148
+ ## props
149
+
150
+ option | type | default | info
151
+ --- | --- | --- | ---
152
+ `className` | `string` | | class name for the active editor element or Monaco wrapper
153
+ `aria-label` | `string` | | accessible label for both backends; mapped to Monaco’s ariaLabel option
154
+ `autoFocus` | `boolean` | `false` | Focuses the active editor after mounting.
155
+ `beforeMount` | `(monaco: MonacoApi) => void` | | callback after Monaco loads and before editor creation
156
+ `dark` | `boolean` | `true` | dark or light appearance
157
+ `defaultLanguage` | `string` | | language for newly created Monaco models
158
+ `defaultPath` | `string` | | path for newly created Monaco models
159
+ `defaultValue` | `string` | `''` | initial value for uncontrolled usage and backend switching
160
+ `disabled` | `boolean` | `false` | Disables editing; Monaco also receives domReadOnly.
161
+ `font` | `'antimono' \| 'dense' \| 'mono'` | `'antimono'` | Antimono, system sans-serif or system monospace font
162
+ `height` | `number \| string` | `'100%'`
163
+ `keepCurrentModel` | `boolean` | `false` | Keeps the current Monaco model alive after unmounting.
164
+ `language` | `string` | | current Monaco model language
165
+ `line` | `number` | | line to reveal in Monaco
166
+ `loading` | `ReactNode` | `'Loading…'` | Suspense fallback while the Monaco backend loads
167
+ `monaco` | `MonacoOptions \| boolean` | | Omit for the Monaco backend with shared defaults; false uses DummyEditor and true is shorthand for an empty Monaco options object.
168
+ `overrideServices` | `Monaco.editor.IEditorOverrideServices` | `{}` | Monaco editor service overrides passed to [@monaco-editor/react](https://npmx.dev/package/@monaco-editor/react)
169
+ `path` | `string` | | current Monaco model path
170
+ `placeholder` | `string` | | placeholder text supported by both backends
171
+ `readOnly` | `boolean` | `false` | editor read-only state
172
+ `saveViewState` | `boolean` | `true` | Saves and restores Monaco model view state between model changes.
173
+ `schema` | `EditorSchema` | | JSON Schema applied to supported Monaco languages such as JSON and YAML; ignored elsewhere.
174
+ `style` | `CSSProperties` | | inline styles applied after the width and height defaults
175
+ `value` | `string` | | controlled editor value
176
+ `width` | `number \| string` | `'100%'`
177
+ `wrapperProps` | `HTMLAttributes<HTMLDivElement>` | | attributes for the enclosing wrapper element
178
+ `ref` | `Ref<HTMLTextAreaElement>` | | native textarea ref when monaco is false
179
+ `onChange` | `(value: string \| undefined, event: ChangeEvent<HTMLTextAreaElement> \| Monaco.editor.IModelContentChangedEvent) => void` | | Called when the editor value changes; the native backend always provides a string.
180
+ `onMount` | `(editor: HTMLTextAreaElement \| Monaco.editor.IStandaloneCodeEditor, monaco?: MonacoApi) => void` | | Called after the active backend mounts.
181
+ `onValidate` | `(markers: Monaco.editor.IMarker[]) => void` | | callback when validation markers for the current model change
182
+
183
+ ## development
184
+
185
+ ### setting up
103
186
 
104
187
  ```sh
188
+ git clone git@github.com:Jaid/monacozen.git
189
+ cd monacozen
105
190
  bun install
106
- bun run build
107
191
  ```
108
192
 
109
- Vite compiles the JSX with React Compiler, produces `out/intermediate/src/main.js` and preserves lazy chunks and styles under `out/intermediate/assets`. `build_lib` packages that project without recombining its runtime chunks. The result is in `dist/monacozen/production`.
110
-
111
- The intermediate plugin attaches CSS imports to the chunks that own them. Monaco CSS and Antimono CSS remain separate. Runtime files keep the same relative layout through both build stages, including worker URLs. Monaco's public declarations are inlined into `lib.d.ts`; consumers do not need a separate `monaco-editor` installation for types.
193
+ ### linting
112
194
 
113
- The workspace plugins handle intermediate packaging, built-in theme overrides, language omission and additional lazy language registration. Additional language modules export `{language, configuration}`, using Monaco's Monarch tokenizer and language-configuration types.
195
+ ```sh
196
+ bun run lint
197
+ ```
114
198
 
115
- ## Verification
199
+ ### type checking
116
200
 
117
201
  ```sh
118
202
  bun run typecheck
119
- bun run lint
203
+ ```
204
+
205
+ ### testing
206
+
207
+ ```sh
120
208
  bun run test
121
- bun run test:browser
122
209
  ```
123
210
 
124
- The browser test requires Chromium. It uses Chrome's standard Windows installation by default; set `CHROME_PATH` for another installation. It creates a clean consumer without `monaco-editor`, checks its types with strict library checking, builds it with Vite and verifies actual requests and editor behavior in Chromium.
211
+ ## license
212
+
213
+ [MIT License](https://github.com/Jaid/monacozen/raw/HEAD/license.txt)<br>
214
+ Copyright © 2026, Jaid \<jaid.jsx@gmail.com> (https://github.com/jaid)
215
+
216
+ <!---
217
+ Readme generated with tldw v8.0.3 from ./docs/tldw
218
+ https://github.com/Jaid/tldw
219
+ -->
@@ -1,4 +1,4 @@
1
- //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/bat/bat.js
1
+ //#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/bat/bat.js
2
2
  var e = {
3
3
  comments: { lineComment: "REM" },
4
4
  brackets: [
@@ -1,4 +1,4 @@
1
- //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/clojure/clojure.js
1
+ //#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/clojure/clojure.js
2
2
  var e = {
3
3
  comments: { lineComment: ";;" },
4
4
  brackets: [
@@ -1,4 +1,4 @@
1
- //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/coffee/coffee.js
1
+ //#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/coffee/coffee.js
2
2
  var e = {
3
3
  wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
4
4
  comments: {
@@ -1,4 +1,4 @@
1
- //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/cpp/cpp.js
1
+ //#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/cpp/cpp.js
2
2
  var e = {
3
3
  comments: {
4
4
  lineComment: "//",
@@ -1,4 +1,4 @@
1
- //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/csharp/csharp.js
1
+ //#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/csharp/csharp.js
2
2
  var e = {
3
3
  wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
4
4
  comments: {
@@ -1,4 +1,4 @@
1
- //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/css/css.js
1
+ //#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/css/css.js
2
2
  var e = {
3
3
  wordPattern: /(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,
4
4
  comments: { blockComment: ["/*", "*/"] },