Should addon repositories only contain type definitions? #134
jonasgeiler
started this conversation in
General
Replies: 1 comment 1 reply
-
The addon manager was designed to clone a small repository containing just the definitions and what is necessary. You can just include all the implementation code as well, but it will likely make the addon much larger and slower to parse. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on a library called lua-fenster (still experimental) and want to provide type definitions for it. Is it intended for me to create a separate repository using the addon template or can I just reuse the repository I already have where the actual library resides, and just add a
config.json
andlibrary
folder there?I would like to keep everything together in one place for easier contribution and maintenance. I suppose that type definition repos should be kept minimal since they get cloned by the addon manager every time, right? Or is it okay to just clone the whole library along with the definitions?
Beta Was this translation helpful? Give feedback.
All reactions