Skip to content

Commit

Permalink
chore: switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 23, 2022
1 parent deae350 commit 582e74f
Show file tree
Hide file tree
Showing 7 changed files with 6,979 additions and 6,596 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"
- run: yarn install
- run: yarn dev:prepare
- run: yarn lint
- run: yarn build
- run: yarn dev:build
cache: "pnpm"
- run: pnpm install
- run: pnpm dev:prepare
- run: pnpm lint
- run: pnpm build
- run: pnpm dev:build
- name: Release Edge
if: |
github.event_name == 'push' &&
Expand Down
2 changes: 1 addition & 1 deletion .netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

[build]
base = "docs"
command = "yarn build"
command = "pnpm build"
publish = "dist"
ignore = "git diff --quiet HEAD^ HEAD . ../package.json"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

- Clone this repository
- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`
- Install dependencies using `yarn install`
- Run `yarn dev:prepare` to generate type stubs.
- Use `yarn dev` to start [playground](./playground) in development mode.
- Install dependencies using `pnpm install`
- Run `pnpm dev:prepare` to generate type stubs.
- Use `pnpm dev` to start [playground](./playground) in development mode.

## 📑 License

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"dev:generate": "nuxi generate playground",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
"docs:build": "cd docs && nuxt generate",
"docs:dev": "yarn nuxt dev docs",
"docs:dev": "pnpm nuxt dev docs",
"lint": "eslint --ext .ts --ext .vue .",
"prepack": "yarn build",
"release": "yarn test && standard-version && git push --follow-tags && npm publish",
"test": "yarn lint"
"prepack": "pnpm build",
"release": "pnpm test && standard-version && git push --follow-tags && npm publish",
"test": "pnpm lint"
},
"dependencies": {
"@nuxt/kit": "^3.0.0",
Expand Down
Loading

0 comments on commit 582e74f

Please sign in to comment.