Skip to content

Commit c1bfe6f

Browse files
committed
Update package.json
1 parent f47e6d2 commit c1bfe6f

File tree

3 files changed

+47
-9
lines changed

3 files changed

+47
-9
lines changed

package-lock.json

Lines changed: 42 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/monaco/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@axonivy/monaco",
3-
"version": "0.0.1-dev",
3+
"version": "13.1.0-next",
44
"private": false,
55
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
66
"author": "Axon Ivy AG",
@@ -25,9 +25,9 @@
2525
"vscode-languageserver-protocol": "3.17.5"
2626
},
2727
"peerDependencies": {
28-
"@axonivy/jsonrpc": "^12.0.0-next",
29-
"@axonivy/ui-components": "^12.0.0-next",
30-
"react": "^18.2.0"
28+
"@axonivy/jsonrpc": "~13.1.0-next",
29+
"@axonivy/ui-components": "~13.1.0-next",
30+
"react": "^18.2 || ^19.0"
3131
},
3232
"devDependencies": {
3333
"react-dom": "^18.3.1"

packages/monaco/src/components/CodeEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const CodeEditor = ({ contextPath, value, onChange, language, onMountFunc
2929
setShowPlaceholder(editor.getValue() === '');
3030
};
3131

32-
const monacoOptions = options ?? MONACO_OPTIONS;
32+
const monacoOptions = { ...(options ?? MONACO_OPTIONS) };
3333
monacoOptions.readOnly = readonly;
3434

3535
return (

0 commit comments

Comments
 (0)