Skip to content

Commit d25fc95

Browse files
authored
Update to monaco-vscode-api v27 (#1032)
1 parent 15489d4 commit d25fc95

File tree

21 files changed

+635
-639
lines changed

21 files changed

+635
-639
lines changed

.oxlintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"no-empty-character-class": "error",
4545
"no-empty-pattern": "error",
4646
"no-empty-static-block": "error",
47-
"no-explicit-any": "error",
4847
"no-fallthrough": "error",
4948
"no-import-assign": "error",
5049
"no-inner-declarations": "off",
@@ -83,10 +82,12 @@
8382
// currently in oxlint's nursery (=under development)
8483
"typescript/dot-notation": "error",
8584
"typescript/no-empty-object-type": "error",
85+
"typescript/no-explicit-any": "error",
8686
"typescript/no-namespace": "off",
8787
// currently in oxlint's nursery (=under development)
8888
"typescript/no-unnecessary-condition": "error",
8989
"typescript/no-unnecessary-type-constraint": "error",
90+
"typescript/no-unnecessary-type-parameters": "error",
9091
"typescript/no-unsafe-function-type": "error",
9192
"typescript/no-unused-expressions": "error",
9293
"typescript/no-non-null-assertion": "off",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ These are the current versions of packages from this repository and their alignm
7575
- **monaco-languageclient**: `10.7.0` (release date: 2026-02-04)
7676
- **@typefox/monaco-editor-react**: `7.7.0` (release date: unrel2026-02-04eased)
7777
- Aligned with:
78-
- **@codingame/monaco-vscode-[editor]-api**: `26.2.2`
78+
- **@codingame/monaco-vscode-[editor]-api**: `27.0.0`
7979
- **vscode**: `1.108.2`
8080
- **monaco-editor**: `0.55.1`
8181
- **vscode-ws-jsonrpc**: `3.5.0` (release date: 2025-08-11)

docs/guides/troubleshooting.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Whenever you use `monaco-editor`/`@codingame/monaco-vscode-editor-api` `vscode`/
1111
If you use pnpm or yarn, you have to add `vscode` / `@codingame/monaco-vscode-api` as direct dependency, otherwise the installation will fail:
1212

1313
```json
14-
"vscode": "npm:@codingame/monaco-vscode-extension-api@^26.2.2"
14+
"vscode": "npm:@codingame/monaco-vscode-extension-api@^27.0.0"
1515
```
1616

1717
### Missing Overrides or Resolutions
@@ -23,7 +23,7 @@ To ensure all Monaco-related packages use a single, compatible version, you must
2323
```json
2424
{
2525
"overrides": {
26-
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^26.2.2"
26+
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^27.0.0"
2727
}
2828
}
2929
```
@@ -33,7 +33,7 @@ To ensure all Monaco-related packages use a single, compatible version, you must
3333
```json
3434
{
3535
"resolutions": {
36-
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^26.2.2"
36+
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^27.0.0"
3737
}
3838
}
3939
```
@@ -50,7 +50,7 @@ Additionally, if you see a message in the browser console starting with `Another
5050

5151
### @codingame/monaco-vscode-editor-api / monaco-editor usage
5252

53-
When you use the libraries from this project you are no longer required to proxy `monaco-editor` like `"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^26.2.2"` in you `package.json`. You can directly use it like so:
53+
When you use the libraries from this project you are no longer required to proxy `monaco-editor` like `"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^27.0.0"` in you `package.json`. You can directly use it like so:
5454

5555
```js
5656
import * as monaco from '@codingame/monaco-vscode-editor-api';
@@ -60,7 +60,7 @@ If your dependency stack already contains a reference `monaco-editor` you must e
6060

6161
```json
6262
"overrides": {
63-
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^26.2.2"
63+
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^27.0.0"
6464
}
6565
```
6666

docs/installation.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ If using npm or pnpm, and your dependencies already contain a reference to `mona
5757
```json
5858
{
5959
"overrides": {
60-
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^26.2.2"
60+
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^27.0.0"
6161
}
6262
}
6363
```
@@ -71,7 +71,7 @@ In yarn you have to specify `resolutions` instead of `overrides`:
7171
```json
7272
{
7373
"resolutions": {
74-
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^26.2.2"
74+
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@^27.0.0"
7575
}
7676
}
7777
```
@@ -83,17 +83,17 @@ If using pnpm, you have to add more transitive dependencies that npm or yarn aut
8383
```json
8484
{
8585
"dependencies": {
86-
"@codingame/monaco-vscode-api": "^26.2.2",
87-
"@codingame/monaco-vscode-configuration-service-override": "^26.2.2",
88-
"@codingame/monaco-vscode-editor-api": "^26.2.2",
89-
"@codingame/monaco-vscode-editor-service-override": "^26.2.2",
90-
"@codingame/monaco-vscode-extension-api": "^26.2.2",
91-
"@codingame/monaco-vscode-extensions-service-override": "^26.2.2",
92-
"@codingame/monaco-vscode-languages-service-override": "^26.2.2",
93-
"@codingame/monaco-vscode-localization-service-override": "^26.2.2",
94-
"@codingame/monaco-vscode-log-service-override": "^26.2.2",
95-
"@codingame/monaco-vscode-model-service-override": "^26.2.2",
96-
"vscode": "npm:@codingame/monaco-vscode-extension-api@^26.2.2"
86+
"@codingame/monaco-vscode-api": "^27.0.0",
87+
"@codingame/monaco-vscode-configuration-service-override": "^27.0.0",
88+
"@codingame/monaco-vscode-editor-api": "^27.0.0",
89+
"@codingame/monaco-vscode-editor-service-override": "^27.0.0",
90+
"@codingame/monaco-vscode-extension-api": "^27.0.0",
91+
"@codingame/monaco-vscode-extensions-service-override": "^27.0.0",
92+
"@codingame/monaco-vscode-languages-service-override": "^27.0.0",
93+
"@codingame/monaco-vscode-localization-service-override": "^27.0.0",
94+
"@codingame/monaco-vscode-log-service-override": "^27.0.0",
95+
"@codingame/monaco-vscode-model-service-override": "^27.0.0",
96+
"vscode": "npm:@codingame/monaco-vscode-extension-api@^27.0.0"
9797
}
9898
}
9999
```

docs/versions-and-history.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The following table describes which version of **monaco-languageclient** and **@
66

77
| monaco-languageclient | vscode-ws-jsonrpc | monaco-editor-wrapper | monaco-editor-react | monaco-vscode-api / editor-api | vscode | monaco-editor | release date | comment |
88
| :-------------------- | :---------------- | :-------------------- | :------------------ | :----------------------------- | :------ | :------------ | :----------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
9-
| 10.8.0 | 3.5.0 | 7.8.0 | | 26.2.2 | 1.109.0 | 0.55.1 | unreleased | |
9+
| 10.8.0 | 3.5.0 | 7.8.0 | | 27.0.0 | 1.109.0 | 0.55.1 | unreleased | |
1010
| 10.7.0 | 3.5.0 | 7.7.0 | | 25.1.2 | 1.108.2 | 0.55.1 | 2026-02-04 | |
1111
| 10.6.0 | 3.5.0 | 7.6.0 | | 25.0.0 | 1.108.0 | 0.55.1 | 2026-01-14 | |
1212
| 10.5.0 | 3.5.0 | 7.5.0 | | 24.2.0 | 1.107.1 | 0.55.1 | 2025-12-23 | |

0 commit comments

Comments
 (0)