@windrun-huaiin/dev-scripts 12.0.0 → 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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAE/B,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,EAAE,CAAA;QACjB,aAAa,EAAE,MAAM,CAAA;QACrB,WAAW,EAAE,MAAM,CAAA;KACpB,CAAA;IAGD,IAAI,EAAE;QACJ,OAAO,EAA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,MAAM,CAAA;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IAGD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,CAAC,EAAE,OAAO,CAAA;KAClB,CAAA;IAGD,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC5C;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,cAAc,EAAE,gBAgF5B,CAAA"}
|
package/dist/config/schema.js
CHANGED
|
@@ -48,7 +48,8 @@ const DEFAULT_CONFIG = {
|
|
|
48
48
|
"components": "页面组件",
|
|
49
49
|
"lib": "工具包",
|
|
50
50
|
"mdx": "FumaMDX文档",
|
|
51
|
-
"middleware.ts": "
|
|
51
|
+
"middleware.ts": "旧版中间件入口",
|
|
52
|
+
"proxy.ts": "中间件入口",
|
|
52
53
|
"i18n.ts": "多语言配置",
|
|
53
54
|
"globals.css": "全局样式",
|
|
54
55
|
"layout.config.tsx": "布局配置",
|
|
@@ -71,9 +72,13 @@ const DEFAULT_CONFIG = {
|
|
|
71
72
|
"site-config.ts": "网站图标配置",
|
|
72
73
|
"ioc.mdx": "月度/统计",
|
|
73
74
|
"meta.json": "FumaMDX元数据",
|
|
74
|
-
"
|
|
75
|
+
"readme.mdx": "Next.js项目结构",
|
|
75
76
|
".github": "GitHub 配置目录",
|
|
76
|
-
"workflows": "CI/CD 工作流配置"
|
|
77
|
+
"workflows": "CI/CD 工作流配置",
|
|
78
|
+
"fumadocs-ui@15.3.3.patch": "fumadocs-ui版本15.3.3补丁",
|
|
79
|
+
"fumadocs-ui@16.0.9.patch": "fumadocs-ui版本16.0.9补丁",
|
|
80
|
+
"fumadocs-core@16.0.9.patch": "fumadocs-core版本16.0.9补丁",
|
|
81
|
+
".env.local.txt": "config example"
|
|
77
82
|
}
|
|
78
83
|
};
|
|
79
84
|
|
package/dist/config/schema.mjs
CHANGED
|
@@ -46,7 +46,8 @@ const DEFAULT_CONFIG = {
|
|
|
46
46
|
"components": "页面组件",
|
|
47
47
|
"lib": "工具包",
|
|
48
48
|
"mdx": "FumaMDX文档",
|
|
49
|
-
"middleware.ts": "
|
|
49
|
+
"middleware.ts": "旧版中间件入口",
|
|
50
|
+
"proxy.ts": "中间件入口",
|
|
50
51
|
"i18n.ts": "多语言配置",
|
|
51
52
|
"globals.css": "全局样式",
|
|
52
53
|
"layout.config.tsx": "布局配置",
|
|
@@ -69,9 +70,13 @@ const DEFAULT_CONFIG = {
|
|
|
69
70
|
"site-config.ts": "网站图标配置",
|
|
70
71
|
"ioc.mdx": "月度/统计",
|
|
71
72
|
"meta.json": "FumaMDX元数据",
|
|
72
|
-
"
|
|
73
|
+
"readme.mdx": "Next.js项目结构",
|
|
73
74
|
".github": "GitHub 配置目录",
|
|
74
|
-
"workflows": "CI/CD 工作流配置"
|
|
75
|
+
"workflows": "CI/CD 工作流配置",
|
|
76
|
+
"fumadocs-ui@15.3.3.patch": "fumadocs-ui版本15.3.3补丁",
|
|
77
|
+
"fumadocs-ui@16.0.9.patch": "fumadocs-ui版本16.0.9补丁",
|
|
78
|
+
"fumadocs-core@16.0.9.patch": "fumadocs-core版本16.0.9补丁",
|
|
79
|
+
".env.local.txt": "config example"
|
|
75
80
|
}
|
|
76
81
|
};
|
|
77
82
|
|