Thomas Silvestre
387c71c0aa
prevent crawlRec from crashing when dir_path does not exist
2023-06-21 16:24:58 +02:00
garronej
de390678fd
Deprecate the extraPages options, analyze the code to detect extra pages
2023-06-21 03:54:43 +02:00
Avare Kodcu
9a6ea87b0c
Change node.js 16.6.0 dependency that Array.prototype.at
2023-05-23 13:15:02 +03:00
Waldemar Reusch
58c10796a1
fix: fix broken jar
...
Many tools will handle zipfiles which lack directory entries
just fine, others will not. Looks like the JDKs JAR libs are
not handling it well. This commit will make sure to create
folder entries.
2023-04-28 16:59:06 +02:00
Waldemar Reusch
c35a1e7c50
fix: fix paths after changing root path param meaning
2023-04-27 14:33:21 +02:00
Waldemar Reusch
ecb22c3829
fix: restore missing pom.xml in jar archive
2023-04-27 14:33:19 +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
e6f75156ec
New script only for copying default assets to public
2023-04-19 05:04:11 +02:00
Waldemar Reusch
b325b3537f
style: fix formatting
2023-04-06 22:06:14 +02:00
Waldemar Reusch
2d05521789
fix(jar): fix empty jar
2023-04-06 21:34:20 +02:00
Waldemar Reusch
309308db15
Update jar.ts
...
Yazl requires explicit handling of directories
2023-04-05 17:41:23 +02:00
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