build: replace .githooks with husky
Tests / PHP 8.4 (push) Failing after 5m32s

This commit is contained in:
dgarcia committed 2026-11-15 11:14:26 -03:00
1 parent 46d3ba10f0
commit 02703f40ab
5 files changed
+42 -3

No files matched your search

-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh
# Enable once per clone: git config core.hooksPath .githooks
composer check
+1
View File
@@ -4,3 +4,4 @@
.phpunit.result.cache
.mago.cache
coverage/
node_modules/
+1
View File
@@ -0,0 +1 @@
composer check
+29
View File
@@ -0,0 +1,29 @@
{
"name": "camelia-orm-dev",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "camelia-orm-dev",
"devDependencies": {
"husky": "^9.1.7"
}
},
"node_modules/husky": {
"version": "9.1.7",
"resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz",
"integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==",
"dev": true,
"license": "MIT",
"bin": {
"husky": "bin.js"
},
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/typicode"
}
}
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"name": "camelia-orm-dev",
"private": true,
"description": "Development-only tooling. Not published; the package is installed through Composer.",
"scripts": {
"prepare": "husky || true"
},
"devDependencies": {
"husky": "^9.1.7"
}
}