c3956f0f36
- 新增 .gitattributes(CRLF 统一)+ rust-toolchain.toml - 新增 Prettier + ESLint + markdownlint 配置 - 新增 Husky Git hooks(pre-commit lint-staged + commit-msg commitlint) - 新增 vitest 前端测试(12 tests, utils/qrText.ts) - 新增 @ 路径别名(vite + tsconfig) - 新增 ROADMAP / SUPPORT / CODEOWNERS / FUNDING / dependabot - 更新 .gitignore + .editorconfig - 更新 package.json(新增 lint/format/test 脚本) - 全项目 prettier 格式化 + eslint 通过 - 更新 CLAUDE.md + README.md
73 lines
1.6 KiB
YAML
73 lines
1.6 KiB
YAML
# Dependabot 自动依赖更新配置
|
|
# https://docs.github.com/code-security/dependabot/dependabot-version-updates
|
|
|
|
version: 2
|
|
updates:
|
|
# npm 前端依赖
|
|
- package-ecosystem: "npm"
|
|
directory: "/gui/src-frontend"
|
|
schedule:
|
|
interval: "weekly"
|
|
day: "monday"
|
|
time: "09:00"
|
|
timezone: "Asia/Shanghai"
|
|
versioning-strategy: "auto"
|
|
allow:
|
|
- dependency-type: "all"
|
|
labels:
|
|
- "dependencies"
|
|
- "javascript"
|
|
commit-message:
|
|
prefix: "chore(deps)"
|
|
prefix-development: "chore(deps-dev)"
|
|
open-pull-requests-limit: 5
|
|
groups:
|
|
react:
|
|
patterns:
|
|
- "react"
|
|
- "react-dom"
|
|
- "@types/react"
|
|
- "@types/react-dom"
|
|
tauri:
|
|
patterns:
|
|
- "@tauri-apps/*"
|
|
testing:
|
|
patterns:
|
|
- "vitest"
|
|
- "@testing-library/*"
|
|
- "jsdom"
|
|
eslint:
|
|
patterns:
|
|
- "eslint"
|
|
- "eslint-plugin-*"
|
|
- "typescript-eslint"
|
|
- "globals"
|
|
- "@eslint/js"
|
|
|
|
# Cargo Rust 依赖
|
|
- package-ecosystem: "cargo"
|
|
directory: "/"
|
|
schedule:
|
|
interval: "weekly"
|
|
day: "monday"
|
|
time: "09:00"
|
|
timezone: "Asia/Shanghai"
|
|
labels:
|
|
- "dependencies"
|
|
- "rust"
|
|
commit-message:
|
|
prefix: "chore(deps)"
|
|
prefix-development: "chore(deps-dev)"
|
|
open-pull-requests-limit: 3
|
|
|
|
# GitHub Actions
|
|
- package-ecosystem: "github-actions"
|
|
directory: "/"
|
|
schedule:
|
|
interval: "monthly"
|
|
labels:
|
|
- "dependencies"
|
|
- "ci"
|
|
commit-message:
|
|
prefix: "ci(deps)"
|