Date: 2024-11-19
Approved
Based on the decision to externalize plugins in proper plugins repository a new release and deployment strategy needs to be defined. This plugins repository is solved as mono repository.
Since OpenSCD is based on NX the release strategy needs to rely on NX as well and must allow single releases of sub modules within this mono repository. Such feature is provided by NX release specially when using the NX independently release feature.
A possible release command would look like:
nx release --projects=plugin-1,plugin-3
- Process needs to be documented so that all developers can easily follow it
- The building of complete OpenSCD Editor, OpenSCD Core + OpenSCD plugins, depends now on two repositories
- Custom OpenSCD eg. CoMPAS OpenSCD will be cleaner and more code can be reused
- Similar Look & Feel of plugins if shared UI-Components are used
- Faster plugin development and integration into OpenSCD Core