Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit bcf90b6

Browse files
sxzzantfu
andauthored
chore: upgrade to pnpm 7 (#140)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
1 parent abc05ed commit bcf90b6

File tree

4 files changed

+2237
-7826
lines changed

4 files changed

+2237
-7826
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
- uses: actions/checkout@v2
2626

2727
- name: Install pnpm
28-
uses: pnpm/action-setup@v2.0.1
29-
with:
30-
version: 6.23.5
28+
uses: pnpm/action-setup@v2
3129

3230
- name: Set node version to ${{ matrix.node }}
3331
uses: actions/setup-node@v2

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
shamefully-hoist=true
22
ignore-workspace-root-check=true
3+
strict-peer-dependencies=false

package.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
{
22
"name": "unplugin-vue2-script-setup",
33
"version": "0.10.2",
4+
"packageManager": "pnpm@7.1.5",
45
"description": "Bring <script setup> to Vue 2",
56
"keywords": [],
67
"homepage": "https://github.com/antfu/unplugin-vue2-script-setup#readme",
78
"bugs": {
89
"url": "https://github.com/antfu/unplugin-vue2-script-setup/issues"
910
},
11+
"license": "MIT",
1012
"repository": {
1113
"type": "git",
1214
"url": "git+https://github.com/antfu/unplugin-vue2-script-setup.git"
1315
},
1416
"funding": "https://github.com/sponsors/antfu",
15-
"license": "MIT",
1617
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
18+
"files": [
19+
"dist",
20+
"jest.js",
21+
"*.d.ts"
22+
],
1723
"exports": {
1824
".": {
1925
"require": "./dist/index.js",
@@ -53,11 +59,6 @@
5359
},
5460
"main": "dist/index.js",
5561
"types": "index.d.ts",
56-
"files": [
57-
"dist",
58-
"jest.js",
59-
"*.d.ts"
60-
],
6162
"scripts": {
6263
"build": "rimraf dist && rollup -c",
6364
"dev": "rollup -c --watch",
@@ -70,6 +71,16 @@
7071
"test": "vitest",
7172
"test:update": "vitest -u"
7273
},
74+
"peerDependencies": {
75+
"@vue/composition-api": "^1.4.3",
76+
"@vue/runtime-dom": "^3.2.31",
77+
"pug": "^3.0.2"
78+
},
79+
"peerDependenciesMeta": {
80+
"pug": {
81+
"optional": true
82+
}
83+
},
7384
"dependencies": {
7485
"@antfu/utils": "^0.5.0",
7586
"@babel/core": "^7.17.5",
@@ -112,16 +123,6 @@
112123
"vite": "^2.8.4",
113124
"vitest": "0.5.4"
114125
},
115-
"peerDependencies": {
116-
"@vue/composition-api": "^1.4.3",
117-
"@vue/runtime-dom": "^3.2.31",
118-
"pug": "^3.0.2"
119-
},
120-
"peerDependenciesMeta": {
121-
"pug": {
122-
"optional": true
123-
}
124-
},
125126
"pnpm": {
126127
"overrides": {
127128
"unplugin-vue2-script-setup": "workspace:*"

0 commit comments

Comments
 (0)