@onexapis/cli 1.1.6 → 1.1.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.
- package/dist/cli.js +47 -44
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +47 -44
- package/dist/cli.mjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/templates/default/esbuild.config.js +3 -3
package/dist/index.js
CHANGED
|
@@ -1322,10 +1322,10 @@ export const manifest: ThemeExport = {
|
|
|
1322
1322
|
author: "${data.author}",
|
|
1323
1323
|
|
|
1324
1324
|
// Theme configuration
|
|
1325
|
-
config: () => import("./
|
|
1325
|
+
config: () => import("./config").then((m) => m.themeConfig),
|
|
1326
1326
|
|
|
1327
1327
|
// Theme layout (header/footer sections)
|
|
1328
|
-
layout: () => import("./
|
|
1328
|
+
layout: () => import("./layout").then((m) => m.themeLayout),
|
|
1329
1329
|
|
|
1330
1330
|
// Available sections in this theme
|
|
1331
1331
|
sections: {
|
|
@@ -1491,9 +1491,9 @@ function generateThemeIndex(data) {
|
|
|
1491
1491
|
* ${data.themeNamePascal} Theme
|
|
1492
1492
|
*/
|
|
1493
1493
|
|
|
1494
|
-
export { manifest as ${data.
|
|
1495
|
-
export { themeConfig as ${data.
|
|
1496
|
-
export { themeLayout as ${data.
|
|
1494
|
+
export { manifest as ${data.themeNamePascal}Manifest } from "./manifest";
|
|
1495
|
+
export { themeConfig as ${data.themeNamePascal}Config } from "./config";
|
|
1496
|
+
export { themeLayout as ${data.themeNamePascal}Layout } from "./layout";
|
|
1497
1497
|
`;
|
|
1498
1498
|
}
|
|
1499
1499
|
function generateHomePage(data) {
|