Skip to content

Commit

Permalink
chore: replace yarn with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Sep 16, 2024
1 parent 8372b58 commit 5b9820b
Show file tree
Hide file tree
Showing 5 changed files with 7,097 additions and 5,655 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@ jobs:
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/v') && github.repository_owner == 'vuetifyjs'
steps:
- uses: actions/checkout@v2
- run: yarn --frozen-lockfile --non-interactive
- run: yarn build:one
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- uses: pnpm/action-setup@v4
- run: pnpm i --frozen-lockfile
- run: pnpm build:one
env:
VITE_API_SERVER_URL: https://api.vuetifyjs.com
- run: npm config set //registry.npmjs.org/:_authToken ${NPM_API_KEY:?}
env:
NPM_API_KEY: ${{ secrets.NPM_TOKEN }}
- run: npm publish
- name: GitHub release
run: yarn conventional-github-releaser -p vuetify
run: pnpm conventional-github-releaser -p vuetify
env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22.8.0
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"build:one": "vite build --config vite.build.config.ts && yarn build:types",
"build:one": "vite build --config vite.build.config.ts && pnpm build:types",
"build:dev": "vite build --mode development --config vite.build.config.ts ",
"build:types": "rimraf types-temp && vue-tsc --pretty -p tsconfig.json && rollup --config rollup.types.config.js && rimraf types-temp",
"release": "yarn build:dev && yarn version && git push --follow-tags",
"watch": "yarn build:dev --watch",
"release": "pnpm build:dev && pnpm version && git push --follow-tags",
"watch": "pnpm build:dev --watch",
"preview": "vite preview",
"lint": "eslint . --ext .ts,.vue --fix --ignore-path .gitignore",
"test": "vitest",
"coverage": "vitest run --coverage",
"prepublishOnly": "yarn build:one",
"prepublishOnly": "pnpm build:one",
"postversion": "git push --follow-tags"
},
"peerDependencies": {
Expand Down Expand Up @@ -86,5 +86,6 @@
"vue-router": "^4.4.0",
"vue-tsc": "^2.0.26",
"vuetify": "^3.6.11"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 5b9820b

Please sign in to comment.