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; \
|
set -ex; \
|
||||||
\
|
\
|
||||||
yarn build --outDir /opt/advent22/ui; \
|
yarn build --outDir /opt/advent22/ui; \
|
||||||
# exclude webpack-bundle-analyzer output
|
# exclude vite-bundle-analyzer output
|
||||||
rm -f /opt/advent22/ui/stats.html;
|
rm /opt/advent22/ui/stats.html;
|
||||||
|
|
||||||
|
|
||||||
###############
|
###############
|
||||||
|
|
|
||||||
19
api/.vscode/launch.json
vendored
19
api/.vscode/launch.json
vendored
|
|
@ -11,16 +11,19 @@
|
||||||
"module": "fastapi",
|
"module": "fastapi",
|
||||||
"args": [
|
"args": [
|
||||||
"dev",
|
"dev",
|
||||||
"--host", "0.0.0.0",
|
"--host",
|
||||||
"--port", "8000",
|
"0.0.0.0",
|
||||||
"--entrypoint", "advent22_api.app:app",
|
"--port",
|
||||||
"--reload-dir", "${workspaceFolder}/advent22_api",
|
"8000",
|
||||||
|
"--entrypoint",
|
||||||
|
"advent22_api.app:app",
|
||||||
|
"--reload-dir",
|
||||||
|
"${workspaceFolder}/advent22_api"
|
||||||
],
|
],
|
||||||
"env": {
|
"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.defaultFormatter": "charliermarsh.ruff",
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.organizeImports": "explicit",
|
"source.organizeImports": "explicit",
|
||||||
"source.fixAll": "explicit",
|
"source.fixAll": "explicit"
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"python.testing.unittestEnabled": false,
|
"python.testing.unittestEnabled": false,
|
||||||
"python.testing.pytestEnabled": true,
|
"python.testing.pytestEnabled": true,
|
||||||
|
|
||||||
"ty.diagnosticMode": "workspace",
|
"ty.diagnosticMode": "workspace",
|
||||||
"ruff.nativeServer": "on",
|
"ruff.nativeServer": "on"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "advent22_ui",
|
"name": "advent22_ui",
|
||||||
"version": "0.0.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"packageManager": "yarn@4.12.0",
|
"packageManager": "yarn@4.12.0",
|
||||||
|
|
@ -54,6 +54,7 @@
|
||||||
"vite-plugin-html": "^3.2.2",
|
"vite-plugin-html": "^3.2.2",
|
||||||
"vite-plugin-vue-devtools": "^8.0.6",
|
"vite-plugin-vue-devtools": "^8.0.6",
|
||||||
"vitest": "^4.0.18",
|
"vitest": "^4.0.18",
|
||||||
|
"vue-eslint-parser": "^10.4.0",
|
||||||
"vue-tsc": "^3.2.4"
|
"vue-tsc": "^3.2.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
||||||
|
|
@ -35,8 +35,8 @@ export default defineConfig({
|
||||||
|
|
||||||
server: {
|
server: {
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
"/api": {
|
||||||
target: 'http://api:8000',
|
target: "http://api:8000",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -2119,6 +2119,7 @@ __metadata:
|
||||||
vite-plugin-vue-devtools: "npm:^8.0.6"
|
vite-plugin-vue-devtools: "npm:^8.0.6"
|
||||||
vitest: "npm:^4.0.18"
|
vitest: "npm:^4.0.18"
|
||||||
vue: "npm:^3.5.28"
|
vue: "npm:^3.5.28"
|
||||||
|
vue-eslint-parser: "npm:^10.4.0"
|
||||||
vue-tsc: "npm:^3.2.4"
|
vue-tsc: "npm:^3.2.4"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue