Commit Graph

103 Commits

Author SHA1 Message Date
mike12345567 32e4493a96 Quick fix for using the roles option within the builder - this was broken in JS which was a bit of a pain - this works properly now and allows more compat between HBS and JS. 2024-06-05 11:58:40 +01:00
Adria Navarro 89767162bb Add comments 2024-03-21 18:41:23 +01:00
Andrew Kingston 4102459f98 Fix additional helpers not working 2024-03-21 16:59:07 +00:00
Adria Navarro 001e48179a Lint 2024-03-21 17:09:20 +01:00
Adria Navarro c679984a99 Don't use barrel files 2024-03-21 16:10:27 +01:00
Adria Navarro 1a8510358b Fix test 2024-03-21 11:43:50 +01:00
Adria Navarro a6d3840141 Fix bundling 2024-03-21 11:28:06 +01:00
Sam Rose 009c795f54
Reenable no-undefs. 2024-03-19 17:47:39 +00:00
Adria Navarro ecde5add83 Merge branch 'master' into chore/stringtemplates-to-esm 2024-03-15 13:22:50 +01:00
Adria Navarro 7d6377fa14 Fix types 2024-03-15 13:01:33 +01:00
Adria Navarro 69ecf5183b Fix cli check:types 2024-03-15 10:38:51 +01:00
Adria Navarro 204aadc8e6 Fix 2024-03-15 10:29:59 +01:00
Adria Navarro 9dac9d0a3d Types 2024-03-15 10:18:47 +01:00
Adria Navarro 9671399ca8 Bundle build 2024-03-15 10:04:45 +01:00
Adria Navarro c698b684e4 Lint 2024-03-15 09:59:18 +01:00
Adria Navarro 972cbf43b8 Types 2024-03-15 09:35:38 +01:00
Adria Navarro bd4b14e995 Fix tests 2024-03-14 23:51:24 +01:00
Adria Navarro a390015757 Fix require 2024-03-14 17:41:30 +01:00
Adria Navarro c60baaa012 More types 2024-03-14 17:17:38 +01:00
Adria Navarro 38f64aa704 Lint 2024-03-14 17:17:18 +01:00
Adria Navarro 05c8f9b956 Fix js 2024-03-14 17:17:18 +01:00
Adria Navarro 16ca7bbc45 Fix requires 2024-03-14 17:17:18 +01:00
Adria Navarro a572cc980f Fix ts 2024-03-14 17:17:10 +01:00
Adria Navarro 046e27c737 Change from js to ts 2024-03-14 17:17:10 +01:00
Adria Navarro 813b96354b Final convertions 2024-03-14 17:17:10 +01:00
Adria Navarro b457b0e023 Convert helpers 2024-03-14 17:17:10 +01:00
Andrew Kingston 95f71efdab Cache snippet evaluations in the browser 2024-03-13 12:52:36 +00:00
Andrew Kingston 861d48dbf3 Transform snippets into a map in the browser for faster access 2024-03-13 12:37:49 +00:00
Andrew Kingston 64855bbdf0 Optimise cloneDeep usage in string templates 2024-03-13 12:11:09 +00:00
Andrew Kingston a1186cd6d3 Remove testing snippet code 2024-03-13 12:01:26 +00:00
Andrew Kingston 706f9b5d4a Update snippets to be an array 2024-03-05 19:11:34 +00:00
Andrew Kingston 5b3280832c Improve logic around swapping binding panel tabs 2024-03-05 18:38:48 +00:00
Andrew Kingston 483fcbe30a Add example of crazy long snippet for performance testing 2024-03-01 15:48:39 +00:00
Andrew Kingston b7b1e95eb8 Add working PoC of snippets for both polyfilled vm and isolated-vm 2024-03-01 15:25:40 +00:00
mike12345567 5dfa460374 Disabling VM by default in string-templates, backend services *MUST* set their JS runner specifically rather than assuming the VM library by default. 2024-02-20 16:23:35 +00:00
Adria Navarro b27ca57e1a Allow loging js execution errors 2024-02-12 14:00:32 +01:00
Adria Navarro ec7adfb1b1 Remove index.cjs entry point 2024-02-09 10:27:22 +01:00
Adria Navarro 8dfcc3aeb1
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-02 12:02:09 +01:00
Sam Rose 332a201ae7
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-02 09:51:46 +00:00
Adria Navarro 45ea6a6fd6
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-01 16:47:41 +01:00
Adria Navarro 16749ec3dd
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-01 16:30:34 +01:00
Adria Navarro a5ccb9f0e8 Dry 2024-01-31 17:47:07 +01:00
Adria Navarro 507aa8af93 Simplify and remove magic strings 2024-01-31 17:05:20 +01:00
Adria Navarro cd4fccbd6e Allow excluding js helpers 2024-01-31 10:34:49 +01:00
Adria Navarro e5d5dea5e6 Renames 2024-01-31 10:00:41 +01:00
Adria Navarro 43e536e7a6 Test only js helpers 2024-01-30 16:52:25 +01:00
Adria Navarro db14f9afab Inject {} at the end of the helper calls 2024-01-30 09:48:15 +01:00
Adria Navarro a14ff42b14 Fix duration as js 2024-01-30 09:48:15 +01:00
Adria Navarro 5a1d73ff2f Fix avg helper 2024-01-30 09:48:15 +01:00
Adria Navarro 52b97336ee lodash.clonedeep 2024-01-10 14:56:29 +01:00