chore: add auto mirror on post-commit hook
This commit is contained in:
parent
6dbc9a0257
commit
1e2734dc3a
4 changed files with 899 additions and 677 deletions
3
.husky/post-commit
Normal file
3
.husky/post-commit
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
echo "post-commit..."
|
||||
git push gh --mirror
|
||||
git push sh --mirror
|
||||
|
|
@ -1 +1,2 @@
|
|||
npx lint-staged
|
||||
echo "pre-commit..."
|
||||
npx lint-staged
|
||||
|
|
|
|||
22
package.json
22
package.json
|
|
@ -25,21 +25,21 @@
|
|||
"@astro-reactive/validator": "^0.5.1",
|
||||
"@astrojs/sitemap": "^3.7.0",
|
||||
"@ayco/astro-sw": "^0.8.14",
|
||||
"@eslint/compat": "^2.0.1",
|
||||
"@eslint/js": "^9.39.2",
|
||||
"@eslint/compat": "^2.0.2",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@iconify-json/mdi": "^1.2.3",
|
||||
"@iconify-json/simple-icons": "^1.2.67",
|
||||
"@iconify-json/tabler": "^1.2.26",
|
||||
"@typescript-eslint/parser": "^8.53.1",
|
||||
"astro": "^5.16.15",
|
||||
"astro-eslint-parser": "^1.2.2",
|
||||
"@iconify-json/simple-icons": "^1.2.71",
|
||||
"@iconify-json/tabler": "^1.2.27",
|
||||
"@typescript-eslint/parser": "^8.56.0",
|
||||
"astro": "^5.17.3",
|
||||
"astro-eslint-parser": "^1.3.0",
|
||||
"astro-github-stats": "^0.8.0",
|
||||
"astro-icon": "^1.1.5",
|
||||
"consola": "^3.4.2",
|
||||
"eslint": "^9.39.2",
|
||||
"eslint-plugin-astro": "^1.5.0",
|
||||
"eslint": "^10.0.1",
|
||||
"eslint-plugin-astro": "^1.6.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||
"globals": "^17.1.0",
|
||||
"globals": "^17.3.0",
|
||||
"husky": "^9.1.7",
|
||||
"jiti": "^2.6.1",
|
||||
"lint-staged": "^16.2.7",
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
"remark-rehype": "^11.1.2",
|
||||
"tslib": "^2.8.1",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript-eslint": "^8.53.1",
|
||||
"typescript-eslint": "^8.56.0",
|
||||
"unified": "^11.0.5"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
|
|
|||
1548
pnpm-lock.yaml
1548
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue