ioBroker.js-controller icon indicating copy to clipboard operation
ioBroker.js-controller copied to clipboard

[enhancement]: Add desiredDependencies to AdapterObject.common part

Open GermanBluefox opened this issue 9 months ago • 3 comments

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

GermanBluefox avatar Jan 15 '25 22:01 GermanBluefox