Skip to content

Commit

Permalink
[optimize] update Upstream packages
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Feb 11, 2024
1 parent 3bc42b8 commit 781a0d3
Show file tree
Hide file tree
Showing 6 changed files with 124 additions and 107 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive

lfs: true
- uses: pnpm/action-setup@v2
with:
version: 8
Expand Down
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm test
4 changes: 0 additions & 4 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm run build
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,17 @@
"*.{html,md,css,less,js,json,yml,yaml}": "prettier --write"
},
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"test": "lint-staged",
"crawl": "hexo migrate web",
"start": "hexo clean && hexo server",
"deploy": "hexo clean && hexo deploy",
"build": "hexo clean && hexo generate"
},
"devDependencies": {
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3"
"husky": "^9.0.10",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5"
},
"prettier": {
"trailingComma": "none",
Expand Down
Loading

0 comments on commit 781a0d3

Please sign in to comment.