From 2e98f7cebe2d056ff96d5d9b5f085c56c6e91151 Mon Sep 17 00:00:00 2001 From: Burt Date: Sun, 10 Nov 2024 22:14:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=E7=BB=9F=E4=B8=80=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20feige996?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 22 +++++++++++----------- package.json | 14 +++++++------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 1e69331..e97443e 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,23 @@

- +

- unibest - 最好的 uniapp 开发框架 + unibest - 最好的 uniapp 开发框架

-[![GitHub Repo stars](https://img.shields.io/github/stars/codercup/unibest?style=flat&logo=github)](https://github.com/codercup/unibest) -[![GitHub forks](https://img.shields.io/github/forks/codercup/unibest?style=flat&logo=github)](https://github.com/codercup/unibest) -[![star](https://gitee.com/codercup/unibest/badge/star.svg?theme=dark)](https://gitee.com/codercup/unibest/stargazers) -[![fork](https://gitee.com/codercup/unibest/badge/fork.svg?theme=dark)](https://gitee.com/codercup/unibest/members) +[![GitHub Repo stars](https://img.shields.io/github/stars/feige996/unibest?style=flat&logo=github)](https://github.com/feige996/unibest) +[![GitHub forks](https://img.shields.io/github/forks/feige996/unibest?style=flat&logo=github)](https://github.com/feige996/unibest) +[![star](https://gitee.com/feige996/unibest/badge/star.svg?theme=dark)](https://gitee.com/feige996/unibest/stargazers) +[![fork](https://gitee.com/feige996/unibest/badge/fork.svg?theme=dark)](https://gitee.com/feige996/unibest/members) ![node version](https://img.shields.io/badge/node-%3E%3D18-green) ![pnpm version](https://img.shields.io/badge/pnpm-%3E%3D7.30-green) -![GitHub package.json version (subfolder of monorepo)](https://img.shields.io/github/package-json/v/codercup/unibest) -![GitHub License](https://img.shields.io/github/license/codercup/unibest) +![GitHub package.json version (subfolder of monorepo)](https://img.shields.io/github/package-json/v/feige996/unibest) +![GitHub License](https://img.shields.io/github/license/feige996/unibest)
@@ -28,14 +28,14 @@ ![](https://raw.githubusercontent.com/andreasbm/readme/master/screenshots/lines/rainbow.png)

- 📖 文档地址 + 📖 文档地址 | - 📱 DEMO 地址 + 📱 DEMO 地址

--- -注意旧的地址 [codercup](https://github.com/codercup/unibest) 我进不去了,使用新的 [codercup2](https://github.com/codercup2/unibest)。PR和 issue 也请使用新地址,否则无法合并。 +注意旧的地址 [feige996](https://github.com/feige996/unibest) 我进不去了,使用新的 [feige996](https://github.com/feige996/unibest)。PR和 issue 也请使用新地址,否则无法合并。 ## ⚙️ 环境 diff --git a/package.json b/package.json index 7d8b8da..b39ed60 100644 --- a/package.json +++ b/package.json @@ -4,19 +4,19 @@ "version": "2.4.3", "description": "unibest - 最好的 uniapp 开发模板", "author": { - "name": "codercup", + "name": "feige996", "zhName": "菲鸽", "email": "1020103647@qq.com", - "github": "https://github.com/codercup", - "gitee": "https://gitee.com/codercup" + "github": "https://github.com/feige996", + "gitee": "https://gitee.com/feige996" }, "license": "MIT", - "repository": "https://github.com/codercup/unibest", - "repository-gitee": "https://gitee.com/codercup/unibest", + "repository": "https://github.com/feige996/unibest", + "repository-gitee": "https://gitee.com/feige996/unibest", "bugs": { - "url": "https://github.com/codercup/unibest/issues" + "url": "https://github.com/feige996/unibest/issues" }, - "homepage": "https://codercup.github.io/unibest/", + "homepage": "https://feige996.github.io/unibest/", "engines": { "node": ">=18", "pnpm": ">=7.30" From 9d7fcd4d917f06c5123242c62338b55c1d061833 Mon Sep 17 00:00:00 2001 From: Burt Date: Sun, 10 Nov 2024 22:31:37 +0800 Subject: [PATCH 2/2] feat: readme --- .husky/commit-msg | 10 +++++++++- .husky/pre-commit | 8 ++++++++ README.md | 8 ++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 7241764..db13bbb 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,12 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npx --no-install commitlint --edit +# Load nvm +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm + +# Use the correct Node.js version +nvm use v20.15.1 + +# Run the commit-msg hook +npx --no-install commitlint --edit diff --git a/.husky/pre-commit b/.husky/pre-commit index fc7c89d..03adbc9 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,12 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" +# Load nvm +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm + +# Use the correct Node.js version +nvm use v20.15.1 + +# Run the pre-commit hook npx --no-install -- lint-staged diff --git a/README.md b/README.md index e97443e..8d7dd36 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,14 @@ unibest - 最好的 uniapp 开发框架 +
+旧仓库 codercup 进不去了,star 也拿不回来,这里也展示一下那个地址的 star. + +[![GitHub Repo stars](https://img.shields.io/github/stars/codercup/unibest?style=flat&logo=github)](https://github.com/codercup/unibest) +[![GitHub forks](https://img.shields.io/github/forks/codercup/unibest?style=flat&logo=github)](https://github.com/codercup/unibest) + +
+
[![GitHub Repo stars](https://img.shields.io/github/stars/feige996/unibest?style=flat&logo=github)](https://github.com/feige996/unibest)