Commit Graph

2288 Commits

Author SHA1 Message Date
mike12345567 04a7878ce9 Changing how we enforce backend JS. 2025-01-20 17:02:57 +00:00
mike12345567 98bd824d7a Adding the ability to configure whether or not string templates is testing backend JS or frontend. 2025-01-20 16:33:21 +00:00
mike12345567 9c65f1ab41 Another quick fix. 2025-01-20 15:58:11 +00:00
mike12345567 ae73c0147f Adding test checks. 2025-01-20 15:41:08 +00:00
mike12345567 a920be3207 Remove error. 2025-01-20 15:33:06 +00:00
mike12345567 3b03515253 Fixing test failure. 2025-01-20 15:23:00 +00:00
mike12345567 bd5e55480e Adding more test cases. 2025-01-20 11:16:19 +00:00
mike12345567 272bbf5f8b Logging with types - allows for coloured outputs. 2025-01-17 17:18:42 +00:00
mike12345567 e146d995eb Adding in support for multi-parameter logs and actual logging to console. 2025-01-17 11:06:55 +00:00
mike12345567 e6d536bcc8 Getting the line number calculated correctly, as well as adding some basic test cases. 2025-01-16 18:15:54 +00:00
mike12345567 d3a2306787 Finishing link up of logs. 2025-01-16 15:48:49 +00:00
mike12345567 28958f5a1c Expose the ability to get logs. 2025-01-16 15:29:50 +00:00
mike12345567 6f9f36f9eb Getting string templates ready. 2025-01-15 18:38:23 +00:00
Adria Navarro 2f1b6d007d Fix string-templates on dev 2024-12-11 11:52:34 +01:00
Adria Navarro 7169fc8096 Clean 2024-12-10 12:18:27 +01:00
Adria Navarro c561318434 Update and replace old plugins 2024-12-10 12:15:57 +01:00
Adria Navarro f6bbbd7b3f Merge branch 'master' into labday/monorepo-setup 2024-12-10 10:18:43 +01:00
Sam Rose 84d9f6816c
Enable a variety of useful looking lints. 2024-12-09 12:52:21 +00:00
Adria Navarro 66cd757c27 Unify node types 2024-12-09 12:44:49 +01:00
Adria Navarro fb71568767 Merge branch 'master' into labday/monorepo-setup 2024-12-09 11:32:13 +01:00
Adria Navarro d0b61ebd7d Reuse tsconfig.json 2024-12-05 17:41:42 +01:00
Sam Rose 18263a1a16
Update to TypeScript 5.7.2. 2024-12-05 15:06:49 +00:00
Adria Navarro 50ac79396e Expose iife 2024-11-19 11:00:58 +01:00
Adria Navarro fb80647013 Proper types 2024-11-19 11:00:58 +01:00
Adria Navarro 2867515c0e Exclude src from npm packages 2024-11-19 11:00:58 +01:00
Sam Rose deee5e4e05
Put the frontend back to how it was. 2024-10-07 12:35:05 +01:00
Sam Rose c21d8a8131
Remove inaccurate comment. 2024-10-07 12:27:17 +01:00
Sam Rose 55699cfaff
Don't clone non-object/non-arrays, use default JS in manifest.spec.ts. 2024-10-07 12:23:22 +01:00
Sam Rose 2c451d494b
Backend/frontend JS parity, deep clone optimisation. 2024-10-07 12:04:45 +01:00
Sam Rose c10cdd3aaf
Fix undefined error. 2024-10-04 11:56:55 +01:00
Sam Rose c247b194c2
Fix error propagation all the way out of processStringSync. 2024-10-04 11:48:19 +01:00
Sam Rose 4fb870e449
Make processStringSync's throw behaviour opt-in. 2024-10-04 11:30:10 +01:00
Sam Rose 2e4607edb6
Ensure processObjectSync does not throw. 2024-10-04 11:13:30 +01:00
Sam Rose 28e6a03929
Include syntax errors in processJS 2024-10-04 10:32:33 +01:00
Sam Rose 15a30b1d9e
Fix yet more tests. 2024-10-03 16:32:14 +01:00
Sam Rose 03c514be4c
Fix tests. 2024-10-03 16:16:42 +01:00
Sam Rose 646fc5e6bd
Respond to PR comment. 2024-10-03 15:56:19 +01:00
Sam Rose 795b10c4c9
Fix types in string-templates. 2024-10-03 13:11:35 +01:00
Sam Rose f9ccbbe081
Fix jsRunner.spec.ts. 2024-10-03 13:11:01 +01:00
Sam Rose df242cc2ad
Don't break the fact that processStringSync returns a string. 2024-10-03 13:07:22 +01:00
Sam Rose fdbe633b02
Get errors working on the client side as well. 2024-10-03 12:43:57 +01:00
Sam Rose b004ef5448
Pull the error object out of isolated-vm when a user script throws an error. 2024-10-03 09:42:08 +01:00
mike12345567 bbc33d37e6 PR comments. 2024-08-15 11:04:57 +01:00
mike12345567 87999db659 Adding test cases. 2024-08-14 18:12:33 +01:00
Michael Drury 165eff2e5a First pass - no tests yet, had to make some changes to how pre-processing works, as well as updating the string based on context, if there is any overlap between the helpers and context it will prefix the overlap with ./ - this means to look in context. 2024-08-14 17:21:40 +01:00
mike12345567 e34257a018 One more fix. 2024-07-22 18:22:04 +01:00
mike12345567 b611b0da33 Fixing JS generation ordering. 2024-07-22 18:12:12 +01:00
mike12345567 c857bacafa Fix for #14201, adds the test helper into the manifest correctly. 2024-07-22 16:26:59 +01:00
mikesealey 004db2d414 prepares manifest for Lorem Ipsum handlebar helper 2024-07-04 16:56:25 +01:00
mikesealey 457e9235f0 Revert "updates Handlebar-Helper manifest for Lorem helper"
This reverts commit fcdd933f7d.
2024-07-04 16:47:56 +01:00