Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.22 KB

0004-openscd-release-and-deployment-strategy.md

File metadata and controls

32 lines (21 loc) · 1.22 KB

ADR-0004 - Technical solution for releasing and deployments

Date: 2024-11-19

Status

Approved

Context

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.

Decision

Release process

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

Consequences

  • 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