From 9bc0dfcc06ca18b9bee19e7637e5b05e768f64ba Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 22 Feb 2026 15:13:09 +0100 Subject: [PATCH] chore: add husky; add post-commit to auto mirror --- .husky/post-commit | 3 +++ .husky/pre-commit | 1 - pnpm-lock.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .husky/post-commit delete mode 100644 .husky/pre-commit diff --git a/.husky/post-commit b/.husky/post-commit new file mode 100644 index 0000000..013cec7 --- /dev/null +++ b/.husky/post-commit @@ -0,0 +1,3 @@ +echo "post-commit..." +git push gh --mirror +git push sh --mirror diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 0ad376d..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1 +0,0 @@ -npm run check diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6ff9eba..0132f84 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1789,6 +1789,7 @@ packages: glob@11.0.1: resolution: {integrity: sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==} engines: {node: 20 || >=22} + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me hasBin: true globals@14.0.0: