keycloakify 5.6.4 → 5.6.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ### **5.6.5** (2022-07-06)
2
+
3
+ - Merge pull request #133 from bardius/fix/Issue-131-include-all-nested-folders-in-artifact-unzip
4
+
5
+ fix: Issue-131: include all nested folders in artifact unzip
6
+ - Merge pull request #132 from bardius/fix/Issue-130-fix-equality-detection-of-nested-ftl-object-properties
7
+
8
+ fix: Issue-130: fix equality detection of nested ftl object property …
9
+ - fix: Issue-131: include all nested folders in artifact unzip
10
+ - fix: Issue-130: fix equality detection of nested ftl object property paths
11
+
1
12
  ### **5.6.4** (2022-07-06)
2
13
 
3
14
  - Fix login-register-email.ftl
@@ -305,7 +305,7 @@ ${ftl_object_to_js_code_declaring_an_object(.data_model, [])?no_esc};
305
305
  </#function>
306
306
  <#function are_same_path path searchedPath>
307
307
 
308
- <#if path?size != path?size>
308
+ <#if path?size != searchedPath?size>
309
309
  <#return false>
310
310
  </#if>
311
311
 
@@ -17,7 +17,7 @@ function downloadAndUnzip(params) {
17
17
  (0, rm_1.rm_rf)(tmpDirPath);
18
18
  fs_1.default.mkdirSync(tmpDirPath, { "recursive": true });
19
19
  (0, child_process_1.execSync)("curl -L ".concat(url, " -o ").concat(zipFilePath), { "cwd": tmpDirPath });
20
- (0, child_process_1.execSync)("unzip ".concat(zipFilePath).concat(pathOfDirToExtractInArchive === undefined ? "" : " \"".concat(pathOfDirToExtractInArchive, "/*\"")), {
20
+ (0, child_process_1.execSync)("unzip ".concat(zipFilePath).concat(pathOfDirToExtractInArchive === undefined ? "" : " \"".concat(pathOfDirToExtractInArchive, "/**/*\"")), {
21
21
  "cwd": tmpDirPath,
22
22
  });
23
23
  (0, rm_1.rm)((0, path_1.basename)(url), { "cwd": tmpDirPath });
@@ -1 +1 @@
1
- {"version":3,"file":"downloadAndUnzip.js","sourceRoot":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BD,4CAwBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "5.6.4",
3
+ "version": "5.6.5",
4
4
  "description": "Keycloak theme generator for Reacts app",
5
5
  "repository": {
6
6
  "type": "git",
@@ -305,7 +305,7 @@ ${ftl_object_to_js_code_declaring_an_object(.data_model, [])?no_esc};
305
305
  </#function>
306
306
  <#function are_same_path path searchedPath>
307
307
 
308
- <#if path?size != path?size>
308
+ <#if path?size != searchedPath?size>
309
309
  <#return false>
310
310
  </#if>
311
311
 
@@ -17,7 +17,7 @@ export function downloadAndUnzip(params: { url: string; destDirPath: string; pat
17
17
 
18
18
  execSync(`curl -L ${url} -o ${zipFilePath}`, { "cwd": tmpDirPath });
19
19
 
20
- execSync(`unzip ${zipFilePath}${pathOfDirToExtractInArchive === undefined ? "" : ` "${pathOfDirToExtractInArchive}/*"`}`, {
20
+ execSync(`unzip ${zipFilePath}${pathOfDirToExtractInArchive === undefined ? "" : ` "${pathOfDirToExtractInArchive}/**/*"`}`, {
21
21
  "cwd": tmpDirPath,
22
22
  });
23
23