C: chore: 清理 node 产物 + 完善 .gitignore

移除 package-lock.json 和 package.json 的跟踪(node 构建产物)。
.gitignore 新增:sessions/、node_modules/、__pycache__/、编辑器临时文件等。
防止以后 git add -A 再带上垃圾。
This commit is contained in:
tckm.er
2026-05-21 19:43:52 +08:00
parent 5798240e50
commit e36f42ca6a
3 changed files with 30 additions and 9 deletions
+30 -2
View File
@@ -1,2 +1,30 @@
*.lock
.obsidian/
# GNM Wiki 仓库——只跟踪知识内容,不跟踪运行时数据
# Obsidian
.obsidian/
# 会话数据(运行时缓存,不属于知识库)
sessions/
# Node.jswiki 导出工具用,不跟踪)
node_modules/
package-lock.json
package.json
# 操作系统
.DS_Store
Thumbs.db
# 编辑器
*.swp
*.swo
*~
.vscode/
.idea/
# Python
__pycache__/
*.pyc
*.pyo
.venv/
venv/
-6
View File
@@ -1,6 +0,0 @@
{
"name": "gnm",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}
-1
View File
@@ -1 +0,0 @@
{}