From cbfc1d25c6922ad3e2e8597df14cba35328355ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sun, 22 Feb 2026 01:31:07 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20fix=20tasks=20and=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- ui/.vscode/tasks.json | 17 ++++++++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 67fc59f..df74c20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,9 +25,9 @@ RUN --mount=type=cache,id=ui,target=/root/.yarn \ set -ex; \ \ yarn dlx update-browserslist-db@latest; \ - yarn build --dest /opt/advent22/ui; \ + yarn build --outDir /opt/advent22/ui; \ # exclude webpack-bundle-analyzer output - rm -f /opt/advent22/ui/report.html; + rm -f /opt/advent22/ui/stats.html; ############### diff --git a/ui/.vscode/tasks.json b/ui/.vscode/tasks.json index e5ffa95..65351ad 100644 --- a/ui/.vscode/tasks.json +++ b/ui/.vscode/tasks.json @@ -3,10 +3,21 @@ "tasks": [ { "type": "npm", - "script": "serve", + "script": "dev", "problemMatcher": [], - "label": "UI starten", - "detail": "vue-cli-service serve" + "label": "UI starten" + }, + { + "type": "npm", + "script": "lint", + "problemMatcher": ["$eslint-compact"], + "label": "Linter" + }, + { + "type": "npm", + "script": "format", + "problemMatcher": [], + "label": "Formatter" } ] }