Use npm script for pre-commit hook to avoid bunx issues

This commit is contained in:
William Valentin
2025-09-06 01:54:15 -07:00
parent 5eeb7d62ca
commit 79bfdeaa94
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Run lint-staged for file-specific checks # Run lint-staged for file-specific checks
./node_modules/.bin/lint-staged npm run pre-commit
echo "✅ Pre-commit checks passed!" echo "✅ Pre-commit checks passed!"

View File

@@ -726,7 +726,7 @@ bun test-production.js
# Submit pull request # Submit pull request
``` ```
## <EFBFBD> Documentation ## 📚 Documentation
### **Project Documentation** ### **Project Documentation**
@@ -738,7 +738,7 @@ bun test-production.js
- **[License](LICENSE)** - MIT license and third-party attributions - **[License](LICENSE)** - MIT license and third-party attributions
- **[Changelog](CHANGELOG.md)** - Version history and release notes - **[Changelog](CHANGELOG.md)** - Version history and release notes
## <EFBFBD>📄 License ## 📄 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -754,4 +754,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
**Built with ❤️ for better medication adherence and health outcomes.** **Built with ❤️ for better medication adherence and health outcomes.**
For support, please open an issue on GitHub or contact the development team. For support, please open an issue on GitHub or contact the development team.<EFBFBD> Documentation