From 5fea805ac376ed1a99c31117c48385e918bd5f88 Mon Sep 17 00:00:00 2001 From: zhangyan Date: Thu, 19 Mar 2026 16:01:03 +0800 Subject: [PATCH] chore: harden repository defaults --- .gitattributes | 12 ++++++++++++ .gitignore | 15 +++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6c3c727 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore index 35de4ee..97be300 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,20 @@ node_modules/ .tmp-ts/ +miniprogram_npm/ +dist/ +build/ +coverage/ 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 Thumbs.db