@windrun-huaiin/dev-scripts 12.0.1 → 12.0.2
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.
|
@@ -69,7 +69,7 @@ async function generateNextjsArchitecture(config, cwd = typeof process !== 'unde
|
|
|
69
69
|
const indentedFilesContent = filesContent.split('\n').map(line => line ? ' ' + line : '').join('\n');
|
|
70
70
|
const mdx = frontmatter + '<Files>\n' + indentedFilesContent + '</Files>\n';
|
|
71
71
|
// output to blog directory
|
|
72
|
-
const outputMdxPath = path.join(blogDir, '
|
|
72
|
+
const outputMdxPath = path.join(blogDir, 'readme.mdx');
|
|
73
73
|
fs.writeFileSync(outputMdxPath, mdx);
|
|
74
74
|
logger$1.success(`Successfully generated ${outputMdxPath}`);
|
|
75
75
|
logger$1.saveToFile('generate-nextjs-architecture.log', cwd);
|
|
@@ -67,7 +67,7 @@ async function generateNextjsArchitecture(config, cwd = typeof process !== 'unde
|
|
|
67
67
|
const indentedFilesContent = filesContent.split('\n').map(line => line ? ' ' + line : '').join('\n');
|
|
68
68
|
const mdx = frontmatter + '<Files>\n' + indentedFilesContent + '</Files>\n';
|
|
69
69
|
// output to blog directory
|
|
70
|
-
const outputMdxPath = join(blogDir, '
|
|
70
|
+
const outputMdxPath = join(blogDir, 'readme.mdx');
|
|
71
71
|
writeFileSync(outputMdxPath, mdx);
|
|
72
72
|
logger.success(`Successfully generated ${outputMdxPath}`);
|
|
73
73
|
logger.saveToFile('generate-nextjs-architecture.log', cwd);
|