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 = `
|
|
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 = `
|
|
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