Skip to content

Commit 1065ca0

Browse files
committed
构建: 切换到pnpm
1 parent 50fb298 commit 1065ca0

File tree

6 files changed

+5366
-5336
lines changed

6 files changed

+5366
-5336
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99

1010
- name: 安装依赖和构建 🔧
1111
run: |
12-
node --version
13-
yarn install
14-
yarn run docs:build
12+
npm i pnpm -g
13+
pnpm install
14+
pnpm run docs:build
1515
1616
- name: 部署 🚀
1717
uses: JamesIves/[email protected]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# vue3 oop
22

3-
类组件+自动化的依赖注入(可选) = 极致的代码体验
3+
类组件+自动化的依赖注入(可选) = 极致的代码体验 [DEMO](https://stackblitz.com/edit/vite-y7m4fy?file=main.tsx)
44

55
### 前提条件
66

77
需要**reflect-metadata** 的支持
88

99
```shell
10-
yarn add @abraham/reflection injection-js
10+
pnpm add @abraham/reflection injection-js
1111
```
1212

1313
项目入口需要引入 `reflect-metadata`
@@ -31,7 +31,7 @@ import '@abraham/reflection'
3131
### 安装
3232

3333
```shell
34-
yarn add vue3-oop
34+
pnpm add vue3-oop
3535
```
3636

3737
### vite配置

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"rimraf": "^3.0.2",
7777
"sass": "^1.44.0",
7878
"standard-version": "^9.3.2",
79+
"tslib": "^2.3.1",
7980
"typescript": "^4.5.2",
8081
"vite": "^2.6.14",
8182
"vite-plugin-ts": "^1.1.8",

0 commit comments

Comments
 (0)