Commit 65b8d9e
fix(vscode): keep @types/vscode at the engine floor, and pin it there
The typescript group swept `@types/vscode` from ^1.85.0 to ^1.125.0 along
with typescript-eslint, and `vsce package` refused the build:
ERROR @types/vscode ^1.125.0 greater than engines.vscode ^1.85.0
That check is right. `engines.vscode` is the OLDEST editor this extension
supports; types newer than it let a call added in a later VS Code
typecheck cleanly and then fail on the editor we promised to run on.
Taking the bump means dropping every VS Code between 1.85 and 1.125,
which is a support decision, not a dependency update.
typescript-eslint ^8.67.0 is kept — it was the half of the group that
had nothing wrong with it.
Pinned exactly rather than restored to `^1.85.0`: the caret was already
resolving to 1.120.0 on main, so the compiler was seeing 35 minor
versions of API the extension does not claim to support. Verified the
floor is honest — `apps/vscode` typechecks against exactly 1.85.0 with
no errors — so the pin costs nothing and makes the declaration
enforceable.
Guarded twice: dependabot is told to ignore the dependency, with the
reason written down, and `scripts/vscode-types-engine.test.ts` fails the
unit suite in seconds rather than waiting for `release:check` to fail
minutes into a full workspace build.
release:check exits 0; VSIX packages at 199.19 KB.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 816ef02 commit 65b8d9e
4 files changed
Lines changed: 80 additions & 6 deletions
File tree
- .github
- apps/vscode
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
15 | 27 | | |
16 | 28 | | |
17 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
0 commit comments