63 Commits

Author SHA1 Message Date
Waldemar Reusch
5abbc7f9a7 style: run prettier 2023-04-02 22:49:12 +02:00
Waldemar Reusch
dcfefad17f refactor(jar): introduce yazl for creating jars
* introduce yazl
* remove old zip code
* refactor jar code to make it better testable
* introduce unit test for jar creation
2023-04-02 22:47:42 +02:00
Waldemar Reusch
baae22657e style: fix formatting 2023-04-01 22:44:13 +02:00
Waldemar Reusch
46264c85f4 Add unit test and fix some more use cases 2023-04-01 22:36:54 +02:00
Waldemar Reusch
2811eb6024 fix: fix typing 2023-04-01 22:08:00 +02:00
Waldemar Reusch
ab5287a3d4 refactor: type-safe trimIndent 2023-04-01 22:07:59 +02:00
William Will
9c133be779 fix: create cache dir if it doesn't already exist 2023-03-31 09:36:59 -06:00
garronej
71eb953fd3 Minor changes 2023-03-31 13:25:48 +02:00
Michael Kreuzmayr
08c7e38587 refactor: use yauzl for unzipping 2023-03-30 22:56:58 +02:00
William Will
eafb75a958 fix: do not swallow errors 2023-03-29 18:48:10 -06:00
William Will
31ca0939aa fix: pass only strings to trimIndent 2023-03-29 18:07:43 -06:00
Waldemar Reusch
3a6fe1b374 fix(cache): fix download caches
* also fix npm config running 4 times in the worst case
* factor out unzip methods
* factor and enhance trimindent
* factor out more utils
* restore windows build, which failed cause generate-i18n-messages did not write any files
2023-03-29 09:54:29 +02:00
Waldemar Reusch
0ba2f37004 Merge branch 'main' into fix-download-cache 2023-03-29 09:22:55 +02:00
garronej
a22b231982 Mute max listener warning 2023-03-25 05:11:25 +01:00
Waldemar Reusch
253825a35e
fix(download): fix download cache not behaving as expected 2023-03-21 14:48:16 +01:00
garronej
59d47592d9 Fix other scripts 2023-03-19 16:58:26 +01:00
garronej
b573bc20b5 Fix 2023-03-19 16:37:35 +01:00
garronej
dbbfa07639 Feature new script: Eject-keycloak-page 2023-03-19 15:52:41 +01:00
garronej
2eccc86e83 Remove eventEmitter warning 2023-03-18 19:02:17 +01:00
Waldemar Reusch
819e045811 feat(proxy): respect XDG_CACHE_HOME if set 2023-03-08 10:24:52 +01:00
Waldemar Reusch
851dcd5bf7 Run keycloakify behind corporate proxy
Fixes #257

Use make-fetch-happen for the download step. This lib will use `PROXY`
and `HTTPS_PROXY` and `NO_PROXY` env vars out of the box.

Additionally we'll try and get proxy config from npm. Unfortunately,
the most straightforward options is to call npm config to do this, since
npm  config is not easily extracted as a lib and we don't want to
replicate the resolution mechanisms.
2023-03-07 16:43:12 +01:00
garronej
6cd231426d Import Blob from node builtins 2023-02-07 01:32:20 +01:00
Waldemar Reusch
80618bbd9c
Merge branch 'main' into mvn-begone 2023-02-05 13:36:52 +01:00
Waldemar Reusch
38ad47ea75 use hand-crafted promise, pipeline does not resolve properly 2023-02-05 13:32:24 +01:00
Waldemar Reusch
d4ff6b1f40 fix: bundler fix missing directory 2023-02-05 12:59:05 +01:00
Waldemar Reusch
e034dc4d90 Merge branch 'mvn-begone' of github.com:lordvlad/keycloakify into mvn-begone
* 'mvn-begone' of github.com:lordvlad/keycloakify:
  fix(deps): update garronej_modules_update
  Update README.md
  Rollback via update
  Bump version
  keycloak test script: use env to launch bash
  fix(deps): update dependency powerhooks to ^0.22.0
  Update dependency powerhooks to ^0.21.0
  Relase candidate
  fmt
  Update README.md
  Bump version
  Update src/bin/tools/downloadAndUnzip.ts
  Bump version
  #232
  Bump version
  keycloak test script: use env to launch bash
  fix(deps): update dependency powerhooks to ^0.22.0
  Update dependency powerhooks to ^0.21.0
2023-02-05 12:35:15 +01:00
Waldemar Reusch
cfbd1e5e4b fix(bundler): fix type mismatch introduced in last-minute 'fixes' 2023-02-05 12:34:48 +01:00
garronej
1a9f6d10d4 Actually run the top level await 2023-02-04 20:50:53 +01:00
Waldemar Reusch
b38d79004a
Merge branch 'main' into mvn-begone 2023-02-03 14:42:05 +01:00
Waldemar Reusch
2b87c35058 introduce utils for creating a jar archive 2023-02-03 14:06:24 +01:00
Waldemar Reusch
b11833e450 fix typo 2023-02-03 13:48:32 +01:00
Waldemar Reusch
8ed4ed3fc4
Update src/bin/tools/downloadAndUnzip.ts 2023-01-26 22:29:51 +01:00
Waldemar Reusch
29fe4566a7 style: remove unused variable 2023-01-26 22:20:16 +01:00
Waldemar Reusch
ae3bfb28ed refactor: follow suggesion to make methods read a bit more sync 2023-01-26 22:00:31 +01:00
Waldemar Reusch
1a0e05d073 rewrite download and unzip to use nodejs native methods 2023-01-16 14:42:20 +01:00
Waldemar Reusch
b5484740b7 fix(build): remove dependency on *nix chown 2023-01-12 22:27:22 +01:00
garronej
49b87777f9 Fmt 2023-01-08 14:57:18 +01:00
Waldemar Reusch
d4523bb1e6
Merge branch 'main' into patch-1 2023-01-08 12:22:14 +01:00
Waldemar Reusch
e3200899e2
fix: replace rm system calls with nodejs native functions; closes #219 2023-01-08 12:19:41 +01:00
German Ivanov
fb3b0e2c29 fix: make sure external assets flag is a boolean 2022-09-08 15:46:27 +03:00
German Ivanov
11b2342da0 feat: add silent flag 2022-09-08 13:52:10 +03:00
garronej
8cd584cbd5 Implementation of #160 and #103 for v6 2022-08-20 14:56:20 +07:00
garronej
a1a65c5529 Prettier: switch to trailing coma: none 2022-08-20 11:44:48 +07:00
garronej
d79081dee4 Ship /src/lib in ESM for enabeling dynamic imports 2022-07-30 00:42:38 +02:00
garronej
449f100bc0 Using <Suspense /> and React.lazy() 2022-07-30 00:30:57 +02:00
garronej
964feae846 #134 2022-07-11 19:18:15 +02:00
BARDIS George
05a6aee782 fix: Issue-131: include all nested folders in artifact unzip 2022-07-06 11:44:25 +03:00
garronej
9bdb224631 Prevent rate limite in CI by authenticating 2022-06-01 05:51:33 +02:00
garronej
efde71d07c Feature email customization #9 2022-04-20 00:39:40 +02:00
garronej
357bc8d19d M1 Mac compat (for real this time) 2022-04-09 20:18:42 +02:00