feat: 更新排除目录列表,添加 docs 目录;新增本地开发文档

This commit is contained in:
Ri-Nai
2025-09-25 15:16:42 +08:00
parent 01327a97f4
commit 2877934751
4 changed files with 72 additions and 67 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import fs from 'node:fs'
import path from 'node:path'
const ROOT = process.cwd()
const EXCLUDED_DIRS = new Set(['.git', '.github', '.vitepress', 'node_modules', 'public'])
const EXCLUDED_DIRS = new Set(['.git', '.github', '.vitepress', 'node_modules', 'public', 'docs'])
function isDirectory(p) {
return fs.existsSync(p) && fs.statSync(p).isDirectory()