mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 00:54:42 +04:00
Implements Bun as a new language option for pre-commit hooks, enabling hooks to run using the Bun JavaScript runtime and package manager. - Add bun.py language implementation with binary download/install - Support system-installed Bun or automatic version download - Add comprehensive tests including version handling and hook execution - Register bun in all_languages.py - Include test repository fixture for integration tests
7 lines
110 B
JSON
7 lines
110 B
JSON
{
|
|
"name": "test-bun-hook",
|
|
"version": "1.0.0",
|
|
"bin": {
|
|
"test-bun-hook": "./bin/test-hook.js"
|
|
}
|
|
}
|