From 48dac139a5ff1bdbb6dad0e9b7f762a62df14cae Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Sat, 22 Aug 2026 13:08:31 +0200 Subject: [PATCH] feat(wiki): compose governed Wiki WebUI --- pyproject.toml | 2 +- webui/package-lock.json | 25 ++++++++++++++++++++-- webui/package-lock.release.json | 21 ++++++++++++++++-- webui/package.json | 3 ++- webui/package.release.json | 3 ++- webui/scripts/test-module-permutations.mjs | 5 ++++- webui/vite.config.ts | 2 ++ 7 files changed, 53 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f4c7357..204e77f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "govoplan-core" -version = "0.1.30" +version = "0.1.31" description = "Reusable GovOPlaN platform core, access, tenancy, and RBAC components." readme = "README.md" requires-python = ">=3.12" diff --git a/webui/package-lock.json b/webui/package-lock.json index e67a5ac..3d08c96 100644 --- a/webui/package-lock.json +++ b/webui/package-lock.json @@ -1,12 +1,12 @@ { "name": "@govoplan/core-webui", - "version": "0.1.30", + "version": "0.1.31", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@govoplan/core-webui", - "version": "0.1.30", + "version": "0.1.31", "dependencies": { "@govoplan/access-webui": "file:../../govoplan-access/webui", "@govoplan/addresses-webui": "file:../../govoplan-addresses/webui", @@ -52,6 +52,7 @@ "@govoplan/tickets-webui": "file:../../govoplan-tickets/webui", "@govoplan/views-webui": "file:../../govoplan-views/webui", "@govoplan/voting-webui": "file:../../govoplan-voting/webui", + "@govoplan/wiki-webui": "file:../../govoplan-wiki/webui", "@govoplan/workflow-webui": "file:../../govoplan-workflow/webui", "@tiptap/core": "^3.29.2", "@tiptap/extension-image": "^3.29.2", @@ -822,6 +823,22 @@ } } }, + "../../govoplan-wiki/webui": { + "name": "@govoplan/wiki-webui", + "version": "0.1.20", + "peerDependencies": { + "@govoplan/core-webui": "^0.1.31", + "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 + } + } + }, "../../govoplan-workflow/webui": { "name": "@govoplan/workflow-webui", "version": "0.1.21", @@ -1768,6 +1785,10 @@ "resolved": "../../govoplan-voting/webui", "link": true }, + "node_modules/@govoplan/wiki-webui": { + "resolved": "../../govoplan-wiki/webui", + "link": true + }, "node_modules/@govoplan/workflow-webui": { "resolved": "../../govoplan-workflow/webui", "link": true diff --git a/webui/package-lock.release.json b/webui/package-lock.release.json index 1a239ee..a012c17 100644 --- a/webui/package-lock.release.json +++ b/webui/package-lock.release.json @@ -1,12 +1,12 @@ { "name": "@govoplan/core-webui", - "version": "0.1.30", + "version": "0.1.31", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@govoplan/core-webui", - "version": "0.1.30", + "version": "0.1.31", "dependencies": { "@govoplan/access-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-access.git#v0.1.19", "@govoplan/admin-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-admin.git#v0.1.18", @@ -24,6 +24,7 @@ "@govoplan/organizations-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-organizations.git#v0.1.18", "@govoplan/policy-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-policy.git#v0.1.18", "@govoplan/tickets-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-tickets.git#v0.1.20", + "@govoplan/wiki-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-wiki.git#v0.1.20", "@tiptap/core": "^3.29.2", "@tiptap/extension-image": "^3.29.2", "@tiptap/pm": "^3.29.2", @@ -1032,6 +1033,22 @@ } } }, + "node_modules/@govoplan/wiki-webui": { + "version": "0.1.20", + "resolved": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-wiki.git#66c91351c9eb693ace606c9b69dd5cd804d7531b", + "peerDependencies": { + "@govoplan/core-webui": "^0.1.31", + "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 + } + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.13", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", diff --git a/webui/package.json b/webui/package.json index 6275c44..9ffd02d 100644 --- a/webui/package.json +++ b/webui/package.json @@ -1,6 +1,6 @@ { "name": "@govoplan/core-webui", - "version": "0.1.30", + "version": "0.1.31", "private": true, "type": "module", "main": "src/index.ts", @@ -102,6 +102,7 @@ "@govoplan/tickets-webui": "file:../../govoplan-tickets/webui", "@govoplan/views-webui": "file:../../govoplan-views/webui", "@govoplan/voting-webui": "file:../../govoplan-voting/webui", + "@govoplan/wiki-webui": "file:../../govoplan-wiki/webui", "@govoplan/workflow-webui": "file:../../govoplan-workflow/webui", "@tiptap/core": "^3.29.2", "@tiptap/extension-image": "^3.29.2", diff --git a/webui/package.release.json b/webui/package.release.json index a8fbde7..87a824d 100644 --- a/webui/package.release.json +++ b/webui/package.release.json @@ -1,6 +1,6 @@ { "name": "@govoplan/core-webui", - "version": "0.1.30", + "version": "0.1.31", "private": true, "type": "module", "main": "src/index.ts", @@ -42,6 +42,7 @@ "@govoplan/ops-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-ops.git#v0.1.18", "@govoplan/policy-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-policy.git#v0.1.18", "@govoplan/tickets-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-tickets.git#v0.1.20", + "@govoplan/wiki-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-wiki.git#v0.1.20", "@tiptap/core": "^3.29.2", "@tiptap/extension-image": "^3.29.2", "@tiptap/pm": "^3.29.2", diff --git a/webui/scripts/test-module-permutations.mjs b/webui/scripts/test-module-permutations.mjs index 0f339ae..bcfacf0 100644 --- a/webui/scripts/test-module-permutations.mjs +++ b/webui/scripts/test-module-permutations.mjs @@ -46,6 +46,7 @@ const packageByModule = { tickets: "@govoplan/tickets-webui", views: "@govoplan/views-webui", voting: "@govoplan/voting-webui", + wiki: "@govoplan/wiki-webui", workflow: "@govoplan/workflow-webui" }; @@ -79,6 +80,8 @@ const cases = [ { name: "forms-runtime", modules: ["forms", "forms_runtime"] }, { name: "tickets-only", modules: ["tickets"] }, { name: "tickets-with-helpdesk-and-cases", modules: ["tickets", "helpdesk", "cases"] }, + { name: "wiki-only", modules: ["wiki"] }, + { name: "wiki-with-files-search", modules: ["wiki", "files", "search"] }, { name: "mail-only", modules: ["mail"] }, { name: "notifications-only", modules: ["notifications"] }, { name: "organizations-only", modules: ["organizations"] }, @@ -110,7 +113,7 @@ const cases = [ { name: "tasks-only", modules: ["access", "tasks"] }, { name: "tasks-with-contributors", modules: ["access", "approvals", "postbox", "workflow", "dashboard", "tasks"] }, { name: "voting-only", modules: ["access", "voting"] }, - { name: "full-product", modules: ["access", "tenancy", "admin", "addresses", "approvals", "policy", "audit", "dashboard", "datasources", "dataflow", "dist_lists", "templates", "workflow", "views", "organizations", "idm", "identity", "identity_trust", "encryption", "cases", "committee", "connectors", "campaigns", "files", "forms", "forms_runtime", "helpdesk", "mail", "notifications", "docs", "ops", "payments", "calendar", "scheduling", "portal", "postbox", "projects", "quick_access", "reporting", "records", "risk_compliance", "search", "tasks", "tickets", "voting"] } + { name: "full-product", modules: ["access", "tenancy", "admin", "addresses", "approvals", "policy", "audit", "dashboard", "datasources", "dataflow", "dist_lists", "templates", "workflow", "views", "organizations", "idm", "identity", "identity_trust", "encryption", "cases", "committee", "connectors", "campaigns", "files", "forms", "forms_runtime", "helpdesk", "mail", "notifications", "docs", "ops", "payments", "calendar", "scheduling", "portal", "postbox", "projects", "quick_access", "reporting", "records", "risk_compliance", "search", "tasks", "tickets", "voting", "wiki"] } ]; const npmExec = process.env.npm_execpath; diff --git a/webui/vite.config.ts b/webui/vite.config.ts index e46eb42..af9a45a 100644 --- a/webui/vite.config.ts +++ b/webui/vite.config.ts @@ -56,6 +56,7 @@ const defaultWebModulePackages = [ "@govoplan/tickets-webui", "@govoplan/views-webui", "@govoplan/voting-webui", + "@govoplan/wiki-webui", "@govoplan/workflow-webui" ]; @@ -289,6 +290,7 @@ export default defineConfig({ fileURLToPath(new URL('../../govoplan-tickets/webui', import.meta.url)), fileURLToPath(new URL('../../govoplan-views/webui', import.meta.url)), fileURLToPath(new URL('../../govoplan-voting/webui', import.meta.url)), + fileURLToPath(new URL('../../govoplan-wiki/webui', import.meta.url)), fileURLToPath(new URL('../../govoplan-workflow/webui', import.meta.url)) ] },