You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added a CI job that builds the prod web target and deploys it to GitHub Pages automatically whenever a v* tag is pushed.
Consolidated all generated code under lib/gen/ (was scattered across lib/api/, lib/generated/); retired the lib/l10n/ folder name in favour of lib/res/ (the project uses easy_localization, not intl_utils).
Fixed a broken Dockerfile: it was pinned to an unmaintained base image (cirrusci/flutter:3.3.1) predating the project's Flutter SDK, used a removed --web-renderer flag and built the wrong (dev) web target. Replaced with ghcr.io/cirruslabs/flutter:3.44.0, now building the prod target consistently with mobile release builds.
Added a missing .dockerignore — docker build . was sending the whole repo (build/, .dart_tool/, .git/, …) into the build context, gigabytes of needless upload and build time.
Removed dead code found in a project-wide audit: obsolete Charles debug-cert pinning, an unused domain model and an unused script.
По-русски
Добавлена CI-джоба, которая собирает prod web-таргет и деплоит его на GitHub Pages автоматически при пуше тега v*.
Весь сгенерированный код собран в lib/gen/ (было раскидано по lib/api/, lib/generated/); папка lib/l10n/ переименована в lib/res/ (проект использует easy_localization, а не intl_utils).
Починен сломанный Dockerfile: был закреплён на заброшенном образе (cirrusci/flutter:3.3.1) старше требуемого SDK, использовал снятый флаг --web-renderer и собирал не тот (dev) веб-таргет. Заменён на ghcr.io/cirruslabs/flutter:3.44.0, теперь собирает prod-таргет консистентно с релизными мобильными сборками.
Добавлен отсутствовавший .dockerignore — docker build . раньше отправлял в build-context весь репозиторий (build/, .dart_tool/, .git/, …), гигабайты лишнего трафика и времени сборки.
Удалён мёртвый код по итогам аудита: устаревшая привязка Charles-сертификата, неиспользуемая доменная модель, неиспользуемый скрипт.