From a8bfdbf20c54e850d4981da1de0a585fa5ad1e39 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.20 --- README.md | 18 +++++++++++++ package.json | 32 ++++++++++++++++++++--- pyproject.toml | 2 +- src/govoplan_projects/backend/manifest.py | 2 +- webui/package.json | 2 +- 5 files changed, 50 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 36fbb23..f8cf283 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,21 @@ PYTHONPATH=src:/mnt/DATA/git/govoplan-core/src \ The module migration is applied through the platform migration runner when the module is enabled. Destructive retirement requires the normal snapshot and uninstall-guard process because it removes planning history and events. + +## Git-source WebUI package + +The repository root exposes `@govoplan/projects-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/projects-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 4d1cd55..0bc4b35 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,34 @@ { - "name": "@govoplan/projects", - "version": "0.1.19", + "name": "@govoplan/projects-webui", + "version": "0.1.20", "private": true, "description": "GovOPlaN Projects domain module.", "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", + "react-router": ">=8.3.0 <9" + }, + "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/projects.css": "./webui/src/styles/projects.css" + }, + "peerDependenciesMeta": { + "@govoplan/core-webui": { + "optional": true + } + }, + "files": [ + "webui/src", + "README.md", + "LICENSE" + ] } diff --git a/pyproject.toml b/pyproject.toml index d943809..6dd39ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "govoplan-projects" -version = "0.1.19" +version = "0.1.20" description = "GovOPlaN Projects domain module." readme = "README.md" requires-python = ">=3.12" diff --git a/src/govoplan_projects/backend/manifest.py b/src/govoplan_projects/backend/manifest.py index 2021211..b44a9d0 100644 --- a/src/govoplan_projects/backend/manifest.py +++ b/src/govoplan_projects/backend/manifest.py @@ -51,7 +51,7 @@ from govoplan_projects.backend.service import ( MODULE_ID = "projects" MODULE_NAME = "Projects" -MODULE_VERSION = "0.1.19" +MODULE_VERSION = "0.1.20" READ_SCOPE = "projects:project:read" WRITE_SCOPE = "projects:project:write" ADMIN_SCOPE = "projects:project:admin" diff --git a/webui/package.json b/webui/package.json index fe70b12..9ff4c15 100644 --- a/webui/package.json +++ b/webui/package.json @@ -1,6 +1,6 @@ { "name": "@govoplan/projects-webui", - "version": "0.1.19", + "version": "0.1.20", "private": true, "type": "module", "main": "src/index.ts",