Skip to content

Commit 5b9820b

Browse files
committed
chore: replace yarn with pnpm
1 parent 8372b58 commit 5b9820b

File tree

5 files changed

+7097
-5655
lines changed

5 files changed

+7097
-5655
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,19 @@ jobs:
1313
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/v') && github.repository_owner == 'vuetifyjs'
1414
steps:
1515
- uses: actions/checkout@v2
16-
- run: yarn --frozen-lockfile --non-interactive
17-
- run: yarn build:one
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version-file: .nvmrc
19+
- uses: pnpm/action-setup@v4
20+
- run: pnpm i --frozen-lockfile
21+
- run: pnpm build:one
1822
env:
1923
VITE_API_SERVER_URL: https://api.vuetifyjs.com
2024
- run: npm config set //registry.npmjs.org/:_authToken ${NPM_API_KEY:?}
2125
env:
2226
NPM_API_KEY: ${{ secrets.NPM_TOKEN }}
2327
- run: npm publish
2428
- name: GitHub release
25-
run: yarn conventional-github-releaser -p vuetify
29+
run: pnpm conventional-github-releaser -p vuetify
2630
env:
2731
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.8.0

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@
2323
"scripts": {
2424
"dev": "vite",
2525
"build": "vite build",
26-
"build:one": "vite build --config vite.build.config.ts && yarn build:types",
26+
"build:one": "vite build --config vite.build.config.ts && pnpm build:types",
2727
"build:dev": "vite build --mode development --config vite.build.config.ts ",
2828
"build:types": "rimraf types-temp && vue-tsc --pretty -p tsconfig.json && rollup --config rollup.types.config.js && rimraf types-temp",
29-
"release": "yarn build:dev && yarn version && git push --follow-tags",
30-
"watch": "yarn build:dev --watch",
29+
"release": "pnpm build:dev && pnpm version && git push --follow-tags",
30+
"watch": "pnpm build:dev --watch",
3131
"preview": "vite preview",
3232
"lint": "eslint . --ext .ts,.vue --fix --ignore-path .gitignore",
3333
"test": "vitest",
3434
"coverage": "vitest run --coverage",
35-
"prepublishOnly": "yarn build:one",
35+
"prepublishOnly": "pnpm build:one",
3636
"postversion": "git push --follow-tags"
3737
},
3838
"peerDependencies": {
@@ -86,5 +86,6 @@
8686
"vue-router": "^4.4.0",
8787
"vue-tsc": "^2.0.26",
8888
"vuetify": "^3.6.11"
89-
}
89+
},
90+
"packageManager": "[email protected]"
9091
}

0 commit comments

Comments
 (0)