chore: add SVGO and config, optimize SVG assets

This commit is contained in:
Simek
2026-03-11 08:57:20 +01:00
parent 41688523d0
commit 11e9e7ce7e
739 changed files with 750 additions and 39461 deletions
+2
View File
@@ -30,6 +30,7 @@
"stylelint": "^17.3.0",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-scss": "^7.0.0",
"svgo": "^4.0.1",
"tsx": "^4.20.6",
"typescript": "^5.9.3"
},
@@ -43,6 +44,7 @@
"check-format": "oxfmt --check",
"lint": "oxlint --type-aware --tsconfig=ui/tsconfig.base.json && stylelint \"**/*.scss\"",
"lint:fix": "oxlint --type-aware --tsconfig=ui/tsconfig.base.json --fix && stylelint \"**/*.scss\" --fix",
"assets:optimize": "svgo -rf ./public/ ./public/",
"test": "node ui/test",
"journal": "journalctl --user -fu lila -o cat",
"metals": "tail -F .metals/metals.log | stdbuf -oL cut -c 21- | rg -v '(notification for request|handleCancellation)'",