A focused Docker Compose management web application.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: editor indentation

Brooke c82f8857 83b9f5ea

+4 -28
-1
packages/panel/package.json
··· 35 35 "@xterm/addon-fit": "^0.11.0", 36 36 "@xterm/addon-web-links": "^0.12.0", 37 37 "@xterm/xterm": "^6.0.0", 38 - "codemirror": "^6.0.2", 39 38 "codemirror-json-schema": "^0.8.1", 40 39 "hotkeys-js": "^4.0.2", 41 40 "melt": "^0.44.0",
+4 -2
packages/panel/src/lib/component/ComposeEditor.svelte
··· 69 69 cursorOffset: view.state.selection.main.head, 70 70 plugins: [prettierYaml], 71 71 parser: "yaml", 72 + useTabs: false, 72 73 }); 73 74 74 75 // If document hasn't changed, return early ··· 85 86 86 87 const editor: Attachment<HTMLElement> = (parent) => { 87 88 const editor = new view.EditorView({ 89 + doc: initial, 90 + parent, 88 91 extensions: [ 92 + language.indentUnit.of(" "), 89 93 indentationMarkers(), 90 94 catppuccinMacchiato, 91 95 yamlSchema(schema), ··· 132 136 } 133 137 }), 134 138 ], 135 - doc: initial, 136 - parent, 137 139 }); 138 140 139 141 return () => {
-25
pnpm-lock.yaml
··· 76 76 '@xterm/xterm': 77 77 specifier: ^6.0.0 78 78 version: 6.0.0 79 - codemirror: 80 - specifier: ^6.0.2 81 - version: 6.0.2 82 79 codemirror-json-schema: 83 80 specifier: ^0.8.1 84 81 version: 0.8.1(@codemirror/language@6.12.2)(@codemirror/lint@6.9.5)(@codemirror/state@6.6.0)(@codemirror/view@6.40.0)(@lezer/common@1.5.1) ··· 161 158 162 159 '@codemirror/lint@6.9.5': 163 160 resolution: {integrity: sha512-GElsbU9G7QT9xXhpUg1zWGmftA/7jamh+7+ydKRuT0ORpWS3wOSP0yT1FOlIZa7mIJjpVPipErsyvVqB9cfTFA==} 164 - 165 - '@codemirror/search@6.6.0': 166 - resolution: {integrity: sha512-koFuNXcDvyyotWcgOnZGmY7LZqEOXZaaxD/j6n18TCLx2/9HieZJ5H6hs1g8FiRxBD0DNfs0nXn17g872RmYdw==} 167 161 168 162 '@codemirror/state@6.6.0': 169 163 resolution: {integrity: sha512-4nbvra5R5EtiCzr9BTHiTLc+MLXK2QGiAVYMyi8PkQd3SR+6ixar/Q/01Fa21TBIDOZXgeWV4WppsQolSreAPQ==} ··· 833 827 codemirror-json5@1.0.3: 834 828 resolution: {integrity: sha512-HmmoYO2huQxoaoG5ARKjqQc9mz7/qmNPvMbISVfIE2Gk1+4vZQg9X3G6g49MYM5IK00Ol3aijd7OKrySuOkA7Q==} 835 829 836 - codemirror@6.0.2: 837 - resolution: {integrity: sha512-VhydHotNW5w1UGK0Qj96BwSk/Zqbp9WbnyK2W/eVMv4QyF41INRGpjUhFJY7/uDNuudSc33a/PKr4iDqRduvHw==} 838 - 839 830 color-convert@2.0.1: 840 831 resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} 841 832 engines: {node: '>=7.0.0'} ··· 1475 1466 '@codemirror/view': 6.40.0 1476 1467 crelt: 1.0.6 1477 1468 1478 - '@codemirror/search@6.6.0': 1479 - dependencies: 1480 - '@codemirror/state': 6.6.0 1481 - '@codemirror/view': 6.40.0 1482 - crelt: 1.0.6 1483 - 1484 1469 '@codemirror/state@6.6.0': 1485 1470 dependencies: 1486 1471 '@marijn/find-cluster-break': 1.0.2 ··· 2024 2009 json5: 2.2.3 2025 2010 lezer-json5: 2.0.2 2026 2011 optional: true 2027 - 2028 - codemirror@6.0.2: 2029 - dependencies: 2030 - '@codemirror/autocomplete': 6.20.1 2031 - '@codemirror/commands': 6.10.3 2032 - '@codemirror/language': 6.12.2 2033 - '@codemirror/lint': 6.9.5 2034 - '@codemirror/search': 6.6.0 2035 - '@codemirror/state': 6.6.0 2036 - '@codemirror/view': 6.40.0 2037 2012 2038 2013 color-convert@2.0.1: 2039 2014 dependencies: