Skip to content

Commit

Permalink
Fix InstallCodeMirror export (#11962)
Browse files Browse the repository at this point in the history
* Fix InstallCodeMirror export

* Bumping/pinning the version of codemirror-editor-vue3

---------

Co-authored-by: Cody Jackson <[email protected]>
  • Loading branch information
jordojordo and codyrancher authored Sep 18, 2024
1 parent b9945ab commit d393508
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"cache-loader": "4.1.0",
"clipboard-polyfill": "4.0.1",
"codemirror": "5.65.17",
"codemirror-editor-vue3": "2.7.0",
"codemirror-editor-vue3": "2.7.1",
"color": "4.2.3",
"cookie": "0.5.0",
"cookie-universal": "2.2.2",
Expand Down
4 changes: 2 additions & 2 deletions shell/initialize/install-plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import config from '@shell/utils/config';
import axiosShell from '@shell/plugins/axios';
import backButton from '@shell/plugins/back-button';
import codeMirror from '@shell/plugins/codemirror-loader';
import { InstallCodemirro } from 'codemirror-editor-vue3';
import { InstallCodeMirror } from 'codemirror-editor-vue3';
import * as intNumber from '@shell/directives/int-number';
import nuxtClientInit from '@shell/plugins/nuxt-client-init';
import plugin from '@shell/plugins/plugin';
Expand All @@ -38,7 +38,7 @@ export async function installPlugins(vueApp) {
vueApp.use(VueResize);
vueApp.use(FloatingVue, floatingVueOptions);
vueApp.use(ShortKey, { prevent: ['input', 'textarea', 'select'] });
vueApp.use(InstallCodemirro);
vueApp.use(InstallCodeMirror);
vueApp.component('v-select', vSelect);
}

Expand Down
2 changes: 1 addition & 1 deletion shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"browser-env": "3.3.0",
"clipboard-polyfill": "4.0.1",
"codemirror": ">=5.64.0 <6",
"codemirror-editor-vue3": "^2.7.0",
"codemirror-editor-vue3": "2.7.1",
"cookie": "0.5.0",
"cookie-universal": "2.2.2",
"core-js": "3.25.3",
Expand Down
17 changes: 11 additions & 6 deletions shell/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3938,11 +3938,16 @@
optionalDependencies:
prettier "^1.18.2 || ^2.0.0"

"@vue/devtools-api@^6.0.0", "@vue/devtools-api@^6.0.0-beta.11":
"@vue/devtools-api@^6.0.0-beta.11":
version "6.6.3"
resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.6.3.tgz#b23a588154cba8986bba82b6e1d0248bde3fd1a0"
integrity sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==

"@vue/devtools-api@^6.6.3":
version "6.6.4"
resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.6.4.tgz#cbe97fe0162b365edc1dba80e173f90492535343"
integrity sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==

"@vue/[email protected]":
version "3.2.47"
resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.47.tgz#e45df4d06370f8abf29081a16afd25cffba6d84e"
Expand Down Expand Up @@ -12965,12 +12970,12 @@ vue-resize@^2.0.0-alpha.1:
resolved "https://registry.yarnpkg.com/vue-resize/-/vue-resize-2.0.0-alpha.1.tgz#43eeb79e74febe932b9b20c5c57e0ebc14e2df3a"
integrity sha512-7+iqOueLU7uc9NrMfrzbG8hwMqchfVfSzpVlCMeJQe4pyibqyoifDNbKTZvwxZKDvGkB+PdFeKvnGZMoEb8esg==

vue-router@~4.0.3:
version "4.0.16"
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-4.0.16.tgz#9477beeeef36e80e04d041a1738801a55e6e862e"
integrity sha512-JcO7cb8QJLBWE+DfxGUL3xUDOae/8nhM1KVdnudadTAORbuxIC/xAydC5Zr/VLHUDQi1ppuTF5/rjBGzgzrJNA==
vue-router@4.4.3:
version "4.4.3"
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-4.4.3.tgz#58a39dc804632bfb6d26f052aa8f6718bd130299"
integrity sha512-sv6wmNKx2j3aqJQDMxLFzs/u/mjA9Z5LCgy6BE0f7yFWMjrPLnS/sPNn8ARY/FXw6byV18EFutn5lTO6+UsV5A==
dependencies:
"@vue/devtools-api" "^6.0.0"
"@vue/devtools-api" "^6.6.3"

[email protected]:
version "4.0.0-beta.6"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5704,10 +5704,10 @@ co@^4.6.0:
resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==

[email protected].0:
version "2.7.0"
resolved "https://registry.npmjs.org/codemirror-editor-vue3/-/codemirror-editor-vue3-2.7.0.tgz#873e0d971d9016c9328b16d3eb0c818c96af59b6"
integrity sha512-mAx2CPCshARMXjIb9Bl/jhSzcVGAjh9JqLCB9+9hGPPW/lObHWLJD7DgNd0xJnw2Vrm9shHIS/ch74MwmDGrtA==
[email protected].1:
version "2.7.1"
resolved "https://registry.yarnpkg.com/codemirror-editor-vue3/-/codemirror-editor-vue3-2.7.1.tgz#48d41515cb3c47e2c84200414c2bf0f267dac15e"
integrity sha512-nUlSUPu22ugrvNNy86w4GhUswZk0qi0DsPGC8srG88LllJahXlZslHD8ikaLwp8Y1Ho6gW2STiYZe8ilW2rPLg==
dependencies:
"@unocss/transformer-directives" "^0.58.8"
"@wdns/vue-code-block" "^2.3.2"
Expand Down

0 comments on commit d393508

Please sign in to comment.