Some Zotero packages/repos are designed to be reused in multiple places (e.g. the basic translate infrastructure at
https://github.com/zotero/translate) and are usually included as git submodules in other parts of Zotero (or other projects).
I feel like it would help the ecosystem if those repos were properly published to npm, to ease reuse, handle breaking changes gracefully and giving a clearer image about the public API of those packages. Other advantages would be that one could easily add minimizing and typescript support to those releases.
If there is interest in such a setup, I'm happy to help implementing it.