Compare commits

..

2 commits

Author SHA1 Message Date
Ayo
a985384079 chore: no mirror; just push 2026-02-23 22:53:41 +01:00
Ayo
38ab0b197e chore: add husky; add post-commit auto import to gh & sh 2026-02-22 19:35:16 +01:00
3 changed files with 19 additions and 1 deletions

3
.husky/post-commit Normal file
View file

@ -0,0 +1,3 @@
echo "post-commit..."
git push gh
git push sh

View file

@ -7,7 +7,8 @@
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"start": "node .", "start": "node .",
"test": "generate-timezone-json --tab-file zone.tab" "test": "generate-timezone-json --tab-file zone.tab",
"prepare": "husky"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -23,5 +24,8 @@
"dependencies": { "dependencies": {
"@vvo/tzdb": "^6.198.0", "@vvo/tzdb": "^6.198.0",
"parse-zonetab": "^1.0.0" "parse-zonetab": "^1.0.0"
},
"devDependencies": {
"husky": "^9.1.7"
} }
} }

View file

@ -14,6 +14,10 @@ importers:
parse-zonetab: parse-zonetab:
specifier: ^1.0.0 specifier: ^1.0.0
version: 1.0.0 version: 1.0.0
devDependencies:
husky:
specifier: ^9.1.7
version: 9.1.7
packages: packages:
@ -52,6 +56,11 @@ packages:
resolution: {integrity: sha512-AUGhbbemXxrZJRD5cDvKtQxLuYaIbNtDTK8YqupCI393Q2KSTreEsLUN3ZxAWFGiKTzL6nKuzfcIvieflUX9qA==} resolution: {integrity: sha512-AUGhbbemXxrZJRD5cDvKtQxLuYaIbNtDTK8YqupCI393Q2KSTreEsLUN3ZxAWFGiKTzL6nKuzfcIvieflUX9qA==}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
husky@9.1.7:
resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==}
engines: {node: '>=18'}
hasBin: true
inherits@2.0.4: inherits@2.0.4:
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
@ -172,6 +181,8 @@ snapshots:
object-assign: 4.1.1 object-assign: 4.1.1
pinkie-promise: 2.0.1 pinkie-promise: 2.0.1
husky@9.1.7: {}
inherits@2.0.4: {} inherits@2.0.4: {}
into-stream@2.0.1: into-stream@2.0.1: