@onexapis/cli 1.1.6 → 1.1.8

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/dist/index.mjs CHANGED
@@ -713,7 +713,8 @@ export function headers() { return new Headers(); }
713
713
  };
714
714
  return {
715
715
  contents: stubs[args.path] || "export default {};",
716
- loader: "jsx"
716
+ loader: "jsx",
717
+ resolveDir: themePath
717
718
  };
718
719
  });
719
720
  }
@@ -1285,10 +1286,10 @@ export const manifest: ThemeExport = {
1285
1286
  author: "${data.author}",
1286
1287
 
1287
1288
  // Theme configuration
1288
- config: () => import("./theme.config").then((m) => m.themeConfig),
1289
+ config: () => import("./config").then((m) => m.themeConfig),
1289
1290
 
1290
1291
  // Theme layout (header/footer sections)
1291
- layout: () => import("./theme.layout").then((m) => m.themeLayout),
1292
+ layout: () => import("./layout").then((m) => m.themeLayout),
1292
1293
 
1293
1294
  // Available sections in this theme
1294
1295
  sections: {
@@ -1454,9 +1455,9 @@ function generateThemeIndex(data) {
1454
1455
  * ${data.themeNamePascal} Theme
1455
1456
  */
1456
1457
 
1457
- export { manifest as ${data.themeName}Manifest } from "./manifest";
1458
- export { themeConfig as ${data.themeName}Config } from "./theme.config";
1459
- export { themeLayout as ${data.themeName}Layout } from "./theme.layout";
1458
+ export { manifest as ${data.themeNamePascal}Manifest } from "./manifest";
1459
+ export { themeConfig as ${data.themeNamePascal}Config } from "./config";
1460
+ export { themeLayout as ${data.themeNamePascal}Layout } from "./layout";
1460
1461
  `;
1461
1462
  }
1462
1463
  function generateHomePage(data) {