Reflex allows to specify npm deps via library and lib_dependencies string attributes of a Component.
Renovate and Dependabot will not parse such versions without additional plugins or configurations. It would be awesome if we could implement/document such config/plugins for reflex users and maybe even reflex-internal usage.
My team only uses renovate, I can be a bit more specific about that:
- Renovate is highly configurable, I could write a (complicated and error-prone) regex manager to parse the versions from python files (https://docs.renovatebot.com/modules/manager/regex/). This one will probably be easy, and I will raise a PR documenting those regexes if @reflex-dev is interested.
- For best support, we could later implement our own reflex manager for renovate (in TypeScript)
We could also implement a fancy approach where reflex (alternatively) allows setting library and lib_dependencies to a Path with a package.json. One big advantage is that this approach will probably add support for all dependency management tools. One disadvantage is that we have to leave python to adjust the versions.
Reflex allows to specify npm deps via
libraryandlib_dependenciesstring attributes of a Component.Renovate and Dependabot will not parse such versions without additional plugins or configurations. It would be awesome if we could implement/document such config/plugins for reflex users and maybe even reflex-internal usage.
My team only uses renovate, I can be a bit more specific about that:
We could also implement a fancy approach where reflex (alternatively) allows setting
libraryandlib_dependenciesto a Path with apackage.json. One big advantage is that this approach will probably add support for all dependency management tools. One disadvantage is that we have to leave python to adjust the versions.