From 00bec0ed9458cd45b8eb35baf2a1c2607fa31682 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Tue, 8 Sep 2026 02:06:09 +0200 Subject: [PATCH] fix(packaging): expose immutable WebUI Git package for v0.1.23 --- README.md | 18 ++++++++++++++ package.json | 33 ++++++++++++++++++++++++++ pyproject.toml | 2 +- src/govoplan_forms/__init__.py | 2 +- src/govoplan_forms/backend/manifest.py | 2 +- webui/package.json | 2 +- 6 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 package.json diff --git a/README.md b/README.md index 56ed0eb..1a8ce5d 100644 --- a/README.md +++ b/README.md @@ -39,3 +39,21 @@ PYTHONPATH=src:/mnt/DATA/git/govoplan-core/src \ ``` See [docs/FORMS_BOUNDARY.md](docs/FORMS_BOUNDARY.md) for the boundary decision. + +## Git-source WebUI package + +The repository root exposes `@govoplan/forms-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/forms-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..8b686d5 --- /dev/null +++ b/package.json @@ -0,0 +1,33 @@ +{ + "name": "@govoplan/forms-webui", + "version": "0.1.23", + "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/forms.css": "./webui/src/styles/forms.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 11493d1..eadaebf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "govoplan-forms" -version = "0.1.22" +version = "0.1.23" description = "Immutable reusable form definitions for GovOPlaN." readme = "README.md" requires-python = ">=3.12" diff --git a/src/govoplan_forms/__init__.py b/src/govoplan_forms/__init__.py index 0fb6ff4..4bdfbce 100644 --- a/src/govoplan_forms/__init__.py +++ b/src/govoplan_forms/__init__.py @@ -1,3 +1,3 @@ """GovOPlaN Forms module.""" -__version__ = "0.1.22" +__version__ = "0.1.23" diff --git a/src/govoplan_forms/backend/manifest.py b/src/govoplan_forms/backend/manifest.py index e70d74a..9f3b97c 100644 --- a/src/govoplan_forms/backend/manifest.py +++ b/src/govoplan_forms/backend/manifest.py @@ -51,7 +51,7 @@ from govoplan_forms.backend.semantic_subjects import ( MODULE_ID = "forms" MODULE_NAME = "Forms" -MODULE_VERSION = "0.1.22" +MODULE_VERSION = "0.1.23" READ_SCOPE = "forms:definition:read" WRITE_SCOPE = "forms:definition:write" ADMIN_SCOPE = "forms:definition:admin" diff --git a/webui/package.json b/webui/package.json index 610b9d2..9fc7cfc 100644 --- a/webui/package.json +++ b/webui/package.json @@ -1,6 +1,6 @@ { "name": "@govoplan/forms-webui", - "version": "0.1.22", + "version": "0.1.23", "private": true, "type": "module", "main": "src/index.ts",