From d2a19248c444635f5615f51c20e5303452daa072 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Tue, 8 Sep 2026 02:06:10 +0200 Subject: [PATCH] fix(packaging): expose immutable WebUI Git package for v0.1.22 --- README.md | 18 ++++++++++++++ package.json | 33 +++++++++++++++++++++++++ pyproject.toml | 2 +- src/govoplan_portal/backend/manifest.py | 2 +- webui/package.json | 2 +- 5 files changed, 54 insertions(+), 3 deletions(-) create mode 100644 package.json diff --git a/README.md b/README.md index 146eec5..7de07cc 100644 --- a/README.md +++ b/README.md @@ -46,3 +46,21 @@ data. Core and the deployment operator remain responsible for request/security logs. This reviewed boundary avoids duplicate or contradictory privacy exports. See [docs/SERVICE_DIRECTORY_CONCEPT.md](docs/SERVICE_DIRECTORY_CONCEPT.md). + +## Git-source WebUI package + +The repository root exposes `@govoplan/portal-webui` for Git-tagged release +dependencies. It mirrors the owning `webui/package.json` version, public +TypeScript/CSS exports and peer requirements, with entry paths under +`webui/src`. Consumers provide the shared Core/React peers; the facade runs no +development or install scripts. The source archive contains `webui/src`, this +README and any repository license file. Run module development checks from `webui/`; Python +installation remains governed by `pyproject.toml`. + +Das Repository stellt `@govoplan/portal-webui` am Wurzelpfad für versionierte +Git-Abhängigkeiten bereit. Version, öffentliche TypeScript-/CSS-Exporte und +Peer-Anforderungen entsprechen `webui/package.json`; die Einstiegspfade liegen +unter `webui/src`. Gemeinsame Core-/React-Peers stellt die einbindende Anwendung +bereit. Die Fassade führt keine Entwicklungs- oder Installationsskripte aus. +Entwicklungsprüfungen bleiben in `webui/`, die Python-Installation weiterhin in +`pyproject.toml` definiert. diff --git a/package.json b/package.json new file mode 100644 index 0000000..2d0c8ca --- /dev/null +++ b/package.json @@ -0,0 +1,33 @@ +{ + "name": "@govoplan/portal-webui", + "version": "0.1.22", + "private": true, + "type": "module", + "main": "webui/src/index.ts", + "module": "webui/src/index.ts", + "types": "webui/src/index.ts", + "exports": { + ".": { + "types": "./webui/src/index.ts", + "import": "./webui/src/index.ts" + }, + "./styles/portal.css": "./webui/src/styles/portal.css" + }, + "peerDependencies": { + "@govoplan/core-webui": "^0.1.18", + "lucide-react": "^1.23.0", + "react": ">=19.2.7 <20", + "react-dom": ">=19.2.7 <20", + "react-router": ">=8.3.0 <9" + }, + "peerDependenciesMeta": { + "@govoplan/core-webui": { + "optional": true + } + }, + "files": [ + "webui/src", + "README.md", + "LICENSE" + ] +} diff --git a/pyproject.toml b/pyproject.toml index fc428d3..6343b35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "govoplan-portal" -version = "0.1.21" +version = "0.1.22" description = "GovOPlaN service discovery and public portal module." readme = "README.md" requires-python = ">=3.12" diff --git a/src/govoplan_portal/backend/manifest.py b/src/govoplan_portal/backend/manifest.py index 73e5aa8..4ccc1ea 100644 --- a/src/govoplan_portal/backend/manifest.py +++ b/src/govoplan_portal/backend/manifest.py @@ -43,7 +43,7 @@ from govoplan_core.core.views import ViewSurface MODULE_ID = "portal" -MODULE_VERSION = "0.1.21" +MODULE_VERSION = "0.1.22" READ_SCOPE = "portal:service:read" SERVICE_LAUNCH_CAPABILITIES = tuple( service_launch_capability(kind) for kind in ("case", "form", "workflow") diff --git a/webui/package.json b/webui/package.json index 9aa2ff7..c4bc2b1 100644 --- a/webui/package.json +++ b/webui/package.json @@ -1,6 +1,6 @@ { "name": "@govoplan/portal-webui", - "version": "0.1.21", + "version": "0.1.22", "private": true, "type": "module", "main": "src/index.ts",