diff --git a/docs/architecture-decisions/adr011-plugin-package-structure.md b/docs/architecture-decisions/adr011-plugin-package-structure.md index 9133e5b7c2..374a3ed546 100644 --- a/docs/architecture-decisions/adr011-plugin-package-structure.md +++ b/docs/architecture-decisions/adr011-plugin-package-structure.md @@ -35,6 +35,8 @@ example `catalog` or `techdocs`): - `x`: Contains the main frontend code of the plugin. - `x-backend`: Contains the main backend code of the plugin. +- `x-backend-module-`: Contains optional modules related to the backend + plugin. - `x-react`: Contains shared widgets, hooks and similar that both the plugin itself (`x`) and third-party frontend plugins can depend on. - `x-node`: Contains utilities for backends that both the plugin backend itself @@ -61,6 +63,10 @@ We will actively migrate existing packages that are part of a plugin to the `plugins/catalog-common` we might want to do an exception here, as it's a very central package. +We will actively migrate optional features of backend plugins into separate +`x-backend-module-` packages, for example the more specialized processors +in the catalog backend. + The limited set of rules might not be sufficient in the future. If additional packages are required, we will revisit this decision and extend the pattern.