@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.mjs
CHANGED
|
@@ -1285,10 +1285,10 @@ export const manifest: ThemeExport = {
|
|
|
1285
1285
|
author: "${data.author}",
|
|
1286
1286
|
|
|
1287
1287
|
// Theme configuration
|
|
1288
|
-
config: () => import("./
|
|
1288
|
+
config: () => import("./config").then((m) => m.themeConfig),
|
|
1289
1289
|
|
|
1290
1290
|
// Theme layout (header/footer sections)
|
|
1291
|
-
layout: () => import("./
|
|
1291
|
+
layout: () => import("./layout").then((m) => m.themeLayout),
|
|
1292
1292
|
|
|
1293
1293
|
// Available sections in this theme
|
|
1294
1294
|
sections: {
|
|
@@ -1454,9 +1454,9 @@ function generateThemeIndex(data) {
|
|
|
1454
1454
|
* ${data.themeNamePascal} Theme
|
|
1455
1455
|
*/
|
|
1456
1456
|
|
|
1457
|
-
export { manifest as ${data.
|
|
1458
|
-
export { themeConfig as ${data.
|
|
1459
|
-
export { themeLayout as ${data.
|
|
1457
|
+
export { manifest as ${data.themeNamePascal}Manifest } from "./manifest";
|
|
1458
|
+
export { themeConfig as ${data.themeNamePascal}Config } from "./config";
|
|
1459
|
+
export { themeLayout as ${data.themeNamePascal}Layout } from "./layout";
|
|
1460
1460
|
`;
|
|
1461
1461
|
}
|
|
1462
1462
|
function generateHomePage(data) {
|