refactor(vault): Phase 2 — root directory cleanup and clipper migration
- Remove dead services: .scripts/memory/, compose.yml, initdb/, specs/ - Remove root散件: package-lock.json, install.sh, LICENSE, FIRST_RUN, .failed_images.txt, .upgrade-checklist.md, 未命名*.md, Untitled Kanban.md - Move chinese-to-english-mapping.csv → .scripts/ - Migrate 00_Inbox/Clippings/ → 04_Archive/Inbox-Clippings/ - Fix self-nesting bug: 2024/11/2023/ → 2023/ (73 files relocated) - Fix verifier false-positive on its own regex patterns
This commit is contained in:
@@ -22,6 +22,8 @@ const trackedFiles = execSync('git ls-files', { encoding: 'utf8' })
|
||||
.filter(Boolean)
|
||||
|
||||
for (const file of trackedFiles) {
|
||||
if (file === '.scripts/verify-vault.mjs') continue
|
||||
|
||||
if (file.endsWith('.png') || file.endsWith('.jpg') || file.endsWith('.jpeg') || file.endsWith('.gif') || file.endsWith('.webp') || file.endsWith('.svg') || file.endsWith('.ico') || file.endsWith('.woff') || file.endsWith('.woff2') || file.endsWith('.ttf') || file.endsWith('.eot') || file.endsWith('.pdf') || file.endsWith('.zip') || file.endsWith('.gz') || file.endsWith('.tar') || file.endsWith('.mp4') || file.endsWith('.mp3') || file.endsWith('.wav')) {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user