From 201f90c6ad5480cdec5f01d9a6ed9d769399c8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sat, 4 Jul 2026 13:21:38 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E6=9B=B4=E6=96=B0=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=90=8D=E7=A7=B0=E4=B8=BA=20xinlong-taro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 config/index.ts 中的 projectName 字段 - 更新 package.json 的 name 字段 - 调整 project.config.json 中 description 和 projectname 为新名称 - 修改 README.md 中项目目录名称为 xinlong-taro --- README.md | 2 +- config/index.ts | 2 +- package.json | 2 +- project.config.json | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e2635d5..de34cdb 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ npm run build:[platform] ## 📁 项目结构 ``` -shop-taro/ +xinlong-taro/ ├── config/ # Taro 配置文件 │ ├── index.ts # 主配置 │ ├── dev.ts # 开发配置 diff --git a/config/index.ts b/config/index.ts index feb34aa..0afafc5 100644 --- a/config/index.ts +++ b/config/index.ts @@ -10,7 +10,7 @@ import { getEnvConfig } from './env.js' export default defineConfig<'webpack5'>(async (merge, { mode }) => { const baseConfig: UserConfigExport<'webpack5'> = { // 项目配置 - projectName: 'shop-taro', + projectName: 'xinlong-taro', date: '2026-5-10', designWidth: 750, deviceRatio: { diff --git a/package.json b/package.json index 6a76087..4c23117 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "shop-taro", + "name": "xinlong-taro", "version": "1.0.0", "private": true, "description": "Taro + React + TypeScript 项目框架", diff --git a/project.config.json b/project.config.json index 6d1a06f..f32cf03 100644 --- a/project.config.json +++ b/project.config.json @@ -1,5 +1,5 @@ { - "description": "shop-taro 项目配置", + "description": "xinlong-taro 项目配置", "setting": { "urlCheck": false, "es6": true, @@ -44,7 +44,7 @@ }, "compileType": "miniprogram", "appid": "wx75cbc65759eb981a", - "projectname": "shop-taro", + "projectname": "xinlong-taro", "condition": {}, "simulatorPluginLibVersion": {}, "packOptions": { @@ -52,4 +52,4 @@ "include": [] }, "editorSetting": {} -} \ No newline at end of file +}