33 Commits

Author SHA1 Message Date
garronej
5f3f25eee9 #380 2023-08-25 12:59:56 +02:00
garronej
476a33c0ab #380 2023-07-24 23:22:16 +02:00
Waldemar Reusch
27575eda68 fix: collapse empty ca list to undefined 2023-04-25 01:40:07 +02:00
Waldemar Reusch
f33b9a1ec6 feat: honor npmrc settings for ssl ca, cert and strict ssh handling 2023-04-25 01:40:07 +02:00
garronej
71eb953fd3 Minor changes 2023-03-31 13:25:48 +02: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
253825a35e
fix(download): fix download cache not behaving as expected 2023-03-21 14:48:16 +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
Waldemar Reusch
b38d79004a
Merge branch 'main' into mvn-begone 2023-02-03 14:42:05 +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
1a0e05d073 rewrite download and unzip to use nodejs native methods 2023-01-16 14:42:20 +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
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
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
Lucas Freitas
1572f1137a Makes the download output predictable. This fixes the case where GitHub redirects and wget was trying to download a filename called "15.0.2", and then unzip wouldn't pick it up.
Changes wget to curl because curl is awesome. -L is to follow the GitHub redirects.
2021-10-21 16:20:50 +02:00
garronej
e3df4b83eb Better prettier params (changelog ignore) 2021-10-12 00:26:29 +02:00
garronej
305ce9e44d Remove eslint and run prettier (changelog ignore) 2021-10-11 21:35:40 +02:00
garronej
7a37a6127d Support Hungarian and Danish (use Keycloak 15 language resources) 2021-10-06 17:22:52 +02:00
garronej
b1e24212ea Spaces in file path #22 2021-07-21 22:42:00 +02:00
Joseph Garrone
2a5a4c16ea fix build 2021-03-03 02:31:02 +01:00
Joseph Garrone
6a93c6e894 remove unesseary log 2021-03-02 12:19:12 +01:00
Joseph Garrone
f599df2bb7 update 2021-03-01 20:45:37 +01:00
Joseph Garrone
cd145b42d6 includes translations 2021-02-28 18:40:57 +01:00