From 196b8261897d8af6215afcc59e2edd4fdbc71a77 Mon Sep 17 00:00:00 2001 From: Antoine Keranflec'h Date: Tue, 8 Sep 2026 14:33:30 +0200 Subject: [PATCH] Raise minimum VS Code version to 1.136 and package the extension in CI --- .github/workflows/ci.yml | 4 ++++ CHANGELOG.md | 4 ++++ package-lock.json | 10 +++++----- package.json | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be404ce..5d747c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,3 +21,7 @@ jobs: - run: npm ci - run: npm test - run: npm run package + # Catches a manifest fault here rather than in the release job: vsce + # rejects an @types/vscode that is newer than engines.vscode, and + # nothing above this step validates the manifest. + - run: npx @vscode/vsce package --no-dependencies -o extension.vsix diff --git a/CHANGELOG.md b/CHANGELOG.md index 993051e..ddaf5e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +- Raised the minimum supported VS Code version to 1.136 (`engines.vscode` and `@types/vscode` are both `^1.136.0`). Installations older than 1.136 keep the last compatible release from the Marketplace instead of updating. +- Bumped dev dependency `@types/node` to 26.4.1. +- CI now runs `vsce package` after the build, so a manifest fault such as an `@types/vscode` newer than `engines.vscode` fails the pull request instead of surfacing in the release job. + ## v0.4.0 - 2026-08-19 - Bumped dev dependencies: TypeScript 7.0 (the native compiler, distributed as platform binaries), esbuild 0.28.2, `@types/node` 26.2, ovsx 1.1; CI action `setup-node` v7. No runtime behaviour change (still zero runtime dependencies). diff --git a/package-lock.json b/package-lock.json index e87e93b..c9163dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,14 +10,14 @@ "license": "MIT", "devDependencies": { "@types/node": "^26.4.1", - "@types/vscode": "^1.97.0", + "@types/vscode": "^1.136.0", "@vscode/vsce": "^3.9.2", "esbuild": "^0.28.2", "ovsx": "^1.1.1", "typescript": "^7.0.2" }, "engines": { - "vscode": "^1.97.0" + "vscode": "^1.136.0" } }, "node_modules/@azu/format-text": { @@ -1969,9 +1969,9 @@ "license": "MIT" }, "node_modules/@types/vscode": { - "version": "1.125.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.125.0.tgz", - "integrity": "sha512-0icm/ZQAaism87P0ekHqi4/Ju9du+Tm0RUW+y7vqRsxY2cY0FNRX1nAnaW7nT6npPt2tfHiheZ55Zm9UhqonFA==", + "version": "1.136.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.136.0.tgz", + "integrity": "sha512-DO746VAfnHk8+Y8CsUKYMm2rjWD0mxEuYBZI+ssaqJY7yvLJPf9lcwxSSz9W60gbdvdcGyvHQxHTyByfF9mVqg==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index 2a5842e..abbb12e 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "url": "https://github.com/antoinekh/markdown-link-title/issues" }, "engines": { - "vscode": "^1.97.0" + "vscode": "^1.136.0" }, "categories": [ "Formatters", @@ -137,7 +137,7 @@ }, "devDependencies": { "@types/node": "^26.4.1", - "@types/vscode": "^1.97.0", + "@types/vscode": "^1.136.0", "@vscode/vsce": "^3.9.2", "esbuild": "^0.28.2", "ovsx": "^1.1.1",