Skip to content

Commit e2323a8

Browse files
committed
chore: 更换打包工具为 pnpm
1 parent 353cd09 commit e2323a8

5 files changed

Lines changed: 1151 additions & 2264 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313

1414
- name: Install and Build
1515
run: |
16-
npm install
17-
npm run build
16+
pnpm install
17+
pnpm build
1818
1919
- name: Deploy
2020
uses: JamesIves/github-pages-deploy-action@v4

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ UI 风格参考 VSCode。
5353
- **框架**:Vue 3
5454
- **状态管理**:Pinia
5555
- **语言**:TypeScript
56-
- **图标库**:Lucide Vue
5756
- **构建工具**:Vite
5857

5958
---
@@ -62,18 +61,23 @@ UI 风格参考 VSCode。
6261

6362
### 安装与运行
6463

64+
本项目使用 pnpm 作为包管理器,在运行项目前,请确保你已安装 pnpm
65+
6566
```bash
67+
# 如果没有安装 pnpm,可通过 npm 全局安装
68+
npm install -g pnpm
69+
6670
# 安装依赖
67-
npm install
71+
pnpm install
6872

6973
# 启动开发服务器
70-
npm run dev
74+
pnpm dev
7175

7276
# 构建生产版本
73-
npm run build
77+
pnpm build
7478

7579
# 构建单文件版本(所有资源内联)
76-
npm run build:single
80+
pnpm build:single
7781
```
7882

7983
---

0 commit comments

Comments
 (0)