feat(lefthook): add lefthook to repo

This commit is contained in:
Shintaro Jokagi 2025-06-02 13:17:56 +12:00
parent 2d4c15d263
commit d1bb6682d4
No known key found for this signature in database
GPG key ID: 0DDF8FA44C9A0DA8
3 changed files with 105 additions and 1 deletions

View file

@ -21,7 +21,8 @@
"commitlint": "commitlint --edit",
"test": "vitest run",
"test:coverage": "vitest --coverage",
"test:playwright": "playwright test --reporter=list"
"test:playwright": "playwright test --reporter=list",
"prepare": "lefthook install"
},
"dependencies": {
"@astrojs/check": "0.9.4",
@ -43,6 +44,7 @@
"date-fns": "4.1.0",
"free-astro-components": "1.2.0",
"jiti": "^2.4.2",
"lefthook": "^1.11.13",
"motion": "^12.15.0",
"postcss": "8.5.1",
"react": "^19.1.0",

100
pnpm-lock.yaml generated
View file

@ -65,6 +65,9 @@ importers:
jiti:
specifier: ^2.4.2
version: 2.4.2
lefthook:
specifier: ^1.11.13
version: 1.11.13
motion:
specifier: ^12.15.0
version: 12.15.0(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
@ -3253,6 +3256,60 @@ packages:
resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==}
engines: {node: '>=0.10'}
lefthook-darwin-arm64@1.11.13:
resolution: {integrity: sha512-gHwHofXupCtzNLN+8esdWfFTnAEkmBxE/WKA0EwxPPJXdZYa1GUsiG5ipq/CdG/0j8ekYyM9Hzyrrk5BqJ42xw==}
cpu: [arm64]
os: [darwin]
lefthook-darwin-x64@1.11.13:
resolution: {integrity: sha512-zYxkWNUirmTidhskY9J9AwxvdMi3YKH+TqZ3AQ1EOqkOwPBWJQW5PbnzsXDrd3YnrtZScYm/tE/moXJpEPPIpQ==}
cpu: [x64]
os: [darwin]
lefthook-freebsd-arm64@1.11.13:
resolution: {integrity: sha512-gJzWnllcMcivusmPorEkXPpEciKotlBHn7QxWwYaSjss/U3YdZu+NTjDO30b3qeiVlyq4RAZ4BPKJODXxHHwUA==}
cpu: [arm64]
os: [freebsd]
lefthook-freebsd-x64@1.11.13:
resolution: {integrity: sha512-689XdchgtDvZQWFFx1szUvm/mqrq/v6laki0odq5FAfcSgUeLu3w+z6UicBS5l55eFJuQTDNKARFqrKJ04e+Vw==}
cpu: [x64]
os: [freebsd]
lefthook-linux-arm64@1.11.13:
resolution: {integrity: sha512-ujCLbaZg5S/Ao8KZAcNSb+Y3gl898ZEM0YKyiZmZo22dFFpm/5gcV46pF3xaqIw5IpH+3YYDTKDU+qTetmARyQ==}
cpu: [arm64]
os: [linux]
lefthook-linux-x64@1.11.13:
resolution: {integrity: sha512-O5WdodeBtFOXQlvPcckqp4W/yqVM9DbVQBkvOxwSJlmsxO4sGYK1TqdxH9ihLB85B2kPPssZj9ze36/oizzhVQ==}
cpu: [x64]
os: [linux]
lefthook-openbsd-arm64@1.11.13:
resolution: {integrity: sha512-SyBpciUfvY/lUDbZu7L6MtL/SVG2+yMTckBgb4PdJQhJlisY0IsyOYdlTw2icPPrY7JnwdsFv8UW0EJOB76W4g==}
cpu: [arm64]
os: [openbsd]
lefthook-openbsd-x64@1.11.13:
resolution: {integrity: sha512-6+/0j6O2dzo9cjTWUKfL2J6hRR7Krna/ssqnW8cWh8QHZKO9WJn34epto9qgjeHwSysou8byI7Mwv5zOGthLCQ==}
cpu: [x64]
os: [openbsd]
lefthook-windows-arm64@1.11.13:
resolution: {integrity: sha512-w5TwZ8bsZ17uOMtYGc5oEb4tCHjNTSeSXRy6H9Yic8E7IsPZtZLkaZGnIIwgXFuhhrcCdc6FuTvKt2tyV7EW2g==}
cpu: [arm64]
os: [win32]
lefthook-windows-x64@1.11.13:
resolution: {integrity: sha512-7lvwnIs8CNOXKU4y3i1Pbqna+QegIORkSD2VCuHBNpIJ8H84NpjoG3tKU91IM/aI1a2eUvCk+dw+1rfMRz7Ytg==}
cpu: [x64]
os: [win32]
lefthook@1.11.13:
resolution: {integrity: sha512-SDTk3D4nW1XRpR9u9fdYQ/qj1xeZVIwZmIFdJUnyq+w9ZLdCCvIrOmtD8SFiJowSevISjQDC+f9nqyFXUxc0SQ==}
hasBin: true
levn@0.4.1:
resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
engines: {node: '>= 0.8.0'}
@ -8464,6 +8521,49 @@ snapshots:
dependencies:
language-subtag-registry: 0.3.23
lefthook-darwin-arm64@1.11.13:
optional: true
lefthook-darwin-x64@1.11.13:
optional: true
lefthook-freebsd-arm64@1.11.13:
optional: true
lefthook-freebsd-x64@1.11.13:
optional: true
lefthook-linux-arm64@1.11.13:
optional: true
lefthook-linux-x64@1.11.13:
optional: true
lefthook-openbsd-arm64@1.11.13:
optional: true
lefthook-openbsd-x64@1.11.13:
optional: true
lefthook-windows-arm64@1.11.13:
optional: true
lefthook-windows-x64@1.11.13:
optional: true
lefthook@1.11.13:
optionalDependencies:
lefthook-darwin-arm64: 1.11.13
lefthook-darwin-x64: 1.11.13
lefthook-freebsd-arm64: 1.11.13
lefthook-freebsd-x64: 1.11.13
lefthook-linux-arm64: 1.11.13
lefthook-linux-x64: 1.11.13
lefthook-openbsd-arm64: 1.11.13
lefthook-openbsd-x64: 1.11.13
lefthook-windows-arm64: 1.11.13
lefthook-windows-x64: 1.11.13
levn@0.4.1:
dependencies:
prelude-ls: 1.2.1

2
pnpm-workspace.yaml Normal file
View file

@ -0,0 +1,2 @@
onlyBuiltDependencies:
- lefthook