diff --git a/README.md b/README.md index fe507c5..1c5a1c6 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,21 @@ in [the interface pattern audit](docs/INTERFACE_PATTERN_MIGRATION.md). cd webui && npm run typecheck cd webui && npm run test:interface-pattern ``` + +## Git-source WebUI package + +The repository root exposes `@govoplan/workflow-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/workflow-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..0783b63 --- /dev/null +++ b/package.json @@ -0,0 +1,34 @@ +{ + "name": "@govoplan/workflow-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" + } + }, + "peerDependencies": { + "@govoplan/core-webui": "^0.1.45", + "@xyflow/react": "^12.11.2", + "lucide-react": "^1.23.0", + "react": ">=19.2.7 <20", + "react-dom": ">=19.2.7 <20", + "react-router": ">=8.3.0 <9", + "typescript": "^5.7.2" + }, + "peerDependenciesMeta": { + "@govoplan/core-webui": { + "optional": true + } + }, + "files": [ + "webui/src", + "README.md", + "LICENSE" + ] +}