chore: align frontend tooling with bun
This commit is contained in:
4
rules.md
4
rules.md
@@ -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
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user