Skip to content

Commit

Permalink
chore: use pnpm instead of yarn (#245)
Browse files Browse the repository at this point in the history
* chore: use pnpm instead of yarn

* chore: cache pnpm

* chore: move pnpm install

* chore: define birpc and flatted

* chore: lint
  • Loading branch information
sheremet-va authored Feb 18, 2024
1 parent 62f284d commit 0694d98
Show file tree
Hide file tree
Showing 5 changed files with 3,754 additions and 3,914 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache: pnpm

- run: yarn install --frozen-lockfile

- run: yarn run compile

- run: yarn run lint

- run: yarn test
- run: pnpm install --frozen-lockfile
- run: pnpm compile
- run: pnpm lint
- run: pnpm test
4 changes: 2 additions & 2 deletions CONTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

How to build and test the extension:

- Run `yarn` to install deps
- Run `yarn watch`
- Run `pnpm` to install deps
- Run `pnpm watch`
- Press F5 to run extension
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "vitest-explorer",
"displayName": "Vitest",
"version": "0.2.44",
"packageManager": "[email protected]",
"description": "Run and debug Vitest test cases",
"author": "zxch3n",
"license": "MIT",
Expand All @@ -13,6 +14,9 @@
"bugs": {
"url": "https://github.com/vitest-dev/vscode/issues"
},
"sponsor": {
"url": "https://opencollective.com/vitest"
},
"keywords": [
"vitest",
"test",
Expand Down Expand Up @@ -148,7 +152,6 @@
"lint": "eslint --cache .",
"lint:fix": "eslint --cache --fix ."
},
"dependencies": {},
"devDependencies": {
"@antfu/eslint-config": "^2.6.4",
"@babel/parser": "^7.20.15",
Expand All @@ -160,26 +163,22 @@
"@types/semver": "^7.3.9",
"@types/vscode": "^1.77.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@vitest/ws-client": "^1.2.0",
"@vscode/test-electron": "^2.1.2",
"@vitest/ws-client": "^1.3.0",
"@vue/reactivity": "^3.2.33",
"@vueuse/core": "^8.4.2",
"birpc": "^0.2.15",
"eslint": "^8.56.0",
"flatted": "^3.2.9",
"fs-extra": "^10.0.1",
"fuse.js": "^6.6.2",
"get-port": "^6.1.2",
"glob": "^7.2.0",
"mighty-promise": "^0.0.8",
"minimatch": "^3.1.1",
"mocha": "^9.2.1",
"prettier": "^2.5.1",
"semver": "^7.3.5",
"tree-kill": "^1.2.2",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "latest",
"vitest": "^1.3.0",
"ws": "^8.16.0"
},
"lint-staged": {
Expand Down
Loading

0 comments on commit 0694d98

Please sign in to comment.