1272 Commits

Author SHA1 Message Date
garronej
6a48325132 Be more relax on the type safety to avoir headache 2023-02-26 15:37:52 +01:00
garronej
294be0a79a see prev commit 2023-02-26 15:36:52 +01:00
garronej
c94b264b44 Don't need a dir for a single file 2023-02-26 15:36:35 +01:00
garronej
7220c4e3e3 Fix deepAssign 2023-02-26 15:35:57 +01:00
garronej
5aadeba2ec fix clsx 2023-02-26 15:35:30 +01:00
garronej
0f47a5b6ba Small Template refactor 2023-02-25 20:11:55 +01:00
garronej
37073b42be Avoir introducing breaking changes for CSS only setup 2023-02-25 19:19:46 +01:00
garronej
837501c948 Refactor 2023-02-25 18:26:39 +01:00
garronej
b300966fa8 Refactor and get rid of unessesary dependencies 2023-02-25 18:11:23 +01:00
garronej
6cd231426d Import Blob from node builtins 2023-02-07 01:32:20 +01:00
garronej
08e26600fd Use keycloakify as bundler by default 2023-02-05 14:58:38 +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
45ed359bef fix keycloak theme source path for internal bundler 2023-02-05 13:31:34 +01:00
Waldemar Reusch
fcc26c3e7a now that main is a promise, we shuold catch errors 2023-02-05 13:31:03 +01:00
Waldemar Reusch
d4ff6b1f40 fix: bundler fix missing directory 2023-02-05 12:59:05 +01:00
Waldemar Reusch
557de34eea fix: bundler fix missing change 2023-02-05 12:56:01 +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
garronej
64ab400af5 Temporarly restore mvn as default bundler 2023-02-04 20:38:50 +01:00
garronej
243fbd4dc9 Set the artifactId name in the build option 2023-02-04 19:36:42 +01:00
garronej
4e6a290693 Make new node based bundler the default 2023-02-04 18:02:39 +01:00
garronej
ac05d529ca Minor fixes 2023-02-04 17:44:02 +01:00
Waldemar Reusch
b38d79004a
Merge branch 'main' into mvn-begone 2023-02-03 14:42:05 +01:00
Waldemar Reusch
f4a547df11 introduce options to choose a bundle strategy
Pick from 'none', 'keycloakify' or 'mvn', default to 'mvn'. 'none' will
not create a jar, 'keycloakify' will create a jar file using only tools
available to native nodejs, no additional  system library required.
Choosing 'mvn' will behave as before, starting maven in a subprocess.

The bundler can be chosen in `package.json` or via `KEYCLOAKIFY_BUNDLER`
env var.

This commit also adds `KEYCLOAKIFY_GROUP_ID` and
`KEYCLOAKIFY_ARTIFACT_ID` env vars, which will be used to
define group id and artifact id in pom.xml and pom.properties, if given.
2023-02-03 14:28:06 +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
Joseph Garrone
564e1422ac
Merge pull request #226 from lordvlad/fix-win-build
windows compatibility
2023-01-27 00:20:12 +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
garronej
14aab97d8a Merge branch 'main' of https://github.com/InseeFrLab/keycloakify 2023-01-26 10:50:01 +01:00
garronej
f338dcbeed #232 2023-01-26 10:48:24 +01:00
rome-user
84ca9e6b81
keycloak test script: use env to launch bash
This minor change allows users to use the latest version of `bash` on Mac OS.

`/bin/bash` is very old on Mac OS, and many users will have `bash` from MacPorts or Homebrew. This change allows such users to be able to use the newer `bash` installation.
2023-01-22 17:28:27 -08:00
Waldemar Reusch
1a0e05d073 rewrite download and unzip to use nodejs native methods 2023-01-16 14:42:20 +01:00
Waldemar Reusch
85cecc9811 fix(build): _properly_ fix bin paths 2023-01-12 22:56:02 +01:00
Waldemar Reusch
9899f742a8 fix(build): also rewrite bin paths in dist/package.json 2023-01-12 22:51:48 +01:00
Waldemar Reusch
b5484740b7 fix(build): remove dependency on *nix chown 2023-01-12 22:27:22 +01:00
garronej
6fb936798e https://github.com/InseeFrLab/keycloakify/issues/217#issuecomment-1376849781 2023-01-10 09:05:19 +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
Pedro Dos Santos
bbe828071e fix - handle username and password login errors the same 2023-01-06 15:41:01 +01:00
garronej
af77b31d54 Update default test container to Keycloak 20.0.1 2022-11-11 15:48:32 +01:00
garronej
8702ec29a8 Drop dependency to @emotion/react 2022-10-16 00:49:49 +02:00
garronej
c71c2a8710 Fix breaking change of 6.8 2022-10-15 15:39:32 +02:00
garronej
ab906ec417 #192: fix bad logic in ftl to js script 2022-10-15 14:22:11 +02:00
garronej
688455d0aa #191: Enable to only customize the Template 2022-10-13 11:58:31 +02:00
Joseph Garrone
5e1c5b510b
Merge pull request #185 from Mstrodl/feature/mstrodl/webauthn-authenticate
Add support for `webauthn-authenticate.ftl`
2022-10-06 20:41:31 +02:00