helpers / handlebars-helpers

188 handlebars helpers in ~20 categories. Can be used with Assemble, Ghost, YUI, express.js etc.
http://assemble.io/helpers/
MIT License
2.22k stars 365 forks source link

Merging changes from Budibase/handlebars-helpers #401

Closed mike12345567 closed 2 years ago

mike12345567 commented 2 years ago

This PR introduces merges the updates @budibase has made as we needed to get the helpers library usable with Svelte/rollup in our frontend application.

There are a few key updates worth noting:

  1. Lazy cache was removed as rollup couldn't understand the dynamic imports - we couldn't find a way to make this work so on our branch we've removed it.
  2. Updated from Travis to Github actions, these are free for open source and close to the source, it made our lives easier for publishing the package.
  3. Some examples have been updated, in Budibase we generate a blob of JSON about the helpers which gets imported into our frontend application to help the user write the handlebars strings, we needed the examples to be accurate.
  4. Packages have been updated where possible - 8000 odd lines added/changed of this PR were caused by the addition of the yarn lock.

Feel free to let me know of any changes you'd like to see before a PR like this could be merged, happy to do so.