chore: add husky; add post-commit auto import to gh & sh

This commit is contained in:
ayo 2026-02-22 19:56:36 +01:00
parent 0007c313b8
commit 12643e30bb
5 changed files with 5501 additions and 8044 deletions

3
.husky/post-commit Normal file
View file

@ -0,0 +1,3 @@
echo "post-commit"
git push gh --mirror
git push sh --mirror

8042
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -7,7 +7,8 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run build --workspaces --if-present", "build": "npm run build --workspaces --if-present",
"preview": "npm run preview -workspaces --if-present" "preview": "npm run preview -workspaces --if-present",
"prepare": "husky"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",
@ -17,5 +18,8 @@
"app-products", "app-products",
"app-shell", "app-shell",
"utils" "utils"
] ],
"devDependencies": {
"husky": "^9.1.7"
}
} }

5486
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load diff

6
pnpm-workspace.yaml Normal file
View file

@ -0,0 +1,6 @@
packages:
- "app-cart"
- "app-heading"
- "app-products"
- "app-shell"
- "utils"