Good question!
The first parameter of Adapt.register()
is the component name as you want people to use it in components.json as the value for the "_component"
property. Typically this would be the shorter version of the name e.g. "mcq" or "confidenceSlider".
The value for the "component"
property in bower.json also has to match this I think - certainly it does in all the others I've seen.
I don't think it's essential but typically the convention is to give your main JS file a name that reflects which plugin it belongs to i.e. interactiveMapPlaces.js or adapt-interactiveMapPlaces.js rather than just component.js
Finally, it's worth noting that if you start doing releases then you will have to keep doing releases every time you want to issue updates. Whereas if you register the plugin with no releases and don't subsequently do any, the adapt-CLI will always just take whatever is in MASTER so you don't have to worry about doing releases to get new features/bugfixes out. I think the same thing may apply to tags, I am not sure.