1) src/bookmark-processor.js:加固书签导入 - config/user/ 不存在时先从 config/_default/ 初始化一套完整用户配置(符合“完全替换”策略) - 优先更新 config/user/site.yml 的 navigation,确保包含 id: bookmarks;失败再兼容旧 navigation.yml - 无 .html 书签文件时由报错改为警告并跳过,不阻塞流程 - 导航更新日志按结果输出,不再无条件“已更新” 2) config/README.md:修正文档 - 明确配置加载为“完全替换、不合并” - 补充首次使用建议:复制 config/_default/ 到 config/user/ 3) package.json:许可证对齐 - license 从 MIT 改为 AGPL-3.0-only(与 LICENSE/README 对齐) 4) .gitignore:忽略工具目录 - 新增忽略 .serena/
42 lines
468 B
Plaintext
42 lines
468 B
Plaintext
# 依赖相关
|
|
node_modules/
|
|
npm-debug.log*
|
|
|
|
# 构建输出
|
|
dist/
|
|
|
|
# IDE/编辑器配置
|
|
.vscode/
|
|
.idea/
|
|
.specstory
|
|
.cursorindexingignore
|
|
.cursor
|
|
.spec-workflow/
|
|
.serena/
|
|
|
|
# 系统文件
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
|
|
# 个人笔记
|
|
docs/
|
|
|
|
# 测试相关文件
|
|
dev/
|
|
jest.config.js
|
|
tests/
|
|
coverage/
|
|
.nyc_output/
|
|
jest-*.json
|
|
jest.results.json
|
|
.eslintcache
|
|
tests/screenshots/
|
|
tests/fixtures/
|
|
*.test.js
|
|
*.spec.js
|
|
|
|
# SpecStory explanation file
|
|
.specstory/.what-is-this.md
|
|
AGENTS.md
|