chore: harden repository defaults

This commit is contained in:
2026-03-19 16:01:03 +08:00
parent 03abe28d8c
commit 5fea805ac3
2 changed files with 27 additions and 0 deletions

12
.gitattributes vendored Normal file
View File

@@ -0,0 +1,12 @@
* text=auto eol=lf
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.pdf binary
*.ttf binary
*.woff binary
*.woff2 binary

15
.gitignore vendored
View File

@@ -1,5 +1,20 @@
node_modules/ node_modules/
.tmp-ts/ .tmp-ts/
miniprogram_npm/
dist/
build/
coverage/
project.private.config.json project.private.config.json
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.idea/
.vscode/
*.suo
*.user
*.tmp
*.swp
.DS_Store .DS_Store
Thumbs.db Thumbs.db