title: How to make an extension add a custom component?
body: <p>I have a <code>TypeScript</code> file with a class that inherits <code>cc.Component</code>. I want to put it inside an extension package and have it accessible in the editor (have an option to add it to a node etc.) once the package is added. How can I accomplish that?</p>