mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-07-27 04:20:43 +08:00
3945ee611d
- 删除大量废弃的旧代码、依赖和配置文件 - 新增基础项目配置、工具函数、页面模板和请求库 - 重构目录结构,统一项目规范 - 添加commitlint、husky等代码规范工具
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
node_modules
|
|
.DS_Store
|
|
dist
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.idea
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
.hbuilderx
|
|
|
|
.stylelintcache
|
|
.eslintcache
|
|
|
|
docs/.vitepress/dist
|
|
docs/.vitepress/cache
|
|
|
|
src/types
|
|
# 单独把这个文件排除掉,用以解决部分电脑生成的 auto-import.d.ts 的API不完整导致类型提示报错问题
|
|
!src/types/auto-import.d.ts
|
|
src/manifest.json
|
|
src/pages.json
|
|
|
|
# 2025-10-15 by 菲鸽: lock 文件还是需要加入版本管理,今天又遇到版本不一致导致无法运行的问题了。
|
|
# pnpm-lock.yaml
|
|
# package-lock.json
|
|
|
|
# TIPS:如果某些文件已经加入了版本管理,现在重新加入 .gitignore 是不生效的,需要执行下面的操作
|
|
# `git rm -r --cached .` 然后提交 commit 即可。
|
|
|
|
# git rm -r --cached file1 file2 ## 针对某些文件
|
|
# git rm -r --cached dir1 dir2 ## 针对某些文件夹
|
|
# git rm -r --cached . ## 针对所有文件
|
|
|
|
# 更新 uni-app 官方版本
|
|
# npx @dcloudio/uvm@latest
|