archetype-themes / plugin-theme-component

A Shopify CLI plugin for building theme components.
MIT License
9 stars 4 forks source link

CLI: Detect necessary components on install #403

Closed fleveillee closed 4 months ago

fleveillee commented 8 months ago

When installing components in a theme, we install all of them by default. There is a way to specify a list of components in the TOML config to make sure you do not get extra unnecessary items, but it would be more convenient to automatically scan the section files for components' use and only install the necessary ones.