speccore 8.3.10 → 8.3.12

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/README.md CHANGED
@@ -242,7 +242,7 @@ speccore status # 查看分析进度和过
242
242
 
243
243
  ```bash
244
244
  npm install -g speccore
245
- speccore --version # v7.1.0
245
+ speccore --version # v8.3.10
246
246
  ```
247
247
 
248
248
  ## 命令列表
@@ -1838,8 +1838,8 @@ async function sanitizeSpecDirectories(iterDir) {
1838
1838
  }
1839
1839
  }
1840
1840
  else if (entryStat.isFile()) {
1841
- // 根目录散落的 .md 文件 → 检查是否应归入 overview/
1842
- if (entry.endsWith('.md') && globalSet.has(entry)) {
1841
+ // v8.3.11+: 根目录散落的文件 → 检查是否应归入 overview/(不限于 .md)
1842
+ if (globalSet.has(entry)) {
1843
1843
  const overviewDir = (0, path_1.join)(specDir, spec_paths_1.GLOBAL_SPECS_DIR);
1844
1844
  await (0, fs_extra_1.ensureDir)(overviewDir);
1845
1845
  const dest = (0, path_1.join)(overviewDir, entry);