mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2026-02-25 02:20:17 +00:00
🚧 fix tasks and Dockerfile
This commit is contained in:
parent
cc333497b0
commit
cbfc1d25c6
2 changed files with 16 additions and 5 deletions
|
|
@ -25,9 +25,9 @@ RUN --mount=type=cache,id=ui,target=/root/.yarn \
|
||||||
set -ex; \
|
set -ex; \
|
||||||
\
|
\
|
||||||
yarn dlx update-browserslist-db@latest; \
|
yarn dlx update-browserslist-db@latest; \
|
||||||
yarn build --dest /opt/advent22/ui; \
|
yarn build --outDir /opt/advent22/ui; \
|
||||||
# exclude webpack-bundle-analyzer output
|
# exclude webpack-bundle-analyzer output
|
||||||
rm -f /opt/advent22/ui/report.html;
|
rm -f /opt/advent22/ui/stats.html;
|
||||||
|
|
||||||
|
|
||||||
###############
|
###############
|
||||||
|
|
|
||||||
17
ui/.vscode/tasks.json
vendored
17
ui/.vscode/tasks.json
vendored
|
|
@ -3,10 +3,21 @@
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"type": "npm",
|
"type": "npm",
|
||||||
"script": "serve",
|
"script": "dev",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"label": "UI starten",
|
"label": "UI starten"
|
||||||
"detail": "vue-cli-service serve"
|
},
|
||||||
|
{
|
||||||
|
"type": "npm",
|
||||||
|
"script": "lint",
|
||||||
|
"problemMatcher": ["$eslint-compact"],
|
||||||
|
"label": "Linter"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "npm",
|
||||||
|
"script": "format",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"label": "Formatter"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue