nodoku-core 0.3.16 → 0.3.17

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.
@@ -7,6 +7,7 @@ import fs from "node:fs";
7
7
  import { mergeTheme } from "../theme-utils/theme-merger";
8
8
  import { defaultRowThemeImpl } from "../theme-utils/row-style";
9
9
  import { ts } from "../index";
10
+ import path from "path";
10
11
  async function defaultComponentResolver() {
11
12
  const compoDef = new NdComponentDefinition("unlimited", undefined, {});
12
13
  return { compo: DummyComp, compoDef: compoDef };
@@ -154,6 +155,7 @@ async function createRowComponents(rowIndex, blockIndex, skinComponent, pageCont
154
155
  const { compo, compoDef } = await componentResolver(skinComponent ? skinComponent.componentName : "default");
155
156
  // console.log("start rendering comp", rowIndex, blockIndex, skinComponent);
156
157
  if (!compoDef.defaultTheme && compoDef.defaultThemeYaml) {
158
+ console.log("[createRowComponents] loading defaultThemeYaml", compoDef.defaultThemeYaml, path.resolve(process.cwd(), compoDef.defaultThemeYaml));
157
159
  compoDef.defaultTheme = yaml.load(fs.readFileSync(compoDef.defaultThemeYaml).toString());
158
160
  }
159
161
  const res = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodoku-core",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "description": "basic foundation for nodoku static site generator",
5
5
  "license": "MIT for the use not related to website builders, commercial otherwise, contact for details",
6
6
  "exports": {