refactor: 重命名 customer-mobile 为 cashier-customer
统一收银相关项目命名: - cashier-mobile: 收银端(店员使用) - cashier-customer: 顾客端(顾客使用) 更新所有相关配置和引用
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
**rui-frontend** 是睿核科技的前端工程集合,包含:
|
**rui-frontend** 是睿核科技的前端工程集合,包含:
|
||||||
- `admin-ui` - 管理后台(Vue3 + TypeScript + Vite)
|
- `admin-ui` - 管理后台(Vue3 + TypeScript + Vite)
|
||||||
- `cashier-mobile` - 收银移动端(技术栈待定,可能是 uni-app、React Native 等)
|
- `cashier-mobile` - 收银移动端(技术栈待定,可能是 uni-app、React Native 等)
|
||||||
- `customer-mobile` - 顾客移动端(技术栈待定,可能是 uni-app、React Native 等)
|
- `cashier-customer` - 顾客移动端(技术栈待定,可能是 uni-app、React Native 等)
|
||||||
|
|
||||||
## 🚫 绝对禁止
|
## 🚫 绝对禁止
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
rui-frontend/
|
rui-frontend/
|
||||||
├── admin-ui/ ✅ 可修改(Vue3 管理后台)
|
├── admin-ui/ ✅ 可修改(Vue3 管理后台)
|
||||||
├── cashier-mobile/ ✅ 可修改(收银移动端)
|
├── cashier-mobile/ ✅ 可修改(收银移动端)
|
||||||
├── customer-mobile/ ✅ 可修改(顾客移动端)
|
├── cashier-customer/ ✅ 可修改(顾客移动端)
|
||||||
├── package.json ✅ 可修改(根配置)
|
├── package.json ✅ 可修改(根配置)
|
||||||
└── pnpm-workspace.yaml ✅ 可修改
|
└── pnpm-workspace.yaml ✅ 可修改
|
||||||
```
|
```
|
||||||
@@ -69,7 +69,7 @@ interface UserDTO {
|
|||||||
- **包管理器**:pnpm(强制使用)
|
- **包管理器**:pnpm(强制使用)
|
||||||
- **组件规范**:组合式 API(setup 语法)
|
- **组件规范**:组合式 API(setup 语法)
|
||||||
|
|
||||||
### cashier-mobile / customer-mobile(移动端)
|
### cashier-mobile / cashier-customer(移动端)
|
||||||
- **框架**:uni-app(Vue3)
|
- **框架**:uni-app(Vue3)
|
||||||
- **支持平台**:小程序、H5、App
|
- **支持平台**:小程序、H5、App
|
||||||
- **包管理器**:pnpm(推荐)或 npm
|
- **包管理器**:pnpm(推荐)或 npm
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "顾客端",
|
"name": "收银顾客端",
|
||||||
"appid": "__UNI__CUSTOMER001",
|
"appid": "__UNI__CUSTOMER001",
|
||||||
"description": "睿核科技顾客端移动端",
|
"description": "睿核科技顾客端移动端",
|
||||||
"versionName": "1.0.0",
|
"versionName": "1.0.0",
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "customer-mobile",
|
"name": "cashier-customer",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "顾客端移动端 - uni-app",
|
"description": "顾客端移动端 - uni-app",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
+2
-2
@@ -7,10 +7,10 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev:admin": "pnpm --filter admin-ui dev",
|
"dev:admin": "pnpm --filter admin-ui dev",
|
||||||
"dev:cashier": "pnpm --filter cashier-mobile dev",
|
"dev:cashier": "pnpm --filter cashier-mobile dev",
|
||||||
"dev:customer": "pnpm --filter customer-mobile dev",
|
"dev:cashier-customer": "pnpm --filter cashier-customer dev",
|
||||||
"build:admin": "pnpm --filter admin-ui build",
|
"build:admin": "pnpm --filter admin-ui build",
|
||||||
"build:cashier": "pnpm --filter cashier-mobile build",
|
"build:cashier": "pnpm --filter cashier-mobile build",
|
||||||
"build:customer": "pnpm --filter customer-mobile build",
|
"build:cashier-customer": "pnpm --filter cashier-customer build",
|
||||||
"build:all": "pnpm -r build",
|
"build:all": "pnpm -r build",
|
||||||
"lint": "pnpm -r lint",
|
"lint": "pnpm -r lint",
|
||||||
"type-check": "pnpm -r type-check"
|
"type-check": "pnpm -r type-check"
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
packages:
|
packages:
|
||||||
- 'admin-ui'
|
- 'admin-ui'
|
||||||
- 'cashier-mobile'
|
- 'cashier-mobile'
|
||||||
- 'customer-mobile'
|
- 'cashier-customer'
|
||||||
|
|||||||
Reference in New Issue
Block a user