grunt-shopify-theme-settings
grunt-shopify-theme-settings copied to clipboard
Rewrite to support settings_schema.json.
With the new settings_schema.json
settings format replacing settings.html
in Shopify themes, this plugin is currently deprecated.
This issue exists to gauge interest in reviving it with support for settings_schema.json
. The new JSON format is much easier to maintain than the old settings.html
, but it still suffers from a few issues:
- No support for splitting settings up into individual files;
- No support for repeated sections;
- JSON syntax is still quite verbose.
An updated version of grunt-shopify-theme-settings
would provide support for the above features, while using the simple YAML syntax of the original and compile down to JSON.
Hey @gavinballard - I've rewritten the settings.html file to convert to a settings_schema.json. Let me know if you'd like to check out the code.
Hey @nathanparker! I don't generally have the time to maintain this repository, so while I'm happy to review pull requests to bring something like a new shopify_convert_settings
task into the package, I'm unable to write it myself.
If you're willing to write a PR for this, I promise I'll take a look :).
@nathanparker did you end up checking out the code and creating a repo? We'd love to use it!