1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-25 06:49:23 +01:00

Uses simple-git-hooks

This commit is contained in:
Amir Raminfar
2023-03-13 09:08:09 -07:00
parent 6f2ef4499b
commit 298e030db0
4 changed files with 12 additions and 5 deletions

1
.husky/.gitignore vendored
View File

@@ -1 +0,0 @@
_

View File

@@ -1,4 +0,0 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"
pnpm lint-staged

View File

@@ -78,6 +78,7 @@
"prettier": "^2.8.4",
"release-it": "^15.8.0",
"sass": "^1.59.2",
"simple-git-hooks": "^2.8.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"unplugin-auto-import": "^0.15.1",
@@ -95,6 +96,9 @@
"prettier --write"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"release-it": {
"github": {
"release": false,

8
pnpm-lock.yaml generated
View File

@@ -48,6 +48,7 @@ specifiers:
release-it: ^15.8.0
sass: ^1.59.2
semver: ^7.3.8
simple-git-hooks: ^2.8.1
splitpanes: ^3.1.5
ts-node: ^10.9.1
typescript: ^4.9.5
@@ -118,6 +119,7 @@ devDependencies:
prettier: 2.8.4
release-it: 15.8.0
sass: 1.59.2
simple-git-hooks: 2.8.1
ts-node: 10.9.1_r2vohjtqb453xa4ljp4dw3sqb4
typescript: 4.9.5
unplugin-auto-import: 0.15.1_@vueuse+core@9.13.0
@@ -4582,6 +4584,12 @@ packages:
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
dev: true
/simple-git-hooks/2.8.1:
resolution: {integrity: sha512-DYpcVR1AGtSfFUNzlBdHrQGPsOhuuEJ/FkmPOOlFysP60AHd3nsEpkGq/QEOdtUyT1Qhk7w9oLmFoMG+75BDog==}
hasBin: true
requiresBuild: true
dev: true
/slash/4.0.0:
resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==}
engines: {node: '>=12'}