chore: align frontend tooling with bun

This commit is contained in:
linkong
2026-04-02 16:48:32 +08:00
parent f01d24240f
commit 8bd8e3966a
6 changed files with 38 additions and 3282 deletions

View File

@@ -139,7 +139,7 @@ git commit -m "docs: update API documentation"
# Before opening PR
git fetch origin && git rebase origin/main
pytest && npm run lint
./.venv/bin/python -m pytest -s backend/tests && bun run build
```
**Rules:**
@@ -156,7 +156,7 @@ pytest && npm run lint
- Verify package legitimacy before adding
- Prefer well-maintained, widely-used libraries
- Pin dependency versions in `requirements.txt` and `package.json`
- Review security advisories with `pip-audit` and `npm audit`
- Review security advisories with `pip-audit` and `bun audit`
- **NEVER** add unknown packages
---