zova-module-a-bean 5.1.8 → 5.1.9

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.
@@ -119,7 +119,7 @@ async function generateRestMetaPage(options: IMetadataCustomGenerateOptions, _co
119
119
  if (contentPathRecordsRest.length === 0) return;
120
120
  const { moduleName, modulePath } = options;
121
121
  // pages
122
- const contentPages = `import 'zova-module-${moduleName}';\n`;
122
+ const contentPages = `export * from 'zova-module-${moduleName}';\n`;
123
123
  const filePages = path.join(modulePath, 'rest/pages.ts');
124
124
  await fse.outputFile(filePages, contentPages);
125
125
  // index
@@ -117,7 +117,7 @@ async function generateRestMetaPage(options, _contentImportsRest, contentPathRec
117
117
  return;
118
118
  const { moduleName, modulePath } = options;
119
119
  // pages
120
- const contentPages = `import 'zova-module-${moduleName}';\n`;
120
+ const contentPages = `export * from 'zova-module-${moduleName}';\n`;
121
121
  const filePages = path.join(modulePath, 'rest/pages.ts');
122
122
  await fse.outputFile(filePages, contentPages);
123
123
  // index
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zova-module-a-bean",
3
- "version": "5.1.8",
4
- "gitHead": "4caf955ae46d889cab5dd7efc981f562b3b54aa2",
3
+ "version": "5.1.9",
4
+ "gitHead": "5addcc2f7ee1604c14bc00f720929f1d9f2eb011",
5
5
  "description": "",
6
6
  "keywords": [
7
7
  "Zova Module"