From 573711f0a8feedeab28d9de602fb14314c0bb16e Mon Sep 17 00:00:00 2001 From: canisminor1990 Date: Sat, 23 Nov 2024 02:19:45 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Fix=20husky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/commit-msg | 1 - .husky/pre-commit | 1 - package.json | 2 +- src/slots/Footer/columns.tsx | 4 ++-- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index c160a77..7878d79 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,3 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" npx --no -- commitlint --edit ${1} diff --git a/.husky/pre-commit b/.husky/pre-commit index cf0c46b..7e617c2 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,3 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" npx --no-install lint-staged diff --git a/package.json b/package.json index 28896a6..9c94fd9 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "lint:md": "remark . --quiet --frail --output", "lint:style": "stylelint \"{src,example}/**/*.{js,jsx,ts,tsx}\" --fix", "prepack": "npm run build && clean-pkg-json", - "prepare": "husky install && father link-dev-theme", + "prepare": "husky && father link-dev-theme", "prepublishOnly": "npm run build", "prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"", "release": "semantic-release", diff --git a/src/slots/Footer/columns.tsx b/src/slots/Footer/columns.tsx index 5686c0b..3ee258b 100644 --- a/src/slots/Footer/columns.tsx +++ b/src/slots/Footer/columns.tsx @@ -28,7 +28,7 @@ export const getColumns = ({ github }: GetColumnParameters) => { url: 'https://github.com/lobehub/lobe-charts', }, { - description: 'TTS/STT Library', + description: 'TTS / STT Library', openExternal: true, title: 'Lobe TTS', url: 'https://github.com/lobehub/lobe-tts', @@ -75,7 +75,7 @@ export const getColumns = ({ github }: GetColumnParameters) => { const more: FooterColumn = { items: [ { - description: 'AI/LLM Chat Framework', + description: 'AI / LLM Chat Framework', openExternal: true, title: '🤯 Lobe Chat', url: 'https://github.com/lobehub/lobe-chat',