From d96d9d6333b16d9bc3a2b440c6e403e0d8fad036 Mon Sep 17 00:00:00 2001 From: PTah Date: Sun, 21 Jun 2026 20:50:13 +1000 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20remove=20UTF-8=20BOM=20from=20?= =?UTF-8?q?package.json=20=E2=80=94=20breaks=20vite=20build=20(0.20.26)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PostCSS config load failed with SyntaxError at position 0 on Linux deploy. --- backend/app/version.py | 4 ++-- backend/tests/test_health.py | 6 +++--- frontend/package.json | 4 ++-- frontend/src/composables/useHostRemoteAction.ts | 2 +- frontend/src/version.ts | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/backend/app/version.py b/backend/app/version.py index 5b0e255..1ac515f 100644 --- a/backend/app/version.py +++ b/backend/app/version.py @@ -1,5 +1,5 @@ -"""Единый источник версии SAC (API, health, логи, OpenAPI).""" +"""Единый источник версии SAC (API, health, логи, OpenAPI).""" APP_NAME = "Security Alert Center" -APP_VERSION = "0.20.25" +APP_VERSION = "0.20.26" APP_VERSION_LABEL = f"{APP_NAME} v.{APP_VERSION}" diff --git a/backend/tests/test_health.py b/backend/tests/test_health.py index e305aa6..03132a7 100644 --- a/backend/tests/test_health.py +++ b/backend/tests/test_health.py @@ -1,9 +1,9 @@ -"""Version and health contract smoke tests (no DB required).""" +"""Version and health contract smoke tests (no DB required).""" from app.version import APP_NAME, APP_VERSION, APP_VERSION_LABEL def test_version_constants(): - assert APP_VERSION == "0.20.25" + assert APP_VERSION == "0.20.26" assert APP_NAME == "Security Alert Center" - assert APP_VERSION_LABEL == "Security Alert Center v.0.20.25" + assert APP_VERSION_LABEL == "Security Alert Center v.0.20.26" diff --git a/frontend/package.json b/frontend/package.json index 5239301..b55f995 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ -{ +{ "name": "sac-ui", "private": true, - "version": "0.11.3", + "version": "0.11.4", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/src/composables/useHostRemoteAction.ts b/frontend/src/composables/useHostRemoteAction.ts index 4053e96..5ea8856 100644 --- a/frontend/src/composables/useHostRemoteAction.ts +++ b/frontend/src/composables/useHostRemoteAction.ts @@ -1,4 +1,4 @@ -import { reactive } from "vue"; +import { reactive } from "vue"; import { ApiError, fetchHost, diff --git a/frontend/src/version.ts b/frontend/src/version.ts index 02349b5..2108478 100644 --- a/frontend/src/version.ts +++ b/frontend/src/version.ts @@ -1,4 +1,4 @@ -/** Fallback до загрузки /health; при релизе держите в sync с backend/app/version.py */ +/** Fallback до загрузки /health; при релизе держите в sync с backend/app/version.py */ export const APP_NAME = "Security Alert Center"; -export const APP_VERSION = "0.20.25"; +export const APP_VERSION = "0.20.26"; export const APP_VERSION_LABEL = `${APP_NAME} v.${APP_VERSION}`;