mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2026-02-25 02:20:17 +00:00
🔧 various small fixes
- add version to ui package.json - "prettier" formatting on whole repo - "webpack-bundle-analyzer" -> "vite-bundle-analyzer" - add "vue-eslint-parser" to ui package.json
This commit is contained in:
parent
005bb31fca
commit
ca46a2cf5c
8 changed files with 90 additions and 85 deletions
|
|
@ -25,8 +25,8 @@ RUN --mount=type=cache,id=ui,target=/root/.yarn \
|
|||
set -ex; \
|
||||
\
|
||||
yarn build --outDir /opt/advent22/ui; \
|
||||
# exclude webpack-bundle-analyzer output
|
||||
rm -f /opt/advent22/ui/stats.html;
|
||||
# exclude vite-bundle-analyzer output
|
||||
rm /opt/advent22/ui/stats.html;
|
||||
|
||||
|
||||
###############
|
||||
|
|
|
|||
19
api/.vscode/launch.json
vendored
19
api/.vscode/launch.json
vendored
|
|
@ -11,16 +11,19 @@
|
|||
"module": "fastapi",
|
||||
"args": [
|
||||
"dev",
|
||||
"--host", "0.0.0.0",
|
||||
"--port", "8000",
|
||||
"--entrypoint", "advent22_api.app:app",
|
||||
"--reload-dir", "${workspaceFolder}/advent22_api",
|
||||
"--host",
|
||||
"0.0.0.0",
|
||||
"--port",
|
||||
"8000",
|
||||
"--entrypoint",
|
||||
"advent22_api.app:app",
|
||||
"--reload-dir",
|
||||
"${workspaceFolder}/advent22_api"
|
||||
],
|
||||
"env": {
|
||||
"WEBDAV__CACHE_TTL": "30",
|
||||
"WEBDAV__CACHE_TTL": "30"
|
||||
},
|
||||
"justMyCode": true,
|
||||
},
|
||||
|
||||
"justMyCode": true
|
||||
}
|
||||
]
|
||||
}
|
||||
6
api/.vscode/settings.json
vendored
6
api/.vscode/settings.json
vendored
|
|
@ -6,13 +6,13 @@
|
|||
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports": "explicit",
|
||||
"source.fixAll": "explicit",
|
||||
},
|
||||
"source.fixAll": "explicit"
|
||||
}
|
||||
},
|
||||
|
||||
"python.testing.unittestEnabled": false,
|
||||
"python.testing.pytestEnabled": true,
|
||||
|
||||
"ty.diagnosticMode": "workspace",
|
||||
"ruff.nativeServer": "on",
|
||||
"ruff.nativeServer": "on"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "advent22_ui",
|
||||
"version": "0.0.0",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"packageManager": "yarn@4.12.0",
|
||||
|
|
@ -54,6 +54,7 @@
|
|||
"vite-plugin-html": "^3.2.2",
|
||||
"vite-plugin-vue-devtools": "^8.0.6",
|
||||
"vitest": "^4.0.18",
|
||||
"vue-eslint-parser": "^10.4.0",
|
||||
"vue-tsc": "^3.2.4"
|
||||
},
|
||||
"engines": {
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@ export default defineConfig({
|
|||
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://api:8000',
|
||||
"/api": {
|
||||
target: "http://api:8000",
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2119,6 +2119,7 @@ __metadata:
|
|||
vite-plugin-vue-devtools: "npm:^8.0.6"
|
||||
vitest: "npm:^4.0.18"
|
||||
vue: "npm:^3.5.28"
|
||||
vue-eslint-parser: "npm:^10.4.0"
|
||||
vue-tsc: "npm:^3.2.4"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
|
|
|||
Loading…
Reference in a new issue