Skip to content

Commit d7a28a8

Browse files
committed
chore: switch to pnpm
1 parent dad6993 commit d7a28a8

File tree

6 files changed

+3929
-3663
lines changed

6 files changed

+3929
-3663
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
ci:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- run: corepack enable
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: 16
20+
cache: "pnpm"
21+
- run: pnpm install
22+
- run: pnpm lint
23+
- run: pnpm build
24+
- run: pnpm vitest --coverage
25+
- uses: codecov/codecov-action@v3

.github/workflows/test.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
[![Dependencies][david-dm-src]][david-dm-href]
77
<!-- [![Codecov][codecov-src]][codecov-href] -->
88

9-
SSR Bundle Renderer for Vue 3.
9+
SSR Bundle Renderer for [Vue 3](https://vuejs.org/).
1010

1111
## Install
1212

1313
```sh
1414
yarn add vue-bundle-renderer
1515

1616
npm install vue-bundle-renderer
17+
18+
pnpm add vue-bundle-renderer
1719
```
1820

1921
## Usage

package.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,24 @@
2323
],
2424
"scripts": {
2525
"build": "unbuild",
26+
"dev": "vitest",
2627
"lint": "eslint --ext .ts src",
27-
"release": "yarn test && yarn build && standard-version && git push --follow-tags && npm publish",
28-
"test": "yarn lint && yarn test:unit",
29-
"test:unit": "vitest"
28+
"release": "pnpm test && pnpm build && standard-version && git push --follow-tags && pnpm publish",
29+
"test": "pnpm lint && pnpm vitest run --coverage"
3030
},
3131
"dependencies": {
3232
"ufo": "^0.8.3"
3333
},
3434
"devDependencies": {
3535
"@nuxtjs/eslint-config-typescript": "latest",
36-
"@rollup/plugin-typescript": "latest",
37-
"@vue/server-renderer": "latest",
36+
"c8": "^7.12.0",
3837
"eslint": "latest",
39-
"rollup": "latest",
40-
"rollup-plugin-babel": "latest",
41-
"rollup-plugin-node-resolve": "latest",
4238
"standard-version": "latest",
4339
"typescript": "latest",
4440
"unbuild": "latest",
4541
"vite": "^3.0.3",
46-
"vitest": "0.19.1"
47-
}
42+
"vitest": "0.19.1",
43+
"vue": "3"
44+
},
45+
"packageManager": "[email protected]"
4846
}

0 commit comments

Comments
 (0)