ioBroker.js-controller
ioBroker.js-controller copied to clipboard
[enhancement]: Add desiredDependencies to AdapterObject.common part
No existing issues.
- [x] There is no existing issue for my request.
Description
Use Case: For example, both JavaScript and VIS-2 adapters are being rebuilt to provide JSONConfig components and widgets in TypeScript. In this scenario:
If the JavaScript adapter is installed, it must meet a minimum version requirement (e.g., version X or higher). If the JavaScript adapter is not installed, my adapter should not enforce its installation. This functionality ensures compatibility and avoids unnecessary installations or mismatched versions.
Why?
To allow smooth migration for javascript and vis-2
How?
First propose:
Add to AdapterObject.common the entry desiredDependencies with desired versions