chore(config): 更新项目名称为 xinlong-taro
- 修改 config/index.ts 中的 projectName 字段 - 更新 package.json 的 name 字段 - 调整 project.config.json 中 description 和 projectname 为新名称 - 修改 README.md 中项目目录名称为 xinlong-taro
This commit is contained in:
@@ -79,7 +79,7 @@ npm run build:[platform]
|
|||||||
## 📁 项目结构
|
## 📁 项目结构
|
||||||
|
|
||||||
```
|
```
|
||||||
shop-taro/
|
xinlong-taro/
|
||||||
├── config/ # Taro 配置文件
|
├── config/ # Taro 配置文件
|
||||||
│ ├── index.ts # 主配置
|
│ ├── index.ts # 主配置
|
||||||
│ ├── dev.ts # 开发配置
|
│ ├── dev.ts # 开发配置
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import { getEnvConfig } from './env.js'
|
|||||||
export default defineConfig<'webpack5'>(async (merge, { mode }) => {
|
export default defineConfig<'webpack5'>(async (merge, { mode }) => {
|
||||||
const baseConfig: UserConfigExport<'webpack5'> = {
|
const baseConfig: UserConfigExport<'webpack5'> = {
|
||||||
// 项目配置
|
// 项目配置
|
||||||
projectName: 'shop-taro',
|
projectName: 'xinlong-taro',
|
||||||
date: '2026-5-10',
|
date: '2026-5-10',
|
||||||
designWidth: 750,
|
designWidth: 750,
|
||||||
deviceRatio: {
|
deviceRatio: {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "shop-taro",
|
"name": "xinlong-taro",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Taro + React + TypeScript 项目框架",
|
"description": "Taro + React + TypeScript 项目框架",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"description": "shop-taro 项目配置",
|
"description": "xinlong-taro 项目配置",
|
||||||
"setting": {
|
"setting": {
|
||||||
"urlCheck": false,
|
"urlCheck": false,
|
||||||
"es6": true,
|
"es6": true,
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"appid": "wx75cbc65759eb981a",
|
"appid": "wx75cbc65759eb981a",
|
||||||
"projectname": "shop-taro",
|
"projectname": "xinlong-taro",
|
||||||
"condition": {},
|
"condition": {},
|
||||||
"simulatorPluginLibVersion": {},
|
"simulatorPluginLibVersion": {},
|
||||||
"packOptions": {
|
"packOptions": {
|
||||||
@@ -52,4 +52,4 @@
|
|||||||
"include": []
|
"include": []
|
||||||
},
|
},
|
||||||
"editorSetting": {}
|
"editorSetting": {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user