Skip to content

Commit 120c555

Browse files
committed
chore: less yarn more pnpm
1 parent 72f8607 commit 120c555

File tree

15 files changed

+34
-36
lines changed

15 files changed

+34
-36
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,19 @@
55
Install dependencies:
66

77
```
8-
yarn install
9-
cd tests/demo && yarn install
10-
cd ../ssr && yarn install
8+
pnpm install
119
```
1210

13-
Link the library to test it in your project:
14-
15-
```
16-
yarn link
17-
```
11+
Go to a package in `packages`.
1812

1913
Build the library with watching:
2014

2115
```
22-
yarn dev
16+
pnpm run dev
2317
```
2418

2519
Run tests:
2620

2721
```
28-
yarn test
22+
pnpm run test
2923
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": "pnpm run -r --filter \"vue-apollo*\" --filter \"@vue/apollo*\" build",
77
"test": "pnpm run -r test",
88
"lint": "eslint . --ext js,vue,ts",
9-
"release": "yarn run build && yarn run test && sheep release -b v4"
9+
"release": "pnpm run build && pnpm run test && sheep release -b v4"
1010
},
1111
"devDependencies": {
1212
"@akryum/sheep": "^0.3.3",

packages/test-e2e-composable-vue3/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
## Project setup
44
```
5-
yarn install
5+
pnpm install
66
```
77

88
### Compiles and hot-reloads for development
99
```
10-
yarn serve
10+
pnpm run serve
1111
```
1212

1313
### Compiles and minifies for production
1414
```
15-
yarn build
15+
pnpm run build
1616
```
1717

1818
### Run your end-to-end tests
1919
```
20-
yarn test:e2e
20+
pnpm run test:e2e
2121
```
2222

2323
### Customize configuration

packages/test-e2e-composable-vue3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"serve": "vue-cli-service serve",
77
"build": "vue-cli-service build",
8-
"test": "yarn run test:e2e && kill-port 4042",
8+
"test": "pnpm run test:e2e && kill-port 4042",
99
"test:e2e": "start-server-and-test api http://localhost:4042/.well-known/apollo/server-health test:e2e:client",
1010
"test:e2e:client": "vue-cli-service test:e2e --mode production --headless",
1111
"test:e2e:dev": "start-server-and-test api http://localhost:4042/.well-known/apollo/server-health test:e2e:dev:client",

packages/test-e2e/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Demo app: Vue + Apollo + Graphql + vue-cli 3
66
### Setup project
77

88
```
9-
yarn
9+
pnpm i
1010
```
1111

1212
### Development
1313

1414
```
15-
yarn apollo:run
16-
yarn serve
15+
pnpm run apollo:run
16+
pnpm run serve
1717
```

packages/test-e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"serve": "vue-cli-service serve",
77
"build": "vue-cli-service build",
8-
"test": "yarn run test:e2e && kill-port 4042",
8+
"test": "pnpm run test:e2e && kill-port 4042",
99
"test:e2e": "start-server-and-test api http://localhost:4042/.well-known/apollo/server-health test:e2e:client",
1010
"test:e2e:client": "vue-cli-service test:e2e --mode production --headless",
1111
"test:e2e:dev": "start-server-and-test api http://localhost:4042/.well-known/apollo/server-health test:e2e:dev:client",

packages/vue-apollo-components/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
```bash
2020
npm i @vue/apollo-components
21+
pnpm i @vue/apollo-components
2122
yarn add @vue/apollo-components
2223
```
2324

packages/vue-apollo-components/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"module": "dist/vue-apollo-components.esm.js",
77
"unpkg": "dist/vue-apollo-components.min.js",
88
"scripts": {
9-
"build": "yarn build:browser && yarn build:es && yarn build:umd",
9+
"build": "pnpm run build:browser && pnpm run build:es && pnpm run build:umd",
1010
"build:browser": "rollup --config build/rollup.config.browser.js",
1111
"build:es": "rollup --config build/rollup.config.es.js",
1212
"build:umd": "rollup --config build/rollup.config.umd.js",
13-
"prepublishOnly": "yarn build",
14-
"dev": "nodemon --exec 'yarn build:es && yarn build:umd' --watch src --watch lib"
13+
"prepublishOnly": "pnpm run build",
14+
"dev": "nodemon --exec 'pnpm run build:es && pnpm run build:umd' --watch src --watch lib"
1515
},
1616
"repository": {
1717
"type": "git",

packages/vue-apollo-composable/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
```bash
2020
npm i @vue/apollo-composable
21+
pnpm i @vue/apollo-composable
2122
yarn add @vue/apollo-composable
2223
```
2324

packages/vue-apollo-composable/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
"dist"
3030
],
3131
"scripts": {
32-
"dev": "rimraf dist && nodemon --exec 'yarn build:code' --watch src --ext js,ts",
33-
"build": "rimraf dist && yarn run build:code",
32+
"dev": "rimraf dist && nodemon --exec 'pnpm run build:code' --watch src --ext js,ts",
33+
"build": "rimraf dist && pnpm run build:code",
3434
"build:code": "node esbuild.mjs && tsc -d --emitDeclarationOnly",
35-
"prepublishOnly": "yarn test && yarn build",
36-
"test": "yarn test:types",
35+
"prepublishOnly": "pnpm run test && pnpm run build",
36+
"test": "pnpm run test:types",
3737
"test:types": "tsc -p tests/types/"
3838
},
3939
"dependencies": {

0 commit comments

Comments
 (0)