mikesealey
fcdd933f7d
updates Handlebar-Helper manifest for Lorem helper
2024-07-04 16:47:08 +01:00
mike12345567
332bf09116
Fixing up the typing in the gen collection script so that it is valid TS again and will work.
2024-07-04 14:50:59 +01:00
Adria Navarro
6da459be59
Add missing dep
2024-07-04 11:50:06 +02:00
Peter Clement
c417a5e627
Replace multiple spaces in bindings with one space ( #14018 )
...
* replace multiple spaces in bindings with one space
* add some tests and update regex to account for strings
* update regex to character based approach
* simplify regex to only look for spaces after {{
---------
Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2024-06-28 14:18:15 +01:00
mike12345567
ebf8f54bb7
Upgrading to Typescript 5.5.2
2024-06-24 16:41:28 +01:00
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
Michael Drury
ff29d36528
Revert "Getting rollup package versions consistent through all packages"
2024-04-26 14:59:19 +01:00
mike12345567
22a67eb769
Matching rollup version across all packages, there was a lot of mis-match and I was running into some build issues due to this, getting everything on the same version so that they can all use the same package - this also requires updating all .js extensions to .mjs to correctly support the imports.
2024-04-25 18:43:54 +01:00
mike12345567
659efe67d7
Adding edge case handling to the binding readable/runtime conversion, checking if it is trying to replace a binding which a substring of a helper name, which causes the helper to become un-usable.
2024-04-19 16:40:45 +01:00
Adria Navarro
a88924a418
Remove // eslint-disable-next-line no-unused-vars
2024-04-17 12:24:41 +02:00
Adria Navarro
56ed9a477f
Add tests
2024-04-04 21:27:22 +02:00
Adria Navarro
8a13446fe4
Clean exports
2024-04-04 21:27:21 +02:00
Adria Navarro
35a0a4d44c
Add tests
2024-04-04 21:27:21 +02:00
mike12345567
936762c8ee
Removing all eval warnings from rollup.
2024-03-27 13:35:47 +00:00
Adria Navarro
89767162bb
Add comments
2024-03-21 18:41:23 +01:00
Andrew Kingston
67a1f82ed2
Merge branch 'BUDI-8113/fix-isolated-vm-bundler' of github.com:Budibase/budibase into BUDI-8113/fix-isolated-vm-bundler
2024-03-21 16:59:40 +00:00
Andrew Kingston
4102459f98
Fix additional helpers not working
2024-03-21 16:59:07 +00:00
Adria Navarro
9ba8a21f29
Merge branch 'master' into BUDI-8113/fix-isolated-vm-bundler
2024-03-21 17:35:21 +01:00
Adria Navarro
09368340de
Add tests
2024-03-21 17:29:55 +01:00
andz-bb
55e0145fdb
fix for boolean values getting stripped when running processObject
2024-03-21 16:10:52 +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
217b39c232
Reenable no-unused-vars
2024-03-20 11:46:39 +00:00
Sam Rose
009c795f54
Reenable no-undefs.
2024-03-19 17:47:39 +00:00
Sam Rose
5749333fc7
Reenable no-useless-escape.
2024-03-19 11:14:16 +00:00
Adria Navarro
236b188630
Add missing devDependency
2024-03-18 17:43:30 +01:00
Adria Navarro
87730918d9
Inject buffer to string-templates dist
2024-03-18 12:37:05 +01:00
Adria Navarro
e34f24e2f1
Lint
2024-03-15 20:12:41 +01:00
Adria Navarro
a78485e325
Lint
2024-03-15 20:08:59 +01:00
Adria Navarro
21a387f4fe
Mutate input
2024-03-15 19:57:04 +01:00
Adria Navarro
b1689b38c2
Remove any
2024-03-15 16:56:53 +01:00
Adria Navarro
8f3c21f045
Fix server jest mappers
2024-03-15 16:40:30 +01: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
987ea60537
Add string-templates check:types
2024-03-15 10:29:47 +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
e1512f15de
Add nx dependencies back
2024-03-15 09:47:48 +01:00
Adria Navarro
4332034434
Type tests
2024-03-15 09:41:32 +01:00
Adria Navarro
972cbf43b8
Types
2024-03-15 09:35:38 +01:00
Adria Navarro
49cca6d69a
Lint
2024-03-15 00:07:05 +01:00
Adria Navarro
cfb1665ed9
Fix tests
2024-03-15 00:00:17 +01:00
Adria Navarro
bd4b14e995
Fix tests
2024-03-14 23:51:24 +01:00
Adria Navarro
acbb06edf7
Split code
2024-03-14 22:32:17 +01:00
Adria Navarro
03122b464f
Types
2024-03-14 18:39:08 +01:00
Adria Navarro
029ac07fa2
Fix types
2024-03-14 18:37:49 +01:00
Adria Navarro
d4e72e4a0b
Fix test/utils exports
2024-03-14 18:26:14 +01:00
Adria Navarro
8bd89a27a5
Fix types
2024-03-14 17:51:43 +01:00
Adria Navarro
215d68715b
Declarations
2024-03-14 17:50:31 +01:00
Adria Navarro
81f2fb5aa9
Move manifest.json
2024-03-14 17:50:17 +01:00
Adria Navarro
2407ddbcfb
Gen manifest to ts
2024-03-14 17:49:05 +01:00
Adria Navarro
a390015757
Fix require
2024-03-14 17:41:30 +01:00
Adria Navarro
68bfa2434b
Add json back
2024-03-14 17:37:25 +01:00
Adria Navarro
0627a7f3a8
Remove json plugin
2024-03-14 17:31:07 +01:00
Adria Navarro
379b9a3e8f
Fix build
2024-03-14 17:28:35 +01:00
Adria Navarro
c60baaa012
More types
2024-03-14 17:17:38 +01:00
Adria Navarro
566c4e5c17
Fix typings
2024-03-14 17:17:38 +01:00
Adria Navarro
c3531ac8ba
Types
2024-03-14 17:17:38 +01:00
Adria Navarro
9e0e9297f5
Fixes
2024-03-14 17:17:18 +01:00
Adria Navarro
8bbf318f4a
Fixes
2024-03-14 17:17:18 +01:00
Adria Navarro
38f64aa704
Lint
2024-03-14 17:17:18 +01:00
Adria Navarro
d24ea36c64
Fixes
2024-03-14 17:17:18 +01:00
Adria Navarro
af3c4285f0
Fix build
2024-03-14 17:17:18 +01:00
Adria Navarro
bbe5f0041d
Types
2024-03-14 17:17:18 +01:00
Adria Navarro
b05dc6ab49
Fix typings
2024-03-14 17:17:18 +01:00
Adria Navarro
0b292f2e82
Allow ts tests
2024-03-14 17:17:18 +01:00
Adria Navarro
f782305219
Change to js
2024-03-14 17:17:18 +01:00
Adria Navarro
c9973b5ecd
Remove type
2024-03-14 17:17:18 +01:00
Adria Navarro
05c8f9b956
Fix js
2024-03-14 17:17:18 +01:00
Adria Navarro
afe2335ed8
Fix rollup config
2024-03-14 17:17:18 +01:00
Adria Navarro
52fd8c2369
Remove not required rollup plugin
2024-03-14 17:17:18 +01:00
Adria Navarro
16ca7bbc45
Fix requires
2024-03-14 17:17:18 +01:00
Adria Navarro
2339030fe2
Build both cjs and mjs versions
2024-03-14 17:17:18 +01:00
Adria Navarro
667a5ab990
Fix package.json refs
2024-03-14 17:17:18 +01:00
Adria Navarro
0ad7bde478
Don't run tsc
2024-03-14 17:17:10 +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
3b757476e0
Setup typescript rollup
2024-03-14 17:17:10 +01:00
Adria Navarro
6b3c4ec651
Update entrypoints
2024-03-14 17:17:10 +01:00
Adria Navarro
8503af6729
Point to src
2024-03-14 17:17:10 +01:00
Adria Navarro
813b96354b
Final convertions
2024-03-14 17:17:10 +01:00
Adria Navarro
4aa8456d21
More convertions
2024-03-14 17:17:10 +01:00
Adria Navarro
92f08d84d7
More convertions
2024-03-14 17:17:10 +01:00
Adria Navarro
b457b0e023
Convert helpers
2024-03-14 17:17:10 +01:00
Adria Navarro
cdf251f9cc
Processors to esm
2024-03-14 17:17:10 +01:00
Adria Navarro
e0873b359c
Mark as module
2024-03-14 17:17:10 +01:00
Adria Navarro
efef47b77e
Indexjs to esm
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