chore: move husky to sgh
This commit is contained in:
parent
82dbfc2d1f
commit
ddc073fbcc
@ -1 +0,0 @@
|
||||
pnpm exec lint-staged
|
@ -1 +0,0 @@
|
||||
pnpm test
|
@ -14,7 +14,7 @@
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"preview": "vite preview",
|
||||
"preview:coverage": "vite preview --outDir coverage --port 5175",
|
||||
"prepare": "husky install"
|
||||
"prepare": "simple-git-hooks"
|
||||
},
|
||||
"dependencies": {
|
||||
"@chakra-ui/anatomy": "^2.2.2",
|
||||
@ -61,6 +61,7 @@
|
||||
"lint-staged": "^15.2.10",
|
||||
"prettier": "^3.3.3",
|
||||
"rollup": "^4.22.4",
|
||||
"simple-git-hooks": "^2.11.1",
|
||||
"terser": "^5.33.0",
|
||||
"typescript": "^5.6.2",
|
||||
"vite": "^5.4.7",
|
||||
@ -74,6 +75,10 @@
|
||||
"*": "prettier --write --ignore-unknown",
|
||||
"*.{js,jsx,ts,tsx}": "eslint --fix --report-unused-disable-directives --max-warnings 0"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm exec lint-staged",
|
||||
"pre-push": "pnpm test"
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true,
|
||||
"printWidth": 120,
|
||||
|
@ -116,7 +116,7 @@ importers:
|
||||
version: 4.3.1(vite@5.4.7(@types/node@22.6.1)(sass@1.79.3)(terser@5.33.0))
|
||||
'@vitest/coverage-v8':
|
||||
specifier: ^2.1.1
|
||||
version: 2.1.1(vitest@2.1.1(@types/node@22.6.1)(@vitest/ui@2.1.1)(jsdom@25.0.1)(sass@1.79.3)(terser@5.33.0))
|
||||
version: 2.1.1(vitest@2.1.1)
|
||||
'@vitest/ui':
|
||||
specifier: ^2.1.1
|
||||
version: 2.1.1(vitest@2.1.1)
|
||||
@ -147,6 +147,9 @@ importers:
|
||||
rollup:
|
||||
specifier: ^4.22.4
|
||||
version: 4.22.4
|
||||
simple-git-hooks:
|
||||
specifier: ^2.11.1
|
||||
version: 2.11.1
|
||||
terser:
|
||||
specifier: ^5.33.0
|
||||
version: 5.33.0
|
||||
@ -3546,6 +3549,10 @@ packages:
|
||||
resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
|
||||
engines: {node: '>=14'}
|
||||
|
||||
simple-git-hooks@2.11.1:
|
||||
resolution: {integrity: sha512-tgqwPUMDcNDhuf1Xf6KTUsyeqGdgKMhzaH4PAZZuzguOgTl5uuyeYe/8mWgAr6IBxB5V06uqEf6Dy37gIWDtDg==}
|
||||
hasBin: true
|
||||
|
||||
sirv@2.0.4:
|
||||
resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==}
|
||||
engines: {node: '>= 10'}
|
||||
@ -6226,7 +6233,7 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@vitest/coverage-v8@2.1.1(vitest@2.1.1(@types/node@22.6.1)(@vitest/ui@2.1.1)(jsdom@25.0.1)(sass@1.79.3)(terser@5.33.0))':
|
||||
'@vitest/coverage-v8@2.1.1(vitest@2.1.1)':
|
||||
dependencies:
|
||||
'@ampproject/remapping': 2.3.0
|
||||
'@bcoe/v8-coverage': 0.2.3
|
||||
@ -7928,6 +7935,8 @@ snapshots:
|
||||
|
||||
signal-exit@4.1.0: {}
|
||||
|
||||
simple-git-hooks@2.11.1: {}
|
||||
|
||||
sirv@2.0.4:
|
||||
dependencies:
|
||||
'@polka/url': 1.0.0-next.28
|
||||
|
Loading…
Reference in New Issue
Block a user