chore: add husky; add post-commit auto import to gh & sh
This commit is contained in:
parent
0007c313b8
commit
12643e30bb
5 changed files with 5501 additions and 8044 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
|
||||
8042
package-lock.json
generated
8042
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -7,7 +7,8 @@
|
|||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "npm run build --workspaces --if-present",
|
||||
"preview": "npm run preview -workspaces --if-present"
|
||||
"preview": "npm run preview -workspaces --if-present",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
|
@ -17,5 +18,8 @@
|
|||
"app-products",
|
||||
"app-shell",
|
||||
"utils"
|
||||
]
|
||||
],
|
||||
"devDependencies": {
|
||||
"husky": "^9.1.7"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
5486
pnpm-lock.yaml
Normal file
5486
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
6
pnpm-workspace.yaml
Normal file
6
pnpm-workspace.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
packages:
|
||||
- "app-cart"
|
||||
- "app-heading"
|
||||
- "app-products"
|
||||
- "app-shell"
|
||||
- "utils"
|
||||
Loading…
Reference in a new issue