chore: add vue-codemirror and codemirror dependencies

- Add vue-codemirror@4.0.6 for code editing
- Add codemirror@5.65.18 for syntax highlighting
- Required for CodeEditor component with Twig support

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
Vitor Mattos 2025-12-04 18:21:46 -03:00
parent 241e74c25f
commit c0c18816f8
No known key found for this signature in database
GPG key ID: 6FECE2AD4809003A
2 changed files with 30 additions and 0 deletions

28
package-lock.json generated
View file

@ -31,6 +31,7 @@
"@nextcloud/vue": "^8.34.0",
"@vueuse/core": "^11.3.0",
"blueimp-md5": "^2.19.0",
"codemirror": "^5.65.20",
"copy-webpack-plugin": "^13.0.1",
"crypto-js": "^4.2.0",
"debounce": "^2.2.0",
@ -39,6 +40,7 @@
"signature_pad": "^5.1.1",
"vue": "^2.7.16",
"vue-advanced-cropper": "^1.11.7",
"vue-codemirror": "^4.0.6",
"vue-drag-resize": "^1.5.4",
"vue-material-design-icons": "^5.3.1",
"vue-router": "^3.6.5",
@ -6839,6 +6841,12 @@
"node": ">=0.10.0"
}
},
"node_modules/codemirror": {
"version": "5.65.20",
"resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.65.20.tgz",
"integrity": "sha512-i5dLDDxwkFCbhjvL2pNjShsojoL3XHyDwsGv1jqETUoW+lzpBKKqNTUWgQwVAOa0tUm4BwekT455ujafi8payA==",
"license": "MIT"
},
"node_modules/color": {
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
@ -7690,6 +7698,12 @@
"integrity": "sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q==",
"license": "MIT"
},
"node_modules/diff-match-patch": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/diff-match-patch/-/diff-match-patch-1.0.5.tgz",
"integrity": "sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==",
"license": "Apache-2.0"
},
"node_modules/diffie-hellman": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
@ -17077,6 +17091,20 @@
"integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==",
"license": "MIT"
},
"node_modules/vue-codemirror": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/vue-codemirror/-/vue-codemirror-4.0.6.tgz",
"integrity": "sha512-ilU7Uf0mqBNSSV3KT7FNEeRIxH4s1fmpG4TfHlzvXn0QiQAbkXS9lLfwuZpaBVEnpP5CSE62iGJjoliTuA8poQ==",
"license": "MIT",
"dependencies": {
"codemirror": "^5.41.0",
"diff-match-patch": "^1.0.0"
},
"engines": {
"node": ">= 4.0.0",
"npm": ">= 3.0.0"
}
},
"node_modules/vue-color": {
"version": "2.8.2",
"resolved": "https://registry.npmjs.org/vue-color/-/vue-color-2.8.2.tgz",

View file

@ -42,6 +42,7 @@
"@nextcloud/vue": "^8.34.0",
"@vueuse/core": "^11.3.0",
"blueimp-md5": "^2.19.0",
"codemirror": "^5.65.20",
"copy-webpack-plugin": "^13.0.1",
"crypto-js": "^4.2.0",
"debounce": "^2.2.0",
@ -50,6 +51,7 @@
"signature_pad": "^5.1.1",
"vue": "^2.7.16",
"vue-advanced-cropper": "^1.11.7",
"vue-codemirror": "^4.0.6",
"vue-drag-resize": "^1.5.4",
"vue-material-design-icons": "^5.3.1",
"vue-router": "^3.6.5",