From 36781c86f7aecbb8b6afb9cbba50ba7ae69d8a02 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Tue, 8 Sep 2026 02:06:08 +0200 Subject: [PATCH] fix(packaging): expose immutable WebUI Git package for v0.1.21 --- README.md | 18 +++++++++++++ package.json | 31 +++++++++++++++++++--- pyproject.toml | 2 +- src/govoplan_approvals/backend/manifest.py | 2 +- webui/package.json | 2 +- 5 files changed, 49 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8505453..65c08b7 100644 --- a/README.md +++ b/README.md @@ -73,3 +73,21 @@ From the core checkout, labels can be synced once a local `GITEA_TOKEN` is avail cd /mnt/DATA/git/govoplan-core /mnt/DATA/git/govoplan/tools/gitea/gitea-sync-labels.py --root /mnt/DATA/git/govoplan-approvals --apply ``` + +## Git-source WebUI package + +The repository root exposes `@govoplan/approvals-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/approvals-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 index d0b2289..611f479 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,33 @@ { - "name": "@govoplan/approvals", - "version": "0.1.20", + "name": "@govoplan/approvals-webui", + "version": "0.1.21", "private": true, "description": "Governed approval chains, decisions, delegation, and escalation for GovOPlaN.", "type": "module", - "peerDependencies": {} + "peerDependencies": { + "@govoplan/core-webui": "^0.1.18", + "lucide-react": "^1.23.0", + "react": ">=19.2.7 <20", + "react-dom": ">=19.2.7 <20" + }, + "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/approvals.css": "./webui/src/styles/approvals.css" + }, + "peerDependenciesMeta": { + "@govoplan/core-webui": { + "optional": true + } + }, + "files": [ + "webui/src", + "README.md", + "LICENSE" + ] } diff --git a/pyproject.toml b/pyproject.toml index a2bbed3..dc6ab2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "govoplan-approvals" -version = "0.1.20" +version = "0.1.21" description = "Governed approval chains, decisions, delegation, and escalation for GovOPlaN." readme = "README.md" requires-python = ">=3.12" diff --git a/src/govoplan_approvals/backend/manifest.py b/src/govoplan_approvals/backend/manifest.py index b138f9b..838e832 100644 --- a/src/govoplan_approvals/backend/manifest.py +++ b/src/govoplan_approvals/backend/manifest.py @@ -41,7 +41,7 @@ from govoplan_approvals.backend.service import SqlApprovalRequests MODULE_ID = "approvals" MODULE_NAME = "Approvals" -MODULE_VERSION = "0.1.20" +MODULE_VERSION = "0.1.21" READ_SCOPE = "approvals:workspace:read" WRITE_SCOPE = "approvals:workspace:write" DECIDE_SCOPE = "approvals:workspace:decide" diff --git a/webui/package.json b/webui/package.json index 5d07e44..4beebe6 100644 --- a/webui/package.json +++ b/webui/package.json @@ -1,6 +1,6 @@ { "name": "@govoplan/approvals-webui", - "version": "0.1.20", + "version": "0.1.21", "private": true, "type": "module", "main": "src/index.ts",