@zyrab/domo-ssg 0.5.0 β†’ 0.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyrab/domo-ssg",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "A Static Site Generator (SSG) for Domo-based projects.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -17,9 +17,9 @@
17
17
  "author": "Zyrab",
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
- "@zyrab/domo": "^1.3.0",
21
- "@zyrab/domo-og": "0.1.0",
22
- "@zyrab/domo-router": "^0.1.1"
20
+ "@zyrab/domo-og": "0.1.3",
21
+ "@zyrab/domo-router": "^0.2.0",
22
+ "@zyrab/domo": "^1.3.0"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"
package/src/file-utils.js CHANGED
@@ -42,9 +42,9 @@ export function cleanOutputDir(outputDir, exclude) {
42
42
  const entryPath = path.join(outputDir, entry);
43
43
  fs.rmSync(entryPath, { recursive: true, force: true });
44
44
  }
45
- console.log(`Cleaned output directory: ${outputDir}`);
45
+ console.log(`πŸ“ Cleaned output directory: ${outputDir}`);
46
46
  } else {
47
47
  fs.mkdirSync(outputDir, { recursive: true });
48
- console.log(`Created output directory: ${outputDir}`);
48
+ console.log(`πŸ“ Created output directory: ${outputDir}`);
49
49
  }
50
50
  }
package/src/index.js CHANGED
@@ -14,7 +14,7 @@ async function main() {
14
14
 
15
15
  console.log("πŸš€ Starting Domo SSG build...");
16
16
  console.log(`πŸ“ Output directory: ${config.outDir}`);
17
- console.log(`πŸ—ΊοΈ Routes file: ${config.routesFile}`);
17
+ console.log(`πŸ—ΊοΈ Routes file: ${config.routesFile}`);
18
18
  console.log(`🧩 Layout file: ${config.layout}`);
19
19
 
20
20
  // 1. Clean the output directory
@@ -56,7 +56,7 @@ export async function buildRoutes(routes, renderLayout, parentPath = "", props =
56
56
  await buildRoutes(routeNode, renderLayout, currentRoute, { ...props });
57
57
  }
58
58
  if (!routeNode.component && Object.keys(routeNode).length > 0) {
59
- console.warn(`⚠️ Route "${currentRoute}" has no component but contains other data.`);
59
+ console.warn(`⚠️ Route "${currentRoute}" has no component but contains other data.`);
60
60
  }
61
61
  }
62
62
  }