Skip to content

Commit

Permalink
⬆️ chore: update dependency husky to v9 (lobehub#1166)
Browse files Browse the repository at this point in the history
* Update dependency husky to v9

* ⬆️ chore: migrate to husky 9

* 📝 docs: update docs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: arvinxx <[email protected]>
  • Loading branch information
renovate[bot] and arvinxx authored Feb 18, 2024
1 parent 3be8eb1 commit 99c65ca
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run type-check
npx --no-install lint-staged
2 changes: 1 addition & 1 deletion contributing/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img height="120" src="https://gw.alipayobjects.com/zos/kitchen/qJ3l3EPsdW/split.svg">
<img height="120" src="https://registry.npmmirror.com/@lobehub/assets-emoji/1.3.0/files/assets/robot.webp">

<h1>Lobe Chat Wiki</h1>
<h1>Lobe Chat Contributing Wiki</h1>

LobeChat is an open-source, extensible ([Function Calling][fc-url]), high-performance chatbot framework. <br/> It supports one-click free deployment of your private ChatGPT/LLM web application.

Expand Down
2 changes: 1 addition & 1 deletion contributing/_Sidebar.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Lobe Chat Wiki
## Lobe Chat Contributing Wiki

#### 🏠 Home

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"lint:md": "remark . --quiet --frail --output",
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:ts": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"prepare": "husky install",
"prepare": "husky",
"prettier": "prettier -c --write \"**/**\"",
"pull": "git pull",
"release": "semantic-release",
Expand Down Expand Up @@ -172,7 +172,7 @@
"eslint": "^8",
"fake-indexeddb": "^5",
"glob": "^10",
"husky": "^8",
"husky": "^9",
"jsdom": "^24.0.0",
"just-diff": "^6",
"lint-staged": "^15",
Expand Down

0 comments on commit 99c65ca

Please sign in to comment.