keycloakify 5.7.1 → 5.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -40,6 +40,10 @@
40
40
 
41
41
  ## 5.7.0
42
42
 
43
+ - [React.lazy()](https://reactjs.org/docs/code-splitting.html#reactlazy) support 🎉. [#141](https://github.com/InseeFrLab/keycloakify/issues/141)
44
+
45
+ ## 5.7.0
46
+
43
47
  - Feat `logout-confirm.ftl`. [PR](https://github.com/InseeFrLab/keycloakify/pull/120)
44
48
 
45
49
  ## 5.6.4
@@ -57,7 +61,9 @@ If you already had a `keycloak_theme_email` you should rename it `keycloak_email
57
61
 
58
62
  ## v5.0.0
59
63
 
60
- New i18n system. Import of terms and services have changed. [See example](https://github.com/garronej/keycloakify-demo-app/blob/a5b6a50f24bc25e082931f5ad9ebf47492acd12a/src/index.tsx#L46-L63).
64
+ [Migration guide](https://github.com/garronej/keycloakify-demo-app/blob/a5b6a50f24bc25e082931f5ad9ebf47492acd12a/src/index.tsx#L46-L63)
65
+ New i18n system.
66
+ Import of terms and services have changed. [See example](https://github.com/garronej/keycloakify-demo-app/blob/a5b6a50f24bc25e082931f5ad9ebf47492acd12a/src/index.tsx#L46-L63).
61
67
 
62
68
  ## v4.10.0
63
69
 
@@ -65,6 +65,16 @@ function replaceImportsFromStaticInJsCode(params) {
65
65
  */
66
66
  var jsCode = params.jsCode, urlOrigin = params.urlOrigin;
67
67
  var fixedJsCode = jsCode
68
+ .replace(/([a-zA-Z]+)\.([a-zA-Z]+)=function\(([a-zA-Z]+)\){return"static\/js\/"/g, function () {
69
+ var _a = [];
70
+ for (var _i = 0; _i < arguments.length; _i++) {
71
+ _a[_i] = arguments[_i];
72
+ }
73
+ var _b = __read(_a, 4), n = _b[1], u = _b[2], e = _b[3];
74
+ return "\n\t\t\t".concat(n, "[(function(){\n ").concat(urlOrigin === undefined
75
+ ? "\n Object.defineProperty(".concat(n, ", \"p\", {\n get: function() { return window.").concat(ftlValuesGlobalName_1.ftlValuesGlobalName, ".url.resourcesPath; },\n set: function (){}\n });\n ")
76
+ : "\n var p= \"\";\n Object.defineProperty(".concat(n, ", \"p\", {\n get: function() { return (\"").concat(ftlValuesGlobalName_1.ftlValuesGlobalName, "\" in window ? \"").concat(urlOrigin, "\" : \"\") + p; },\n set: function (value){ p = value;}\n });\n "), "\n\t\t\t\treturn \"").concat(u, "\";\n\t\t\t})()] = function(").concat(e, ") { return \"").concat(urlOrigin === undefined ? "/build/" : "", "static/js/\"");
77
+ })
68
78
  .replace(/([a-zA-Z]+\.[a-zA-Z]+)\+"static\//g, function () {
69
79
  var _a = [];
70
80
  for (var _i = 0; _i < arguments.length; _i++) {
@@ -75,6 +85,7 @@ function replaceImportsFromStaticInJsCode(params) {
75
85
  ? "window.".concat(ftlValuesGlobalName_1.ftlValuesGlobalName, ".url.resourcesPath + \"/build/static/")
76
86
  : "(\"".concat(ftlValuesGlobalName_1.ftlValuesGlobalName, "\" in window ? \"").concat(urlOrigin, "\" : \"\") + ").concat(group, " + \"static/");
77
87
  })
88
+ //TODO: Write a test case for this
78
89
  .replace(/".chunk.css",([a-zA-Z])+=([a-zA-Z]+\.[a-zA-Z]+)\+([a-zA-Z]+),/, function () {
79
90
  var _a = [];
80
91
  for (var _i = 0; _i < arguments.length; _i++) {
@@ -1 +1 @@
1
- {"version":3,"file":"replaceImportFromStatic.js","sourceRoot":"","sources":["../../src/bin/build-keycloak-theme/replaceImportFromStatic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAiC;AACjC,6DAA4D;AAE5D,SAAgB,gCAAgC,CAAC,MAAyD;IACtG;;;;;;;;;;MAUE;IAEM,IAAA,MAAM,GAAgB,MAAM,OAAtB,EAAE,SAAS,GAAK,MAAM,UAAX,CAAY;IAErC,IAAM,WAAW,GAAG,MAAM;SACrB,OAAO,CAAC,oCAAoC,EAAE;QAA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I,CAAC,kBAAkB,CAAC;aAC7B,GAAG,CAAC,UAAA,eAAe;YAChB,OAAA;gBACI,YAAK,eAAe,MAAG;gBACvB,kBAAkB,CAAC,eAAe,CAAC,CAAC,OAAO,CACvC,IAAI,MAAM,CAAC,gBAAS,WAAW,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAE,EAAE,GAAG,CAAC,EAC7D,iCAAiC,CACpC;aACJ,CAAC,IAAI,CAAC,GAAG,CAAC;QANX,CAMW,CACd;aACA,GAAG,CAAC,UAAA,IAAI,IAAI,OAAA,cAAO,IAAI,MAAG,EAAd,CAAc,CAAC;YAChC,GAAG;kBACL,IAAI,CAAC,IAAI,CAAC;KACf,CAAC;AACN,CAAC;AAtBD,wEAsBC"}
1
+ {"version":3,"file":"replaceImportFromStatic.js","sourceRoot":"","sources":["../../src/bin/build-keycloak-theme/replaceImportFromStatic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAiC;AACjC,6DAA4D;AAE5D,SAAgB,gCAAgC,CAAC,MAAyD;IACtG;;;;;;;;;;MAUE;IAEM,IAAA,MAAM,GAAgB,MAAM,OAAtB,EAAE,SAAS,GAAK,MAAM,UAAX,CAAY;IAErC,IAAM,WAAW,GAAG,MAAM;SACrB,OAAO,CACJ,wEAAwE,EACxE;QAAC,YAAc;aAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;YAAd,uBAAc;;QAAd,IAAA,KAAA,aAAc,EAAR,CAAC,QAAA,EAAE,CAAC,QAAA,EAAE,CAAC,QAAA,CAAC;QAAK,OAAA,kBAC3B,CAAC,4CAEc,SAAS,KAAK,SAAS;YACnB,CAAC,CAAC,0DACsB,CAAC,qFACa,yCAAmB,8HAG5D;YACG,CAAC,CAAC,wFAEkB,CAAC,6EACQ,yCAAmB,8BAAkB,SAAS,kIAG9E,gCAEP,CAAC,yCACO,CAAC,0BAAe,SAAS,KAAK,SAAS,C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,GAAkB,MAAM,mBAAxB,EAAE,WAAW,GAAK,MAAM,YAAX,CAAY;IAEnD,OAAO;QACH,wBAAwB,EAAE;YACtB,SAAS;kBACN,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC;aAC7B,GAAG,CAAC,UAAA,eAAe;YAChB,OAAA;gBACI,YAAK,eAAe,MAAG;gBACvB,kBAAkB,CAAC,eAAe,CAAC,CAAC,OAAO,CACvC,IAAI,MAAM,CAAC,gBAAS,WAAW,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAE,EAAE,GAAG,CAAC,EAC7D,iCAAiC,CACpC;aACJ,CAAC,IAAI,CAAC,GAAG,CAAC;QANX,CAMW,CACd;aACA,GAAG,CAAC,UAAA,IAAI,IAAI,OAAA,cAAO,IAAI,MAAG,EAAd,CAAc,CAAC;YAChC,GAAG;kBACL,IAAI,CAAC,IAAI,CAAC;KACf,CAAC;AACN,CAAC;AAtBD,wEAsBC"}
@@ -30,9 +30,9 @@ var assert_1 = require("../tools/assert");
30
30
  var i18n_1 = require("../i18n");
31
31
  exports.Info = (0, react_1.memo)(function (_a) {
32
32
  var kcContext = _a.kcContext, props = __rest(_a, ["kcContext"]);
33
- var msg = (0, i18n_1.getMsg)(kcContext).msg;
33
+ var _b = (0, i18n_1.getMsg)(kcContext), msg = _b.msg, msgStr = _b.msgStr;
34
34
  (0, assert_1.assert)(kcContext.message !== undefined);
35
35
  var messageHeader = kcContext.messageHeader, message = kcContext.message, requiredActions = kcContext.requiredActions, skipLink = kcContext.skipLink, pageRedirectUri = kcContext.pageRedirectUri, actionUri = kcContext.actionUri, client = kcContext.client;
36
- return ((0, jsx_runtime_1.jsx)(Template_1.Template, __assign({}, __assign({ kcContext: kcContext }, props), { doFetchDefaultThemeResources: true, displayMessage: false, headerNode: messageHeader !== undefined ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: messageHeader }) : (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: message.summary }), formNode: (0, jsx_runtime_1.jsxs)("div", __assign({ id: "kc-info-message" }, { children: [(0, jsx_runtime_1.jsxs)("p", __assign({ className: "instruction" }, { children: [message.summary, requiredActions !== undefined && ((0, jsx_runtime_1.jsx)("b", { children: requiredActions.map(function (requiredAction) { return msg("requiredAction.".concat(requiredAction)); }).join(",") }))] })), !skipLink && pageRedirectUri !== undefined ? ((0, jsx_runtime_1.jsx)("p", { children: (0, jsx_runtime_1.jsx)("a", __assign({ href: pageRedirectUri }, { children: msg("backToApplication") })) })) : actionUri !== undefined ? ((0, jsx_runtime_1.jsx)("p", { children: (0, jsx_runtime_1.jsx)("a", __assign({ href: actionUri }, { children: msg("proceedWithAction") })) })) : (client.baseUrl !== undefined && ((0, jsx_runtime_1.jsx)("p", { children: (0, jsx_runtime_1.jsx)("a", __assign({ href: client.baseUrl }, { children: msg("backToApplication") })) })))] })) })));
36
+ return ((0, jsx_runtime_1.jsx)(Template_1.Template, __assign({}, __assign({ kcContext: kcContext }, props), { doFetchDefaultThemeResources: true, displayMessage: false, headerNode: messageHeader !== undefined ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: messageHeader }) : (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: message.summary }), formNode: (0, jsx_runtime_1.jsxs)("div", __assign({ id: "kc-info-message" }, { children: [(0, jsx_runtime_1.jsxs)("p", __assign({ className: "instruction" }, { children: [message.summary, requiredActions !== undefined && ((0, jsx_runtime_1.jsx)("b", { children: requiredActions.map(function (requiredAction) { return msgStr("requiredAction.".concat(requiredAction)); }).join(",") }))] })), !skipLink && pageRedirectUri !== undefined ? ((0, jsx_runtime_1.jsx)("p", { children: (0, jsx_runtime_1.jsx)("a", __assign({ href: pageRedirectUri }, { children: msg("backToApplication") })) })) : actionUri !== undefined ? ((0, jsx_runtime_1.jsx)("p", { children: (0, jsx_runtime_1.jsx)("a", __assign({ href: actionUri }, { children: msg("proceedWithAction") })) })) : (client.baseUrl !== undefined && ((0, jsx_runtime_1.jsx)("p", { children: (0, jsx_runtime_1.jsx)("a", __assign({ href: client.baseUrl }, { children: msg("backToApplication") })) })))] })) })));
37
37
  });
38
38
  //# sourceMappingURL=Info.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Info.js","sourceRoot":"","sources":["../../src/lib/components/Info.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA6B;AAC7B,uCAAsC;AAEtC,0CAAyC;AAEzC,gCAAiC;AAEpB,QAAA,IAAI,GAAG,IAAA,YAAI,EAAC,UAAC,EAAoE;IAAlE,IAAA,SAAS,eAAA,EAAK,KAAK,cAArB,aAAuB,CAAF;IACnC,IAAA,GAAG,GAAK,IAAA,aAAM,EAAC,SAAS,CAAC,IAAtB,CAAuB;IAElC,IAAA,eAAM,EAAC,SAAS,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC;IAEhC,IAAA,aAAa,GAA6E,SAAS,cAAtF,EAAE,OAAO,GAAoE,SAAS,QAA7E,EAAE,eAAe,GAAmD,SAAS,gBAA5D,EAAE,QAAQ,GAAyC,SAAS,SAAlD,EAAE,eAAe,GAAwB,SAAS,gBAAjC,EAAE,SAAS,GAAa,SAAS,UAAtB,EAAE,MAAM,GAAK,SAAS,OAAd,CAAe;IAE5G,OAAO,CACH,uBAAC,mBAAQ,0BACC,SAAS,WAAA,IAAK,KAAK,KACzB,4BAA4B,EAAE,IAAI,EAClC,cAAc,EAAE,KAAK,EACrB,UAAU,EAAE,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,2DAAG,aAAa,GAAI,CAAC,CAAC,CAAC,2DAAG,OAAO,CAAC,OAAO,GAAI,EACvF,QAAQ,EACJ,0CAAK,EAAE,EAAC,iBAAiB,iBACrB,wCAAG,SAAS,EAAC,aAAa,iBACrB,OAAO,CAAC,OAAO,EAEf,eAAe,KAAK,SAAS,IAAI,CAC9B,wCAAI,eAAe,CAAC,GAAG,CAAC,UAAA,cAAc,IAAI,OAAA,GAAG,C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Aa,SAAS,UAAtB,EAAE,MAAM,GAAK,SAAS,OAAd,CAAe;IAE5G,OAAO,CACH,uBAAC,mBAAQ,0BACC,SAAS,WAAA,IAAK,KAAK,KACzB,4BAA4B,EAAE,IAAI,EAClC,cAAc,EAAE,KAAK,EACrB,UAAU,EAAE,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,2DAAG,aAAa,GAAI,CAAC,CAAC,CAAC,2DAAG,OAAO,CAAC,OAAO,GAAI,EACvF,QAAQ,EACJ,0CAAK,EAAE,EAAC,iBAAiB,iBACrB,wCAAG,SAAS,EAAC,aAAa,iBACrB,OAAO,CAAC,OAAO,EAEf,eAAe,KAAK,SAAS,IAAI,CAC9B,wCAAI,eAAe,CAAC,GAAG,CAAC,UAAA,cAAc,IAAI,OAAA,MAAM,CAAC,yBAAkB,cAAc,CAAW,CAAC,EAAnD,CAAmD,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAK,CAChH,KACD,EACH,CAAC,QAAQ,IAAI,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,CAC1C,wCACI,uCAAG,IAAI,EAAE,eAAe,gBAAG,GAAG,CAAC,mBAAmB,CAAC,IAAK,GACxD,CACP,CAAC,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,CAC1B,wCACI,uCAAG,IAAI,EAAE,SAAS,gBAAG,GAAG,CAAC,mBAAmB,CAAC,IAAK,GAClD,CACP,CAAC,CAAC,CAAC,CACA,MAAM,CAAC,OAAO,KAAK,SAAS,IAAI,CAC5B,wCACI,uCAAG,IAAI,EAAE,MAAM,CAAC,OAAO,gBAAG,GAAG,CAAC,mBAAmB,CAAC,IAAK,GACvD,CACP,CACJ,KACC,IAEZ,CACL,CAAC;AACN,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "5.7.1",
3
+ "version": "5.8.0",
4
4
  "description": "Keycloak theme generator for Reacts app",
5
5
  "repository": {
6
6
  "type": "git",
@@ -378,11 +378,11 @@
378
378
  "@octokit/rest": "^18.12.0",
379
379
  "cheerio": "^1.0.0-rc.5",
380
380
  "cli-select": "^1.1.2",
381
- "evt": "2.0.0-beta.45",
381
+ "evt": "^2.2.0",
382
382
  "memoizee": "^0.4.15",
383
383
  "minimal-polyfills": "^2.2.1",
384
384
  "path-browserify": "^1.0.1",
385
- "powerhooks": "^0.20.3",
385
+ "powerhooks": "^0.20.4",
386
386
  "react-markdown": "^5.0.3",
387
387
  "scripting-tools": "^0.19.13",
388
388
  "tsafe": "^0.10.0",
@@ -17,11 +17,35 @@ export function replaceImportsFromStaticInJsCode(params: { jsCode: string; urlOr
17
17
  const { jsCode, urlOrigin } = params;
18
18
 
19
19
  const fixedJsCode = jsCode
20
+ .replace(
21
+ /([a-zA-Z]+)\.([a-zA-Z]+)=function\(([a-zA-Z]+)\){return"static\/js\/"/g,
22
+ (...[, n, u, e]) => `
23
+ ${n}[(function(){
24
+ ${
25
+ urlOrigin === undefined
26
+ ? `
27
+ Object.defineProperty(${n}, "p", {
28
+ get: function() { return window.${ftlValuesGlobalName}.url.resourcesPath; },
29
+ set: function (){}
30
+ });
31
+ `
32
+ : `
33
+ var p= "";
34
+ Object.defineProperty(${n}, "p", {
35
+ get: function() { return ("${ftlValuesGlobalName}" in window ? "${urlOrigin}" : "") + p; },
36
+ set: function (value){ p = value;}
37
+ });
38
+ `
39
+ }
40
+ return "${u}";
41
+ })()] = function(${e}) { return "${urlOrigin === undefined ? "/build/" : ""}static/js/"`,
42
+ )
20
43
  .replace(/([a-zA-Z]+\.[a-zA-Z]+)\+"static\//g, (...[, group]) =>
21
44
  urlOrigin === undefined
22
45
  ? `window.${ftlValuesGlobalName}.url.resourcesPath + "/build/static/`
23
46
  : `("${ftlValuesGlobalName}" in window ? "${urlOrigin}" : "") + ${group} + "static/`,
24
47
  )
48
+ //TODO: Write a test case for this
25
49
  .replace(/".chunk.css",([a-zA-Z])+=([a-zA-Z]+\.[a-zA-Z]+)\+([a-zA-Z]+),/, (...[, group1, group2, group3]) =>
26
50
  urlOrigin === undefined
27
51
  ? `".chunk.css",${group1} = window.${ftlValuesGlobalName}.url.resourcesPath + "/build/" + ${group3},`
@@ -6,7 +6,7 @@ import type { KcContextBase } from "../getKcContext/KcContextBase";
6
6
  import { getMsg } from "../i18n";
7
7
 
8
8
  export const Info = memo(({ kcContext, ...props }: { kcContext: KcContextBase.Info } & KcProps) => {
9
- const { msg } = getMsg(kcContext);
9
+ const { msg, msgStr } = getMsg(kcContext);
10
10
 
11
11
  assert(kcContext.message !== undefined);
12
12
 
@@ -24,7 +24,7 @@ export const Info = memo(({ kcContext, ...props }: { kcContext: KcContextBase.In
24
24
  {message.summary}
25
25
 
26
26
  {requiredActions !== undefined && (
27
- <b>{requiredActions.map(requiredAction => msg(`requiredAction.${requiredAction}` as const)).join(",")}</b>
27
+ <b>{requiredActions.map(requiredAction => msgStr(`requiredAction.${requiredAction}` as const)).join(",")}</b>
28
28
  )}
29
29
  </p>
30
30
  {!skipLink && pageRedirectUri !== undefined ? (
package/CHANGELOG.md DELETED
@@ -1,1013 +0,0 @@
1
- ### **5.7.1** (2022-07-11)
2
-
3
- - #134
4
-
5
- ## **5.7.0** (2022-07-07)
6
-
7
- - Merge pull request #120 from revolunet/logout
8
-
9
- feat: add logout-confirm
10
- - fix: use kcMessages
11
- - fix: add translations FR
12
- - feat: add logout-confirm
13
-
14
- ### **5.6.5** (2022-07-06)
15
-
16
- - Merge pull request #133 from bardius/fix/Issue-131-include-all-nested-folders-in-artifact-unzip
17
-
18
- fix: Issue-131: include all nested folders in artifact unzip
19
- - Merge pull request #132 from bardius/fix/Issue-130-fix-equality-detection-of-nested-ftl-object-properties
20
-
21
- fix: Issue-130: fix equality detection of nested ftl object property …
22
- - fix: Issue-131: include all nested folders in artifact unzip
23
- - fix: Issue-130: fix equality detection of nested ftl object property paths
24
-
25
- ### **5.6.4** (2022-07-06)
26
-
27
- - Fix login-register-email.ftl
28
- - Update to Keycloak 18.0.2 for the test container
29
-
30
- ### **5.6.3** (2022-07-03)
31
-
32
- - update powerhooks
33
-
34
- ### **5.6.2** (2022-07-03)
35
-
36
- - Update powerhooks and EVT
37
-
38
- ### **5.6.1** (2022-07-03)
39
-
40
- - Merge pull request #128 from Ann2827/pull
41
-
42
- Fix bugs on error.ftl template
43
- - fix: bugs on error.ftl template
44
- - Merge pull request #52 from InseeFrLab/main
45
-
46
- Update fork
47
-
48
- ## **5.6.0** (2022-06-28)
49
-
50
- - Merge pull request #127 from aidangilmore/add-totp-support
51
-
52
- feat: add login-config-totp.ftl page
53
- - Fix unknown algorithm name lookup in LoginConfigTotp
54
- - Add totp config support
55
-
56
- ## **5.5.0** (2022-06-28)
57
-
58
- - Make it possible to redirect to login by repacing the url (should be default in most case)
59
-
60
- ### **5.4.7** (2022-06-19)
61
-
62
- - #121
63
- - fmt
64
- - Create CONTRIBUTING.md
65
- - Enable users to link keycloak in their own app
66
-
67
- ### **5.4.6** (2022-06-16)
68
-
69
- - Use keycloak 18.0.1 i18n resources #120
70
-
71
- ### **5.4.5** (2022-06-14)
72
-
73
- - Merge pull request #119 from dro-sh/fix-locale-on-useFormValidationSlice
74
-
75
- pass locale to getGetErrors to get correct messages
76
- - pass locale to getGetErrors to get correct messages
77
-
78
- ### **5.4.4** (2022-06-05)
79
-
80
-
81
-
82
- ### **5.4.3** (2022-06-01)
83
-
84
-
85
-
86
- ### **5.4.2** (2022-06-01)
87
-
88
- - Prevent rate limite in CI by authenticating
89
-
90
- ### **5.4.1** (2022-06-01)
91
-
92
-
93
-
94
- ## **5.4.0** (2022-05-23)
95
-
96
- - #109
97
-
98
- ### **5.3.2** (2022-05-04)
99
-
100
- - Merge pull request #101 from Romcol/bugfix/99
101
-
102
- Issue #99 - Make replace less greedy in remplaceImportFromStatic
103
- - [IMP] Issue #99 - Make replace less greedy in remplaceImportFromStatic
104
-
105
- ### **5.3.1** (2022-04-29)
106
-
107
- - Comment out missleading informations
108
-
109
- ## **5.3.0** (2022-04-28)
110
-
111
- - Rename keycloak_theme_email to keycloak_email (it's shorter)
112
-
113
- ## **5.2.0** (2022-04-27)
114
-
115
- - Export KcApp
116
-
117
- ## **5.1.0** (2022-04-27)
118
-
119
- - Export kcLanguageTags
120
-
121
- # **5.0.0** (2022-04-27)
122
-
123
- - i18n rebuild from the ground up
124
-
125
- ## **4.10.0** (2022-04-26)
126
-
127
- - Merge pull request #92 from Tasyp/add-login-idp-link-email
128
-
129
- feat: add login-idp-link-email page
130
- - feat: add mock data for login-idp-link-email page
131
- - feat: supply broker context with context
132
-
133
- ## **4.9.0** (2022-04-25)
134
-
135
- - Test by default with kc 18. Update instructions to use quay.io/keycloak/keycloak instead of jboss/keycloak #93
136
-
137
- ### **4.8.7** (2022-04-25)
138
-
139
- - Update instructions to test on Keycloak 18 https://github.com/keycloak/keycloak-web/issues/306 #93
140
- - Move the documentation form the readme to docs.keycloakify.dev
141
- - Update README.md
142
- - Update demo video
143
-
144
- ### **4.8.6** (2022-04-22)
145
-
146
- - always offer to download v11.0.3
147
-
148
- ### **4.8.5** (2022-04-22)
149
-
150
- - #91
151
-
152
- ### **4.8.4** (2022-04-22)
153
-
154
- - #90
155
-
156
- ### **4.8.3** (2022-04-20)
157
-
158
-
159
-
160
- ### **4.8.2** (2022-04-20)
161
-
162
- - Tell pepoles they can test with different keycloak version
163
-
164
- ### **4.8.1** (2022-04-20)
165
-
166
- - Add missing shebang
167
- - Add video demo for npx download-builtin-keycloak-theme
168
-
169
- ## **4.8.0** (2022-04-20)
170
-
171
- - Document email template customization feature #9
172
- - Add mention of download-builtin-keycloak-theme
173
- - Let the choice of kc version be auto in GH Action
174
- - Only test on node v15 and v14 (bellow is no longer supported (rmSync)
175
- - Feature email customization #9
176
-
177
- ### **4.7.6** (2022-04-12)
178
-
179
- - Fix bugs with language switch #85
180
-
181
- ### **4.7.5** (2022-04-09)
182
-
183
- - Fix #85
184
-
185
- ### **4.7.4** (2022-04-09)
186
-
187
- - M1 Mac compat (for real this time)
188
-
189
- ### **4.7.3** (2022-04-08)
190
-
191
- - Mention that there is still problems with M1 Mac
192
-
193
- ### **4.7.2** (2022-04-06)
194
-
195
- - #43: M1 Mac support
196
-
197
- ### **4.7.1** (2022-03-30)
198
-
199
- - Improve browser autofill
200
- - factorization
201
-
202
- ## **4.7.0** (2022-03-17)
203
-
204
- - Add support for options validator
205
- - remove duplicate dependency
206
-
207
- ## **4.6.0** (2022-03-07)
208
-
209
- - Remove powerhooks as dev dependency
210
-
211
- ### **4.5.5** (2022-03-07)
212
-
213
- - Update tss-react
214
-
215
- ### **4.5.4** (2022-03-06)
216
-
217
- - Remove tss-react from peerDependencies (it becomes a dependency)
218
- - (dev script) Use tsconfig.json to tell we are at the root of the project
219
-
220
- ### **4.5.3** (2022-01-26)
221
-
222
- - Themes no longer have to break on minor Keycloakify update
223
-
224
- ### **4.5.2** (2022-01-20)
225
-
226
- - Test container uses Keycloak 16.1.0
227
- - Merge pull request #78 from InseeFrLab/Ann2827/pull
228
-
229
- Ann2827/pull
230
- - Refactor #78
231
- - Compat with Keycloak 16 (and probably 17, 18) #79
232
- - Warning about compat issues with Keycloak 16
233
- - fix: changes
234
- - fix: Errors on pages login-idp-link-confirm and login-idp-link-email
235
-
236
- ref: https://github.com/InseeFrLab/keycloakify/issues/75
237
-
238
- ### **4.5.1** (2022-01-18)
239
-
240
- - fix previous version
241
-
242
- ## **4.5.0** (2022-01-18)
243
-
244
- - Read public/CNAME for domain name in --externel-assets mode
245
-
246
- ## **4.4.0** (2022-01-01)
247
-
248
- - Merge pull request #73 from lazToum/main
249
-
250
- (feature) added login-page-expired.ftl
251
- - added login-page-expired.ftl
252
- - Add update instruction for 4.3.0
253
-
254
- ## **4.3.0** (2021-12-27)
255
-
256
- - Merge pull request #72 from praiz/main
257
-
258
- feat(*): added login-update-password
259
- - feat(*): added login-update-password
260
-
261
- ### **4.2.21** (2021-12-27)
262
-
263
- - update dependencies
264
-
265
- ### **4.2.19** (2021-12-21)
266
-
267
- - Merge pull request #70 from VBustamante/patch-1
268
- - Added realm name field to KcContext mocks object
269
- - Merge pull request #69 from VBustamante/patch-1
270
-
271
- Adding name field to realm in KcContext type
272
- - Adding name field to realm in KcContext type
273
-
274
- ### **4.2.18** (2021-12-17)
275
-
276
- - Improve css url() import (fix CRA 5)
277
-
278
- ### **4.2.17** (2021-12-16)
279
-
280
- - Fix path.join polyfill
281
-
282
- ### **4.2.16** (2021-12-16)
283
-
284
-
285
-
286
- ### **4.2.15** (2021-12-16)
287
-
288
- - use custom polyfill for path.join (fix webpack 5 build)
289
-
290
- ### **4.2.14** (2021-12-12)
291
-
292
- - Merge pull request #65 from InseeFrLab/doge_ftl_errors
293
-
294
- Prevent ftl errors in Keycloak log
295
- - Encourage users to report errors in logs
296
- - Fix ftl error related to url.loginAction in saml-post-form.ftl
297
- - Ftl prevent error with updateProfileCtx
298
- - Ftl prevent error with auth.attemptedUsername
299
- - Fix ftl error as comment formatting
300
- - Merge remote-tracking branch 'origin/main' into doge_ftl_errors
301
- - Update README, remove all instruction about errors in logs
302
- - Avoid error in Keycloak logs, fix long template loading time
303
- - Add missing collon in README sample code
304
-
305
- Add miss ','
306
-
307
- ### **4.2.13** (2021-12-08)
308
-
309
- - Fix broken link about how to import fonts #62
310
- - Add a video to show how to test the theme in a local container
311
-
312
- ### **4.2.12** (2021-12-08)
313
-
314
- - Update post build instructions
315
-
316
- ### **4.2.11** (2021-12-07)
317
-
318
-
319
-
320
- ### **4.2.10** (2021-11-12)
321
-
322
- - Export an exaustive list of KcLanguageTag
323
-
324
- ### **4.2.9** (2021-11-11)
325
-
326
- - Fix useAdvancedMsg
327
-
328
- ### **4.2.8** (2021-11-10)
329
-
330
- - Update doc about pattern that can be used for user attributes #50
331
- - Bring back Safari compat
332
-
333
- ### **4.2.7** (2021-11-09)
334
-
335
- - Fix useFormValidationSlice
336
-
337
- ### **4.2.6** (2021-11-08)
338
-
339
- - Fix deepClone so we can overwrite with undefined in when we mock kcContext
340
-
341
- ### **4.2.5** (2021-11-07)
342
-
343
- - Better debugging experience with user profile
344
-
345
- ### **4.2.4** (2021-11-01)
346
-
347
- - Better autoComplete typings
348
-
349
- ### **4.2.3** (2021-11-01)
350
-
351
- - Make it more easy to understand that error in the log are expected
352
-
353
- ### **4.2.2** (2021-10-27)
354
-
355
- - Replace 'path' by 'browserify-path' #47
356
-
357
- ### **4.2.1** (2021-10-26)
358
-
359
- - useFormValidationSlice: update when params have changed
360
- - Explains that the password can't be validated
361
-
362
- ## **4.2.0** (2021-10-26)
363
-
364
- - Export types definitions for Attribue and Validator
365
-
366
- ## **4.1.0** (2021-10-26)
367
-
368
- - Document what's new in v4
369
-
370
- # **4.0.0** (2021-10-26)
371
-
372
- - fix RegisterUserProfile password confirmation field
373
- - Much better support for frontend field validation
374
- - Fix css injection order
375
- - 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.
376
- Changes wget to curl because curl is awesome. -L is to follow the GitHub redirects.
377
- - Remove duplicates
378
-
379
- ### **3.0.2** (2021-10-18)
380
-
381
- - Scan deeper to retreive user attribute
382
-
383
- ### **3.0.1** (2021-10-17)
384
-
385
- - Add client.description in type kcContext type def
386
-
387
- # **3.0.0** (2021-10-16)
388
-
389
-
390
-
391
- ### **2.5.3** (2021-10-16)
392
-
393
-
394
-
395
- ### **2.5.2** (2021-10-13)
396
-
397
-
398
-
399
- ### **2.5.1** (2021-10-13)
400
-
401
- - Update tss-react
402
-
403
- ## **2.5.0** (2021-10-12)
404
-
405
- - register-user-profile.ftl tested working
406
- - Make kcMessage more easily hackable
407
- - fix useKcMessage
408
- - Implement and type validators
409
- - Remove syntax error in ftl and make it more directly debugable
410
- - Support register-user-profile.ftl
411
-
412
- ## **2.4.0** (2021-10-08)
413
-
414
- - #38: Implement messagesPerField existsError and get
415
-
416
- ## **2.3.0** (2021-10-07)
417
-
418
- - #20: Support advancedMsg
419
-
420
- ## **2.2.0** (2021-10-07)
421
-
422
- - Feat scrip: download-builtin-keycloak-theme for downloading any version of the builtin themes
423
- - Use the latest version of keycloak for testing
424
- - Test locally with 15.0.2 instead of 11.0.3
425
-
426
- ## **2.1.0** (2021-10-06)
427
-
428
- - Support Hungarian and Danish (use Keycloak 15 language resources)
429
-
430
- ### **2.0.20** (2021-10-05)
431
-
432
- - Update README.md
433
-
434
- ### **2.0.19** (2021-09-17)
435
-
436
- - Fix kcContext type definitions
437
-
438
- ### **2.0.18** (2021-09-14)
439
-
440
-
441
-
442
- ### **2.0.17** (2021-09-14)
443
-
444
-
445
-
446
- ### **2.0.16** (2021-09-12)
447
-
448
- - Add explaination about errors in logs
449
-
450
- ### **2.0.15** (2021-08-31)
451
-
452
- - Update tss-react
453
-
454
- ### **2.0.14** (2021-08-20)
455
-
456
- - Update tss-react
457
-
458
- ### **2.0.13** (2021-08-04)
459
-
460
- - Merge pull request #28 from marcmrf/main
461
-
462
- fix(mvn): scoped packages compatibility
463
- - fix(mvn): scoped packages compatibility
464
-
465
- ### **2.0.12** (2021-07-28)
466
-
467
- - Merge pull request #27 from jchn-codes/patch-1
468
-
469
- add maven to requirements
470
- - add maven to requirements
471
- - Add #bluehats in the keyworks
472
-
473
- ### **2.0.11** (2021-07-21)
474
-
475
- - Spaces in file path #22
476
- - uptdate dependnecies
477
- - Inport specific powerhooks files to reduce bundle size
478
-
479
- ### **2.0.10** (2021-07-16)
480
-
481
- - Update dependencies
482
-
483
- ### **2.0.9** (2021-07-14)
484
-
485
- - Fix #21
486
-
487
- ### **2.0.8** (2021-07-12)
488
-
489
- - Fix previous release
490
- - #20: Add def for clientId and name on kcContext.client
491
-
492
- ### **2.0.6** (2021-07-08)
493
-
494
- - Merge pull request #18 from asashay/add-custom-props-to-theme-properties
495
-
496
- Add possibility to add custom properties to theme.properties file
497
- - add possibility to add custom properties to theme.properties file
498
-
499
- ### **2.0.5** (2021-07-05)
500
-
501
- - Fix broken url for big stylesheet #16
502
-
503
- ### **2.0.4** (2021-07-03)
504
-
505
- - Fix: #7
506
-
507
- ### **2.0.3** (2021-06-30)
508
-
509
- - Escape double quote in ftl to js conversion #15
510
- - Update readme
511
-
512
- ### **2.0.2** (2021-06-28)
513
-
514
- - Updagte README for implementing non incuded pages
515
-
516
- ### **2.0.1** (2021-06-28)
517
-
518
- - Update documentation for v2
519
-
520
- # **2.0.0** (2021-06-28)
521
-
522
- - Fix last bugs before relasing v2
523
- - Implement a mechanism to overload kcContext
524
- - Give the option in template to pull the default assets or not
525
- - Enable possiblity to support custom pages (without forking keycloakify)
526
- - Implement a getter for kcContext
527
- - Update README.md
528
-
529
- # **2.0.0** (2021-06-28)
530
-
531
- - Fix last bugs before relasing v2
532
- - Implement a mechanism to overload kcContext
533
- - Give the option in template to pull the default assets or not
534
- - Enable possiblity to support custom pages (without forking keycloakify)
535
- - Implement a getter for kcContext
536
- - Update README.md
537
-
538
- ### **1.2.1** (2021-06-22)
539
-
540
- - Remove unessesary log
541
-
542
- ## **1.2.0** (2021-06-22)
543
-
544
- - Generate kcContext automatically :rocket:
545
-
546
- ### **1.1.6** (2021-06-21)
547
-
548
- - Fix: Alert messages sometimes includes HTML that is not rendered
549
- - Update dist
550
-
551
- ### **1.1.5** (2021-06-15)
552
-
553
- - #11: Provide socials in the register
554
-
555
- ### **1.1.4** (2021-06-15)
556
-
557
- - Merge pull request #12 from InseeFrLab/email-typo
558
-
559
- Fix typo on email
560
- - Fix typo on email
561
-
562
- ### **1.1.3** (2021-06-14)
563
-
564
- - Add missing key in Login for providers
565
-
566
- ### **1.1.2** (2021-06-14)
567
-
568
-
569
-
570
- ### **1.1.1** (2021-06-14)
571
-
572
-
573
-
574
- ## **1.1.0** (2021-06-14)
575
-
576
- - Add login-idp-link-confirm.ftl
577
- - Fix login-update-profile.ftl
578
- - Add login-update-profile.ftl page
579
- - Fix default background bug
580
- - Remove unused 'markdown' dependency
581
- - Fix warning related to powerhooks_useGlobalState_kcLanguageTag
582
- - Update README.md
583
-
584
- ### **1.0.4** (2021-05-28)
585
-
586
- - Instructions for custom themes with custom components
587
-
588
- ### **1.0.3** (2021-05-23)
589
-
590
- - Instuction about how to integrate with non CRA projects
591
- - Add mention to awesome list
592
-
593
- ### **1.0.2** (2021-05-01)
594
-
595
-
596
-
597
- ### **1.0.1** (2021-05-01)
598
-
599
- - Fix: LoginOtp (and not otc)
600
-
601
- # **1.0.0** (2021-05-01)
602
-
603
- - #4: Guide for implementing a missing page
604
- - Support OTP #4
605
-
606
- ### **0.4.4** (2021-04-29)
607
-
608
- - Fix previous release
609
-
610
- ### **0.4.3** (2021-04-29)
611
-
612
- - Add infos about the plugin that defines authorizedMailDomains
613
-
614
- ### **0.4.2** (2021-04-29)
615
-
616
- - Client side validation of allowed email domains
617
- - Support email whitlisting
618
- - Restore kickstart video in the readme
619
- - Update README.md
620
- - Update README.md
621
- - Important readme update
622
-
623
- ### **0.4.1** (2021-04-11)
624
-
625
- - Quietly re-introduce --external-assets
626
- - Give example of customization
627
-
628
- ## **0.4.0** (2021-04-09)
629
-
630
- - Acual support of Therms of services
631
-
632
- ### **0.3.24** (2021-04-08)
633
-
634
- - Add missing dependency: markdown
635
-
636
- ### **0.3.23** (2021-04-08)
637
-
638
- - Allow to lazily load therms
639
-
640
- ### **0.3.22** (2021-04-08)
641
-
642
- - update powerhooks
643
- - Support terms and condition
644
- - Fix info.ftl
645
- - For useKcMessage we prefer returning callbacks with a changing references
646
-
647
- ### **0.3.21** (2021-04-04)
648
-
649
- - Update powerhooks
650
-
651
- ### **0.3.20** (2021-04-01)
652
-
653
- - Always catch freemarker errors
654
-
655
- ### **0.3.19** (2021-04-01)
656
-
657
- - Fix previous release
658
-
659
- ### **0.3.18** (2021-04-01)
660
-
661
- - Fix error.ftt, Adopt best effort strategy to convert ftl values into JS
662
-
663
- ### **0.3.17** (2021-03-29)
664
-
665
- - Use push instead of replace in keycloak-js adapter to enable going back
666
-
667
- ### **0.3.15** (2021-03-28)
668
-
669
- - Remove all reference to --external-assets, broken feature
670
-
671
- ### **0.3.14** (2021-03-28)
672
-
673
- - Fix standalone mode: imports from js
674
-
675
- ### **0.3.13** (2021-03-26)
676
-
677
-
678
-
679
- ### **0.3.12** (2021-03-26)
680
-
681
- - Fix mocksContext
682
-
683
- ### **0.3.11** (2021-03-26)
684
-
685
- - Fix previous build, improve README
686
-
687
- ### **0.3.10** (2021-03-26)
688
-
689
- - Handle <style> tag, improve documentation
690
-
691
- ### **0.3.9** (2021-03-25)
692
-
693
- - Update readme
694
- - Document --external-assets
695
- - Update README.md
696
- - Update README.md
697
- - Update README.md
698
-
699
- ### **0.3.8** (2021-03-22)
700
-
701
- - Make standalone mode the default
702
-
703
- ### **0.3.7** (2021-03-22)
704
-
705
- - (test) external asset mode by default
706
-
707
- ### **0.3.6** (2021-03-22)
708
-
709
- - Fix previous release
710
-
711
- ### **0.3.5** (2021-03-22)
712
-
713
- - support homepage with urlPath
714
-
715
- ### **0.3.4** (2021-03-22)
716
-
717
- - Bugfix: Import assets from CSS
718
-
719
- ### **0.3.3** (2021-03-22)
720
-
721
- - Fix submit not receving correct text
722
-
723
- ### **0.3.2** (2021-03-21)
724
-
725
- - Fix broken previous release
726
-
727
- ### **0.3.1** (2021-03-21)
728
-
729
- - kcHeaderClass can be updated after initial mount
730
-
731
- ## **0.3.0** (2021-03-20)
732
-
733
- - Bump version
734
- - Feat: Cary over states using URL search params
735
- - Bugfix: with kcHtmlClass
736
-
737
- ### **0.2.10** (2021-03-19)
738
-
739
- - Remove dependency to denoify
740
-
741
- ### **0.2.9** (2021-03-19)
742
-
743
- - Update deps and CI workflow
744
-
745
- ### **0.2.8** (2021-03-19)
746
-
747
- - Bugfix: keycloak_build that grow and grow in size
748
- - Add disclaimer about maitainment strategy
749
- - Add a note for tested version support
750
-
751
- ### **0.2.7** (2021-03-13)
752
-
753
- - Bump version
754
- - Update README.md
755
- - Update README.md
756
-
757
- ### **0.2.6** (2021-03-10)
758
-
759
- - Fix generated gitignore
760
-
761
- ### **0.2.5** (2021-03-10)
762
-
763
- - Fix generated .gitignore
764
-
765
- ### **0.2.4** (2021-03-10)
766
-
767
- - Update README.md
768
-
769
- ### **0.2.3** (2021-03-09)
770
-
771
- - fix gitignore generation
772
-
773
- ### **0.2.2** (2021-03-08)
774
-
775
- - Add table of content
776
- - Update README.md
777
- - Update README.md
778
-
779
- ## **0.2.1** (2021-03-08)
780
-
781
- - Update ci.yaml
782
- - Update readme
783
- - Update readme
784
- - update deps
785
- - Update readme
786
- - Add all mocks for testing
787
- - many small fixes
788
-
789
- ### **0.1.6** (2021-03-07)
790
-
791
- - Fix Turkish
792
-
793
- ### **0.1.5** (2021-03-07)
794
-
795
- - Fix getKcLanguageLabel
796
-
797
- ### **0.1.4** (2021-03-07)
798
-
799
-
800
-
801
- ### **0.1.3** (2021-03-07)
802
-
803
- - Implement LoginVerifyEmail
804
- - Implement login-reset-password.ftl
805
-
806
- ### **0.1.2** (2021-03-07)
807
-
808
- - Fix build
809
- - Fix build
810
-
811
- ### **0.1.1** (2021-03-06)
812
-
813
- - Implement Error page
814
- - rename pageBasename by pageId
815
- - Implement reactive programing for language switching
816
- - Add Info page, refactor
817
-
818
- ## **0.1.0** (2021-03-05)
819
-
820
- - Rename keycloakify
821
-
822
- ### **0.0.33** (2021-03-05)
823
-
824
- - Fix syncronization with non react pages
825
-
826
- ### **0.0.32** (2021-03-05)
827
-
828
- - bump version
829
- - Add log to tell when we are using react
830
- - Fix missing parentesis
831
-
832
- ### **0.0.31** (2021-03-05)
833
-
834
- - Fix typo
835
- - Fix register page 500
836
-
837
- ### **0.0.30** (2021-03-05)
838
-
839
- - Edit language statistique
840
-
841
- ### **0.0.30** (2021-03-05)
842
-
843
- - avoid escaping urls
844
- - Use default value instead of value
845
- - Fix double single quote problem in messages
846
- - Fix typo
847
- - Fix non editable username
848
- - Fix some bugs
849
- - Fix Object.deepAssign
850
- - Make the dongle to download smaller
851
- - Split kcContext among pages
852
- - Implement register
853
-
854
- ### **0.0.29** (2021-03-04)
855
-
856
- - Fix build
857
- - Fix i18n
858
- - Login appear to be working now
859
- - closer but not there yet
860
-
861
- ### **0.0.28** (2021-03-03)
862
-
863
- - fix build
864
- - There is no reason not to let use translations outside of keycloak
865
-
866
- ### **0.0.27** (2021-03-02)
867
-
868
- - Implement entrypoint
869
-
870
- ### **0.0.26** (2021-03-02)
871
-
872
- - Login page implemented
873
- - Implement login
874
- - remove unesseary log
875
-
876
- ### **0.0.25** (2021-03-02)
877
-
878
- - Fix build and reduce size
879
- - Implement the template
880
-
881
- ### **0.0.24** (2021-03-01)
882
-
883
- - update
884
- - update
885
- - update
886
-
887
- ### **0.0.23** (2021-03-01)
888
-
889
- - update
890
-
891
- ### **0.0.23** (2021-03-01)
892
-
893
- - update
894
- - update
895
-
896
- ### **0.0.23** (2021-03-01)
897
-
898
- - update
899
- - update
900
-
901
- ### **0.0.23** (2021-03-01)
902
-
903
- - update
904
- - Handle formatting in translation function
905
-
906
- ### **0.0.22** (2021-02-28)
907
-
908
- - Split page messages
909
-
910
- ### **0.0.21** (2021-02-28)
911
-
912
- - Restore yarn file
913
- - Multiple fixes
914
- - Update deps
915
- - Update deps
916
- - includes translations
917
- - Update README.md
918
- - improve docs
919
- - update
920
- - Update README.md
921
- - update
922
- - update
923
- - update
924
- - update
925
-
926
- ### **0.0.20** (2021-02-27)
927
-
928
- - update
929
- - update
930
-
931
- ### **0.0.19** (2021-02-27)
932
-
933
- - update
934
- - update
935
-
936
- ### **0.0.18** (2021-02-23)
937
-
938
- - Bump version number
939
- - Moving on with implementation of the lib
940
- - Update readme
941
- - Readme eddit
942
- - Fixing video link
943
-
944
- ### **0.0.16** (2021-02-23)
945
-
946
- - Bump version
947
- - Give test container credentials
948
-
949
- ### **0.0.14** (2021-02-23)
950
-
951
- - Bump version number
952
- - enable the docker container to be run from the root of the react project
953
-
954
- ### **0.0.13** (2021-02-23)
955
-
956
- - bump version
957
-
958
- ### **0.0.12** (2021-02-23)
959
-
960
- - update readme
961
-
962
- ### **0.0.11** (2021-02-23)
963
-
964
- - Add documentation
965
-
966
- ### **0.0.10** (2021-02-23)
967
-
968
- - Remove extra closing bracket
969
-
970
- ### **0.0.9** (2021-02-22)
971
-
972
- - fix container startup script
973
- - minor update
974
-
975
- ### **0.0.8** (2021-02-21)
976
-
977
- - Include theme properties
978
-
979
- ### **0.0.7** (2021-02-21)
980
-
981
- - fix build
982
- - Fix bundle
983
-
984
- ### **0.0.6** (2021-02-21)
985
-
986
- - Include missing files in the release bundle
987
-
988
- ### **0.0.5** (2021-02-21)
989
-
990
- - Bump version number
991
- - Make the install faster
992
-
993
- ### **0.0.4** (2021-02-21)
994
-
995
- - Fix script visibility
996
-
997
- ### **0.0.3** (2021-02-21)
998
-
999
- - Do not run tests on window
1000
- - Add script for downloading base themes
1001
- - Generate debug files to be able to test the container
1002
- - Fix many little bugs
1003
- - refactor
1004
- - Almoste there
1005
- - Things are starting to take form
1006
- - Seems to be working
1007
- - First draft
1008
- - Remove eslint and prettyer
1009
-
1010
- ### **0.0.2** (2021-02-20)
1011
-
1012
- - Update package.json
1013
-