Skip to content

Commit f5239e5

Browse files
committed
chore: upgrade vscode version
1 parent 837a2d6 commit f5239e5

File tree

8 files changed

+5079
-5297
lines changed

8 files changed

+5079
-5297
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@ jobs:
1111
Release:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
15-
- uses: fregante/setup-git-user@v1
16-
- uses: actions/setup-node@v1
14+
- uses: actions/checkout@v4
15+
- uses: fregante/setup-git-user@v2
16+
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 18
18+
node-version: 22
19+
- uses: pnpm/action-setup@v4
1920
- name: "Install dependencies"
20-
run: |
21-
npm install -g yarn
22-
yarn install
21+
run: pnpm install
2322
- name: "Read Package.json"
2423
id: read_packageJson
2524
run: |
@@ -40,12 +39,12 @@ jobs:
4039
run: echo "::set-output name=vsixPath::${{ steps.parse_packageJson.outputs.name }}-${{ steps.parse_packageJson.outputs.version }}.vsix"
4140
- name: "Package"
4241
run: |
43-
yarn build:prod
44-
yarn vsce package --out ${{ steps.set_vsixPath.outputs.vsixPath }}
42+
pnpm build:prod
43+
pnpm vsce package --out ${{ steps.set_vsixPath.outputs.vsixPath }}
4544
- name: "Publish to VSCode Marketplace"
46-
run: yarn vsce publish --pat "${{ secrets.VSCODE_MARKETPLACE_TOKEN }}" --packagePath "${{ steps.set_vsixPath.outputs.vsixPath }}"
45+
run: pnpm vsce publish --pat "${{ secrets.VSCODE_MARKETPLACE_TOKEN }}" --packagePath "${{ steps.set_vsixPath.outputs.vsixPath }}"
4746
- name: "Publish to Open-VSX"
48-
run: yarn ovsx publish "${{ steps.set_vsixPath.outputs.vsixPath }}" --pat ${{ secrets.OPEN_VSX_TOKEN }}
47+
run: pnpm ovsx publish "${{ steps.set_vsixPath.outputs.vsixPath }}" --pat ${{ secrets.OPEN_VSX_TOKEN }}
4948
- name: "Create Tag"
5049
id: create_tag
5150
run: |

.vscode/launch.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@
2424
"request": "launch",
2525
"runtimeExecutable": "${execPath}",
2626
"args": [
27-
"--extensionDevelopmentPath=${workspaceFolder}",
28-
"--extensionTestsPath=${workspaceFolder}/out/test"
27+
"--extensionDevelopmentPath=${workspaceFolder}",
28+
"--extensionTestsPath=${workspaceFolder}/out/test"
29+
],
30+
"outFiles": [
31+
"${workspaceFolder}/out/test/**/*.js"
2932
],
30-
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
3133
"preLaunchTask": "npm: test:compile"
32-
}
34+
}
3335
]
34-
}
36+
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
1010
"typescript.tsc.autoDetect": "off",
1111
"editor.codeActionsOnSave": {
12-
"source.fixAll.eslint": true
12+
"source.fixAll.eslint": "explicit"
1313
},
1414
"editor.formatOnSave": true,
1515
"eslint.format.enable": true,

package.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,14 @@
1010
],
1111
"repository": "https://github.com/tenninebt/vscode-koverage",
1212
"description": "View the code coverage per folder/file in the test view",
13-
"version": "0.0.19",
13+
"version": "0.0.20",
1414
"engines": {
15-
"vscode": "^1.76.0"
15+
"vscode": "^1.100.0"
1616
},
1717
"categories": [
1818
"Other"
1919
],
2020
"icon": "resources/icon.png",
21-
"activationEvents": [
22-
"onView:koverage"
23-
],
2421
"main": "./dist/extension.js",
2522
"contributes": {
2623
"configuration": {
@@ -136,7 +133,7 @@
136133
},
137134
"scripts": {
138135
"clean": "rm -rf dist",
139-
"compile": "yarn clean && tsc",
136+
"compile": "pnpm clean && tsc",
140137
"build:prod": "webpack --mode production",
141138
"build:dev": "webpack --mode development",
142139
"build:watch": "webpack --mode development --watch",
@@ -145,7 +142,7 @@
145142
"devDependencies": {
146143
"@types/glob": "^8.1.0",
147144
"@types/node": "^18.15.11",
148-
"@types/vscode": "^1.76.0",
145+
"@types/vscode": "^1.100.0",
149146
"@typescript-eslint/eslint-plugin": "^5.57.1",
150147
"@vscode/vsce": "^2.18.0",
151148
"eslint": "^8.37.0",
@@ -165,6 +162,7 @@
165162
"@7sean68/jacoco-parse": "2.2.0",
166163
"@cvrg-report/clover-json": "0.3.2",
167164
"cobertura-parse": "fschwaiger/cobertura-parse#82b0333cb1580f6f337b5d44b04e2f5ca8711b7e",
165+
"glob": "^8.1.0",
168166
"lcov-parse": "1.0.0",
169167
"rxjs": "^7.8.0"
170168
},
@@ -173,5 +171,5 @@
173171
"mocha": "^10.2.0",
174172
"mkdirp": "^3.0.1"
175173
},
176-
"packageManager": "yarn@4.0.1"
174+
"packageManager": "pnpm@10.24.0"
177175
}

0 commit comments

Comments
 (0)