chore(配置): 添加 Git 忽略文件配置

- 添加 .gitignore 文件
- 配置忽略 node_modules、构建产物等
- 添加 IDE 配置文件忽略规则
- 添加缓存文件忽略规则
This commit is contained in:
gaoziman 2025-11-05 09:46:05 +08:00
commit 691090f573

51
.gitignore vendored Normal file
View File

@ -0,0 +1,51 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local
# vercel
.vercel
# typescript
*.tsbuildinfo
# eslint
.eslintcache
# stylelint
.stylelintcache
# IDE
.idea
.vscode
# build output
/dist