Skip to content

Commit

Permalink
chore(deps): upgrade monaco-editor to 0.30 (argoproj#11593)
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
  • Loading branch information
agilgur5 authored and dpadhiar committed May 9, 2024
1 parent 215b01a commit 7b58f72
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
4 changes: 2 additions & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"json-merge-patch": "^0.2.3",
"moment": "^2.29.4",
"moment-timezone": "^0.5.43",
"monaco-editor": "0.20.0",
"monaco-editor": "^0.30.0",
"prop-types": "^15.8.1",
"react": "^16.14.0",
"react-chartjs-2": "^2.11.2",
Expand Down Expand Up @@ -68,7 +68,7 @@
"glob": "^9.3.2",
"html-webpack-plugin": "^4.5.2",
"jest": "^26.6.3",
"monaco-editor-webpack-plugin": "^1.9.1",
"monaco-editor-webpack-plugin": "^6.0.0",
"prettier": "^1.19.1",
"raw-loader": "^0.5.1",
"react-hot-loader": "^4.13.1",
Expand Down
4 changes: 3 additions & 1 deletion ui/src/app/shared/components/object-editor/object-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ export const ObjectEditor = <T extends any>({type, value, buttons, onChange}: Pr
readOnly: onChange === null,
minimap: {enabled: false},
lineNumbers: 'off',
renderIndentGuides: false,
guides: {
indentation: false
},
scrollBeyondLastLine: true
}}
onChange={v => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,12 @@ export const ArtifactPanel = ({
height='500px'
options={{
readOnly: true,
minimap: {enabled: false},
renderIndentGuides: true
minimap: {
enabled: false
},
guides: {
indentation: true
}
}}
/>
) : (
Expand Down
18 changes: 9 additions & 9 deletions ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6610,17 +6610,17 @@ moment@^2.10.2, moment@^2.24.0, moment@^2.25.3, moment@^2.29.1, moment@^2.29.4:
resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108"
integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==

monaco-editor-webpack-plugin@^1.9.1:
version "1.9.1"
resolved "https://registry.yarnpkg.com/monaco-editor-webpack-plugin/-/monaco-editor-webpack-plugin-1.9.1.tgz#eb4bbb1c5e5bfb554541c1ae1542e74c2a9f43fd"
integrity sha512-x7fx1w3i/uwZERIgztHAAK3VQMsL8+ku0lFXXbO81hKDg8IieACqjGEa2mqEueg0c/fX+wd0oI+75wB19KJAsA==
monaco-editor-webpack-plugin@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/monaco-editor-webpack-plugin/-/monaco-editor-webpack-plugin-6.0.0.tgz#628956ce1851afa2a5f6c88d0ecbb24e9a444898"
integrity sha512-vC886Mzpd2AkSM35XLkfQMjH+Ohz6RISVwhAejDUzZDheJAiz6G34lky1vyO8fZ702v7IrcKmsGwL1rRFnwvUA==
dependencies:
loader-utils "^1.2.3"
loader-utils "^2.0.0"

monaco-editor@0.20.0:
version "0.20.0"
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.20.0.tgz#5d5009343a550124426cb4d965a4d27a348b4dea"
integrity sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ==
monaco-editor@^0.30.0:
version "0.30.1"
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.30.1.tgz#47f8d18a0aa2264fc5654581741ab8d7bec01689"
integrity sha512-B/y4+b2O5G2gjuxIFtCE2EkM17R2NM7/3F8x0qcPsqy4V83bitJTIO4TIeZpYlzu/xy6INiY/+84BEm6+7Cmzg==

move-concurrently@^1.0.1:
version "1.0.1"
Expand Down

0 comments on commit 7b58f72

Please sign in to comment.