From 90f9ad9a5d6bb122918c3fb7e606cda9fed994c9 Mon Sep 17 00:00:00 2001 From: zhuhjay Date: Sun, 2 Nov 2025 18:14:49 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E6=9B=B4=E6=96=B0=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E8=84=9A=E6=9C=AC=E5=92=8C=E6=96=87=E6=A1=A3=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新 README 中的快速开始指南,使用 ql repo 命令替代手动克隆步骤 - 移除旧的环境配置说明 - 添加新的订阅方式说明 --- README.md | 16 ++-------------- ...nv_enhance.js => scrip_moving_env_enhance.js} | 0 package.json | 2 +- xiequ/{switch.js => scrip_switch.js} | 0 4 files changed, 3 insertions(+), 15 deletions(-) rename jd/{moving_env_enhance.js => scrip_moving_env_enhance.js} (100%) rename xiequ/{switch.js => scrip_switch.js} (100%) diff --git a/README.md b/README.md index 1749e66..da847d4 100644 --- a/README.md +++ b/README.md @@ -22,21 +22,9 @@ ### 快速开始 -1. 克隆仓库 +1. 订阅 ```bash -git clone https://github.com/your-username/ql-scripts.git -cd ql-scripts -``` - -2. 安装依赖 -```bash -npm install -``` - -3. 配置环境变量 -```bash -cp .env.local .env -# 编辑 .env 文件,填入必要的配置信息 +ql repo https://gitea.zhuhjay.cn/zhuhjay/ql-scripts.git "scrip_" "" "sendNotify|common" "js" ``` ## 脚本说明 diff --git a/jd/moving_env_enhance.js b/jd/scrip_moving_env_enhance.js similarity index 100% rename from jd/moving_env_enhance.js rename to jd/scrip_moving_env_enhance.js diff --git a/package.json b/package.json index 6e3e31e..8461d60 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "start": "node index.js", - "dev": "npx env-cmd -f .env.local node xiequ/switch.js", + "dev": "npx env-cmd -f .env.local node xiequ/scrip_switch.js", "test": "jest", "lint": "eslint .", "lint:fix": "eslint . --fix", diff --git a/xiequ/switch.js b/xiequ/scrip_switch.js similarity index 100% rename from xiequ/switch.js rename to xiequ/scrip_switch.js