From 99c65caf9d23433a70ccb6b7435ab733e30e1082 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 18 Feb 2024 21:55:49 +0800 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20chore:=20update=20dependen?= =?UTF-8?q?cy=20husky=20to=20v9=20(#1166)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- .husky/commit-msg | 3 --- .husky/pre-commit | 3 --- contributing/Home.md | 2 +- contributing/_Sidebar.md | 2 +- package.json | 4 ++-- 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index c160a7712333e..0398b7a8324e8 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no -- commitlint --edit ${1} diff --git a/.husky/pre-commit b/.husky/pre-commit index 8da041a2244a3..b1c7670b7bf08 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,2 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npm run type-check npx --no-install lint-staged diff --git a/contributing/Home.md b/contributing/Home.md index 31677998a1ea7..c551c29618a55 100644 --- a/contributing/Home.md +++ b/contributing/Home.md @@ -4,7 +4,7 @@ -

Lobe Chat Wiki

+

Lobe Chat Contributing Wiki

LobeChat is an open-source, extensible ([Function Calling][fc-url]), high-performance chatbot framework.
It supports one-click free deployment of your private ChatGPT/LLM web application. diff --git a/contributing/_Sidebar.md b/contributing/_Sidebar.md index f5e85db1de5dc..435de075dd122 100644 --- a/contributing/_Sidebar.md +++ b/contributing/_Sidebar.md @@ -1,4 +1,4 @@ -## Lobe Chat Wiki +## Lobe Chat Contributing Wiki #### 🏠 Home diff --git a/package.json b/package.json index 6eb92559248ba..ce1eccaf2f3d2 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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",