80 Commits

Author SHA1 Message Date
Joseph Garrone
93c1c56279 Refactor checkpoint 2024-09-08 00:06:47 +02:00
Joseph Garrone
3e80aaf242 Fix vitest setup 2024-07-25 20:03:03 +02:00
Joseph Garrone
70ac07d861 css replace: Don't choke on parenthesis in urls 2024-07-14 17:45:34 +02:00
Joseph Garrone
d8e3fdeb14 Always use quotes in CSS urls 2024-07-14 16:58:35 +02:00
Joseph Garrone
f172b94467 Use uppercase for constants 2024-07-13 19:33:59 +02:00
Joseph Garrone
2754900f7a Refactor of the FreeMarker template 2024-07-13 18:17:21 +02:00
Joseph Garrone
c4638daf1b Support building account v3 2024-07-07 18:45:14 +02:00
Joseph Garrone
12fd6160c5 Fix inline CSS in html 2024-06-19 22:41:25 +02:00
Joseph Garrone
5423a07c47 Patch CSS for Keycloak by using relative paths instead of css variables 2024-06-19 01:41:22 +02:00
Joseph Garrone
d5fa6ca89a Fix unit tests 2024-06-16 17:55:06 +02:00
Joseph Garrone
f1475e5cdf Settle on calling the global 'kcContext' and reduce levels of indirections 2024-06-14 22:24:51 +02:00
Joseph Garrone
c126d080bc Make tests pass on windows OS 2024-06-14 19:06:48 +02:00
Joseph Garrone
2441d8ed8a Fix tests 2024-06-09 09:36:16 +02:00
Joseph Garrone
1a48681591 getClassName -> kcClsx 2024-06-09 08:27:07 +02:00
Joseph Garrone
f0cdb0b80b Fix build 2024-06-06 09:31:27 +02:00
Joseph Garrone
148f7fa316 Rollback unarrowing of the getKcContextMock return type 2024-06-06 02:29:09 +02:00
Joseph Garrone
aa8dc1919f Make getKcContext mock return type less narrow 2024-06-05 23:24:21 +02:00
Joseph Garrone
c7c9b19853 Fix case error 2024-06-05 23:08:40 +02:00
Joseph Garrone
68c26e0f5b Fix case issue 2024-06-05 22:55:09 +02:00
Joseph Garrone
e8a11991a0 Rename kcContext -> KcContext and improve consistency 2024-06-05 21:13:58 +02:00
Joseph Garrone
c1a63edd71 Refactor kcContext, avoid having mocks in the dist https://github.com/keycloakify/keycloakify/discussions/299#discussioncomment-9616747 2024-06-03 18:28:34 +02:00
Joseph Garrone
37c90d53e0 Fix tests 2024-05-26 12:42:13 +02:00
Joseph Garrone
22e7ff1424 Update prettier configuration 2024-05-20 15:50:58 +02:00
Joseph Garrone
d4f03b6b9e bin general reresh, introducing termost 2024-05-18 01:17:31 +02:00
Joseph Garrone
e6661cb898 Fix build 2024-02-11 23:22:37 +01:00
Joseph Garrone
6d62b5a150 Don't replace process.env.PUBLIC_URL 2024-02-09 17:56:28 +01:00
Joseph Garrone
dca8c9f9d7 Merge main, fix runtime error in scripts, fix clean build 2024-02-07 20:01:26 +01:00
Joseph Garrone
5076c1e93f Unit test passing 2024-02-06 07:28:03 +01:00
Joseph Garrone
4c2e01a7a8 Done with implementation of webpack js replacer test case for support of non root base 2024-01-30 00:56:47 +01:00
Joseph Garrone
7267d2ef38 Add a test case for the code that enable the import to work in webpack if base isn't / 2024-01-30 00:37:30 +01:00
Joseph Garrone
1eb6b154f7 Rearenge test case 2024-01-30 00:15:08 +01:00
Joseph Garrone
f55d61bf0b Rename test case file 2024-01-30 00:10:59 +01:00
Joseph Garrone
5b350274bd Fundation 2024-01-30 00:06:17 +01:00
Joseph Garrone
66e595e649 Vite investigations 2024-01-27 18:49:29 +01:00
Joseph Garrone
b67aeb0d3a Fix tests #471 2023-12-14 15:33:57 +01:00
Joseph Garrone
b5818888bb
Merge branch 'v9' into v9_tmp 2023-11-26 14:45:23 +01:00
Joseph Garrone
4506b3f6d4 Remove some dead code 2023-10-22 16:04:47 +02:00
Sergey Kupletsky
d26dbf4b3d fix: change JS path transformation for static resources
- Handle both arrow functions and traditional function expressions
- Add tests to ensure correctness of transformations
2023-09-24 23:42:10 +02:00
garronej
7de54a2cc4 Fix tests 2023-09-04 03:26:30 +02:00
garronej
983af57842 Actually remove non used resources 2023-08-24 08:58:00 +02:00
garronej
3c2820dc31 Meta progaming for detecting static assets usage a build time 2023-08-23 08:13:09 +02:00
garronej
1c25b69160 Remove --external-assets option 2023-08-21 05:54:17 +02:00
garronej
90d765d7f6 #366: fix tests 2023-06-21 18:23:12 +02:00
Thomas Silvestre
387c71c0aa prevent crawlRec from crashing when dir_path does not exist 2023-06-21 16:24:58 +02:00
Waldemar Reusch
465dbb4a8d fix formatting 2023-04-27 14:47:15 +02:00
Waldemar Reusch
08ae908453 fix: adjust test after adjusting jar.ts 2023-04-27 14:44:45 +02:00
garronej
1112da33e3 Fix build 2023-04-19 05:32:19 +02:00
garronej
089f0f7a87 More explicit naming 2023-04-17 01:32:06 +02:00
garronej
d1cc6ed88d Smarter getKcContext typing 2023-04-16 03:00:03 +02:00
garronej
f6e6cf3750 Better typing for createGetKcContext 2023-04-16 02:36:15 +02:00