hybridsjs/hybrids

Feature Request: Custom Elements Manifest Analyzer

au-z opened this issue · 2 comments

au-z commented

Hi @smalluban, as mentioned in our Gitter chat, it would be great to extend Hybrids support to custom-elements-manifest with an analyzer plugin.
https://github.com/open-wc/custom-elements-manifest

The plugin generates a manifest JSON document which describes the API of custom elements for documentation, in-editor code hinting, and other tooling. In particular, I'm interested in supporting generative documentation and sandbox tooling for elements. It seems that custom-elements-manifest is the de-facto standard in this area and an analyzer plugin might greatly improve Hybrids' visibility.

I am happy to help on this feature!

au-z commented

@smalluban - out of curiosity, I've started a naive first implementation here:
https://github.com/auzmartist/cem-plugin-hybrids

If you beat me to it, feel free to cannibalize some part of this repository or perhaps we work together to clean it up to catch corner cases and bring it into the hybridsjs ecosystem when it tests well. 👍