Skip to content

Commit adc6dab

Browse files
authored
Prepare release 2.2.3 (#843)
* Upgrade dev environment Upgrades vscode, webpack, test-electron, node, typescript and eslint * Upgrade dev dependencies * Upgrade ts-pattern * Update ChangeLog and version number
1 parent 1438106 commit adc6dab

File tree

4 files changed

+295
-310
lines changed

4 files changed

+295
-310
lines changed

Changelog.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,78 @@
11
# Changelog for vscode-haskell
22

3+
## 2.2.3
4+
5+
- Prepare release 2.2.3
6+
([#843](https://github.com/haskell/vscode-haskell/pull/843)) by @fendor
7+
- Add new plugins fields
8+
([#842](https://github.com/haskell/vscode-haskell/pull/842)) by @fendor
9+
- Bump eslint from 8.34.0 to 8.36.0
10+
([#834](https://github.com/haskell/vscode-haskell/pull/834)) by @dependabot[bot]
11+
- Bump ts-pattern from 4.1.3 to 4.2.1
12+
([#829](https://github.com/haskell/vscode-haskell/pull/829)) by @dependabot[bot]
13+
- Bump lru-cache from 7.17.0 to 7.18.3
14+
([#828](https://github.com/haskell/vscode-haskell/pull/828)) by @dependabot[bot]
15+
- Bump @typescript-eslint/eslint-plugin from 5.51.0 to 5.54.0
16+
([#827](https://github.com/haskell/vscode-haskell/pull/827)) by @dependabot[bot]
17+
- Bump @types/node from 18.11.19 to 18.14.2
18+
([#826](https://github.com/haskell/vscode-haskell/pull/826)) by @dependabot[bot]
19+
- Bump lru-cache from 7.14.1 to 7.17.0
20+
([#825](https://github.com/haskell/vscode-haskell/pull/825)) by @dependabot[bot]
21+
- Bump vscode-languageclient from 8.0.2 to 8.1.0
22+
([#823](https://github.com/haskell/vscode-haskell/pull/823)) by @dependabot[bot]
23+
- Bump @types/which from 2.0.1 to 2.0.2
24+
([#821](https://github.com/haskell/vscode-haskell/pull/821)) by @dependabot[bot]
25+
- Bump @vscode/test-electron from 2.2.2 to 2.2.3
26+
([#818](https://github.com/haskell/vscode-haskell/pull/818)) by @dependabot[bot]
27+
- Bump @typescript-eslint/parser from 5.49.0 to 5.51.0
28+
([#817](https://github.com/haskell/vscode-haskell/pull/817)) by @dependabot[bot]
29+
- Bump eslint from 8.33.0 to 8.34.0
30+
([#816](https://github.com/haskell/vscode-haskell/pull/816)) by @dependabot[bot]
31+
- Bump @typescript-eslint/eslint-plugin from 5.50.0 to 5.51.0
32+
([#815](https://github.com/haskell/vscode-haskell/pull/815)) by @dependabot[bot]
33+
- Bump typescript from 4.9.4 to 4.9.5
34+
([#814](https://github.com/haskell/vscode-haskell/pull/814)) by @dependabot[bot]
35+
- Bump @typescript-eslint/eslint-plugin from 5.49.0 to 5.50.0
36+
([#813](https://github.com/haskell/vscode-haskell/pull/813)) by @dependabot[bot]
37+
- Bump eslint-webpack-plugin from 3.2.0 to 4.0.0
38+
([#812](https://github.com/haskell/vscode-haskell/pull/812)) by @dependabot[bot]
39+
- Bump @types/node from 18.11.18 to 18.11.19
40+
([#811](https://github.com/haskell/vscode-haskell/pull/811)) by @dependabot[bot]
41+
- Bump @typescript-eslint/eslint-plugin from 5.48.2 to 5.49.0
42+
([#809](https://github.com/haskell/vscode-haskell/pull/809)) by @dependabot[bot]
43+
- Bump @typescript-eslint/parser from 5.48.2 to 5.49.0
44+
([#808](https://github.com/haskell/vscode-haskell/pull/808)) by @dependabot[bot]
45+
- Bump eslint from 8.32.0 to 8.33.0
46+
([#807](https://github.com/haskell/vscode-haskell/pull/807)) by @dependabot[bot]
47+
- Bump json5 from 1.0.1 to 1.0.2
48+
([#797](https://github.com/haskell/vscode-haskell/pull/797)) by @dependabot[bot]
49+
- Bump @typescript-eslint/eslint-plugin from 5.46.0 to 5.47.1
50+
([#792](https://github.com/haskell/vscode-haskell/pull/792)) by @dependabot[bot]
51+
- Bump @typescript-eslint/parser from 5.46.0 to 5.47.0
52+
([#789](https://github.com/haskell/vscode-haskell/pull/789)) by @dependabot[bot]
53+
- Bump @types/node from 18.11.13 to 18.11.17
54+
([#785](https://github.com/haskell/vscode-haskell/pull/785)) by @dependabot[bot]
55+
- Bump eslint from 8.29.0 to 8.30.0
56+
([#783](https://github.com/haskell/vscode-haskell/pull/783)) by @dependabot[bot]
57+
- Migrate to eslint
58+
([#782](https://github.com/haskell/vscode-haskell/pull/782)) by @fendor
59+
- Bump minor versions of package dependencies
60+
([#781](https://github.com/haskell/vscode-haskell/pull/781)) by @fendor
61+
- Bump @types/vscode from 1.69.0 to 1.74.0
62+
([#780](https://github.com/haskell/vscode-haskell/pull/780)) by @dependabot[bot]
63+
- Bump ts-loader from 9.4.1 to 9.4.2
64+
([#779](https://github.com/haskell/vscode-haskell/pull/779)) by @dependabot[bot]
65+
- Bump webpack-cli from 4.10.0 to 5.0.1
66+
([#778](https://github.com/haskell/vscode-haskell/pull/778)) by @dependabot[bot]
67+
- Bump eslint from 8.28.0 to 8.29.0
68+
([#777](https://github.com/haskell/vscode-haskell/pull/777)) by @dependabot[bot]
69+
- Update unsupported GHC doc link
70+
([#776](https://github.com/haskell/vscode-haskell/pull/776)) by @limaak
71+
- Fix release CI
72+
([#775](https://github.com/haskell/vscode-haskell/pull/775)) by @fendor
73+
- Fix mistake in generated ChangeLog
74+
([#774](https://github.com/haskell/vscode-haskell/pull/774)) by @fendor
75+
376
## 2.2.2
477

578
- Bump @types/node from 18.11.9 to 18.11.10

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"name": "haskell",
33
"displayName": "Haskell",
44
"description": "Haskell language support powered by the Haskell Language Server",
5-
"version": "2.2.2",
5+
"version": "2.2.3",
66
"license": "MIT",
77
"publisher": "haskell",
88
"engines": {
9-
"vscode": "^1.74.0"
9+
"vscode": "^1.77.0"
1010
},
1111
"keywords": [
1212
"language",
@@ -561,27 +561,27 @@
561561
"devDependencies": {
562562
"@types/bent": "^7.3.2",
563563
"@types/cheerio": "^0.22.30",
564-
"@types/glob": "^8.0.0",
564+
"@types/glob": "^8.1.0",
565565
"@types/js-yaml": "^4.0.5",
566-
"@types/lodash-es": "^4.17.3",
566+
"@types/lodash-es": "^4.17.7",
567567
"@types/mocha": "^10.0.1",
568-
"@types/node": "^18.14.2",
569-
"@types/vscode": "^1.74.0",
570-
"@types/which": "^2.0.2",
568+
"@types/node": "^18.15.11",
569+
"@types/vscode": "^1.77.0",
570+
"@types/which": "^3.0.0",
571571
"@types/yauzl": "^2.9.1",
572-
"@typescript-eslint/eslint-plugin": "^5.54.0",
573-
"@typescript-eslint/parser": "^5.51.0",
574-
"@vscode/test-electron": "^2.2.3",
575-
"eslint": "^8.36.0",
572+
"@typescript-eslint/eslint-plugin": "^5.57.1",
573+
"@typescript-eslint/parser": "^5.57.1",
574+
"@vscode/test-electron": "^2.3.0",
575+
"eslint": "^8.38.0",
576576
"eslint-webpack-plugin": "^4.0.0",
577-
"glob": "^8.0.3",
577+
"glob": "^10.0.0",
578578
"husky": "^8.0.2",
579579
"mocha": "^10.2.0",
580-
"prettier": "^2.8.1",
580+
"prettier": "^2.8.7",
581581
"pretty-quick": "^3.1.2",
582582
"ts-loader": "^9.4.2",
583-
"typescript": "^4.9.5",
584-
"webpack": "^5.75.0",
583+
"typescript": "^5.0.4",
584+
"webpack": "^5.78.0",
585585
"webpack-cli": "^5.0.1"
586586
},
587587
"extensionDependencies": [
@@ -593,7 +593,7 @@
593593
"js-yaml": "^4.1.0",
594594
"lodash-es": "^4.17.21",
595595
"lru-cache": "^7.18.3",
596-
"ts-pattern": "^4.2.1",
596+
"ts-pattern": "^4.2.2",
597597
"vscode-languageclient": "^8.1.0",
598598
"which": "^3.0.0",
599599
"yauzl": "^2.10.0"

test/suite/index.ts

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,26 @@ export async function run(): Promise<void> {
1313
const testsRoot = path.resolve(__dirname, '..');
1414

1515
return new Promise((c, e) => {
16-
glob('**/**.test.js', { cwd: testsRoot }, (err, files) => {
17-
if (err) {
18-
return e(err);
19-
}
16+
glob
17+
.glob('**/**.test.js', { cwd: testsRoot })
18+
.then((files) => {
19+
// Add files to the test suite
20+
files.forEach((f) => mocha.addFile(path.resolve(testsRoot, f)));
2021

21-
// Add files to the test suite
22-
files.forEach((f) => mocha.addFile(path.resolve(testsRoot, f)));
23-
24-
try {
25-
// Run the mocha test
26-
mocha.run((failures) => {
27-
if (failures > 0) {
28-
e(new Error(`${failures} tests failed.`));
29-
} else {
30-
c();
31-
}
32-
});
33-
} catch (err) {
34-
console.error(err);
35-
e(err);
36-
}
37-
});
22+
try {
23+
// Run the mocha test
24+
mocha.run((failures) => {
25+
if (failures > 0) {
26+
e(new Error(`${failures} tests failed.`));
27+
} else {
28+
c();
29+
}
30+
});
31+
} catch (err) {
32+
console.error(err);
33+
e(err);
34+
}
35+
})
36+
.catch((err) => e(err));
3837
});
3938
}

0 commit comments

Comments
 (0)