aleksip / plugin-data-transform

Data Transform Plugin for Pattern Lab PHP
GNU General Public License v2.0
34 stars 10 forks source link

Discussion/Request: Include patterns in lineage #17

Open waako opened 6 years ago

waako commented 6 years ago

It would be helpful if patterns included using plugin-data-transform were added to the lineage and therefore included in pattern info.

Any idea on how it might be possible? I guess it would mean amending patternlab-php-core Helper files to look in the yaml/json for any pattern: child of an include():

Or might there be a way to workaround that?

aleksip commented 6 years ago

Indeed it would, thanks for the great suggestion! Adding plugin-specific stuff to core is a no-no, but I think it is possible to do this in the plugin. I will have a closer look as soon as I find some time.