Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-lli committed Jan 3, 2025
1 parent f47e6d2 commit c1bfe6f
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 9 deletions.
46 changes: 42 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/monaco/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axonivy/monaco",
"version": "0.0.1-dev",
"version": "13.1.0-next",
"private": false,
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
"author": "Axon Ivy AG",
Expand All @@ -25,9 +25,9 @@
"vscode-languageserver-protocol": "3.17.5"
},
"peerDependencies": {
"@axonivy/jsonrpc": "^12.0.0-next",
"@axonivy/ui-components": "^12.0.0-next",
"react": "^18.2.0"
"@axonivy/jsonrpc": "~13.1.0-next",
"@axonivy/ui-components": "~13.1.0-next",
"react": "^18.2 || ^19.0"
},
"devDependencies": {
"react-dom": "^18.3.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/monaco/src/components/CodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const CodeEditor = ({ contextPath, value, onChange, language, onMountFunc
setShowPlaceholder(editor.getValue() === '');
};

const monacoOptions = options ?? MONACO_OPTIONS;
const monacoOptions = { ...(options ?? MONACO_OPTIONS) };
monacoOptions.readOnly = readonly;

return (
Expand Down

0 comments on commit c1bfe6f

Please sign in to comment.