@keycloakify/angular-email 0.0.4 → 0.0.7

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.
Files changed (2) hide show
  1. package/bin/build.mjs +2 -2
  2. package/package.json +2 -1
package/bin/build.mjs CHANGED
@@ -91,10 +91,10 @@ const build = async (emailFilesPath, outdir = 'dist/emails') => {
91
91
  return Object.assign(Object.assign({}, module), { file });
92
92
  });
93
93
  const modules = await Promise.all(promises);
94
- modules.forEach(async (module) => {
94
+ for (const module of modules) {
95
95
  const html = await module.renderToHtml();
96
96
  await writeFile(`${outdir}/${basename(module.file).split('.')[0]}.html`, html);
97
- });
97
+ }
98
98
  await rm(tmp, { recursive: true, force: true });
99
99
  console.log('\x1b[36m%s\x1b[0m', `build complete!`);
100
100
  exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keycloakify/angular-email",
3
- "version": "0.0.4",
3
+ "version": "0.0.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Angular Email Builder",
@@ -30,6 +30,7 @@
30
30
  "@angular/build": "^20.1.0",
31
31
  "@angular/platform-server": "^20.1.0",
32
32
  "@angular/ssr": "^20.1.0",
33
+ "@angular/router": "^20.1.0",
33
34
  "juice": "^11.0.1",
34
35
  "postcss": "^8.5.3",
35
36
  "tailwindcss-v3": "npm:tailwindcss@^3.4.17",