Skip to content

Commit 781a0d3

Browse files
committed
[optimize] update Upstream packages
1 parent 3bc42b8 commit 781a0d3

File tree

6 files changed

+124
-107
lines changed

6 files changed

+124
-107
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v3
1111
with:
1212
submodules: recursive
13-
13+
lfs: true
1414
- uses: pnpm/action-setup@v2
1515
with:
1616
version: 8

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
#!/bin/sh
2-
3-
. "$(dirname "$0")/_/husky.sh"
4-
51
npm test

.husky/pre-push

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
#!/bin/sh
2-
3-
. "$(dirname "$0")/_/husky.sh"
4-
51
npm run build

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,17 @@
3737
"*.{html,md,css,less,js,json,yml,yaml}": "prettier --write"
3838
},
3939
"scripts": {
40-
"prepare": "husky install",
40+
"prepare": "husky",
4141
"test": "lint-staged",
42+
"crawl": "hexo migrate web",
4243
"start": "hexo clean && hexo server",
4344
"deploy": "hexo clean && hexo deploy",
4445
"build": "hexo clean && hexo generate"
4546
},
4647
"devDependencies": {
47-
"husky": "^8.0.3",
48-
"lint-staged": "^14.0.1",
49-
"prettier": "^3.0.3"
48+
"husky": "^9.0.10",
49+
"lint-staged": "^15.2.2",
50+
"prettier": "^3.2.5"
5051
},
5152
"prettier": {
5253
"trailingComma": "none",

0 commit comments

Comments
 (0)