yeet husky (#259)

This commit is contained in:
Ven 2022-11-20 21:05:40 +01:00 committed by GitHub
parent fbeffdb166
commit bea251634c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 14 deletions

View file

@ -1,5 +1,5 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"
set -e
npm run format
git add -A

1
.husky/.gitignore vendored
View file

@ -1 +0,0 @@
_

View file

@ -12,9 +12,7 @@
"packageQuick": "npm run build && electron-builder --dir",
"format": "prettier --write src/**/*",
"CIbuild": "npm run build && electron-builder --linux zip && electron-builder --windows zip && electron-builder --macos zip",
"postinstall": "husky install",
"precommit-fix": "husky uninstall && echo - && echo !Make sure to run 'npm run format' before commiting! | chalk --stdin yellow inverse && echo -",
"precommit-fix:format": "husky uninstall && npm run format"
"prepare": "git config --local core.hooksPath .hooks/"
},
"repository": {
"type": "git",
@ -33,7 +31,6 @@
"copyfiles": "^2.4.1",
"electron": "^21.3.0",
"electron-builder": "^23.6.0",
"husky": "^8.0.2",
"prettier": "^2.7.1",
"typescript": "^4.9.3"
},

View file

@ -12,7 +12,6 @@ specifiers:
electron-builder: ^23.6.0
electron-context-menu: github:ArmCord/electron-context-menu
extract-zip: ^2.0.1
husky: ^8.0.2
prettier: ^2.7.1
typescript: ^4.9.3
v8-compile-cache: ^2.3.0
@ -34,7 +33,6 @@ devDependencies:
copyfiles: 2.4.1
electron: 21.3.0
electron-builder: 23.6.0
husky: 8.0.2
prettier: 2.7.1
typescript: 4.9.3
@ -1218,12 +1216,6 @@ packages:
- supports-color
dev: true
/husky/8.0.2:
resolution: {integrity: sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==}
engines: {node: '>=14'}
hasBin: true
dev: true
/iconv-corefoundation/1.1.7:
resolution: {integrity: sha512-T10qvkw0zz4wnm560lOEg0PovVqUXuOFhhHAkixw8/sycy7TJt7v/RrkEKEQnAw2viPSJu6iAkErxnzR0g8PpQ==}
engines: {node: ^8.11.2 || >=10}