From 50d99000f27b12127317b648c5501c96ece3a83f Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Nov 2026 09:06:22 +0000 Subject: [PATCH] Admit the linter's 0.10 line in the peer ranges - package.json, package-lock.json: @abap2ui5/linter and @abap2ui5/linter-render are peers at >=0.8.0 <0.11.0 (were <0.10.0). - README.md, AGENTS.md: the stated range follows. - CHANGELOG.md: Unreleased entry. The exports the server imports are unchanged in 0.10.0; npm test is green against a 0.10.0 tarball installed as the peer. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA --- AGENTS.md | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 4abb319..bc1e0e2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1077,7 +1077,7 @@ changes upstream, this repo must change in the same breath: message saying so, and one without `./rule-docs` costs the agent the explanations and nothing else. Neither may cost it the findings. The npm side is declared since the release after 0.3.0: `package.json` names `@abap2ui5/linter` as a - peer dependency at `>=0.8.0 <0.10.0` (npm 7+ installs a non-optional peer + peer dependency at `>=0.8.0 <0.11.0` (npm 7+ installs a non-optional peer with the server, so `npx -p @abap2ui5/mcp-server` carries the property gate; `test/view-check-install.test.mjs` pins that the hoisted install is found) and `@abap2ui5/linter-render` as an OPTIONAL peer in the same range diff --git a/CHANGELOG.md b/CHANGELOG.md index 4773846..04c8179 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ ## Unreleased +- **The linter's 0.10 line is admitted.** The peer ranges on + `@abap2ui5/linter` and `@abap2ui5/linter-render` are `>=0.8.0 <0.11.0` + (were `<0.10.0`), so a project on linter 0.10.0 installs this server + without an ERESOLVE. The exports the server imports (`.`, `./findings`, + `./config`, `./rule-docs` and the shapes behind them) are unchanged in + 0.10.0, and the full suite is green against a 0.10.0 tarball installed as + the peer (`AI_VIEW_CHECK_HOME` pointed at it). `package-lock.json` keeps + the linter it resolved before - only the range moved. - **`abap2ui5-unit --class` no longer misdiagnoses the classes it did not run.** Every other class with a test include had no `tests` in its result, and the summary read that as "a test include, but the runner found no test method - is the local class FOR TESTING?". `scripts/ci-unit.mjs` marks such a class `notSelected` and the summary lists it as not selected, the way the VS Code extension's results view already skips it. - **`migrate_report` runs report2UI5.** abap-cloud-gui renamed its converter report2cloud to report2UI5 (`tools/report2ui5`) and narrowed it to the user diff --git a/README.md b/README.md index dc95088..5f02840 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ is missing. Level 1 — `validate_view`, `fix_view` and `screenshot_view`, the tools most work happens at. They need the [linter](https://github.com/abap2UI5/linter), which the server declares as a **peer dependency** (`@abap2ui5/linter`, -`>=0.8.0 <0.10.0` — the range this server is built against). npm 7+ installs a +`>=0.8.0 <0.11.0` — the range this server is built against). npm 7+ installs a non-optional peer by itself, so the one-liner below brings the linter along and `validate_view`/`fix_view` work out of the box. The render gate behind `screenshot_view` needs the UI5 libraries and Playwright on top diff --git a/package-lock.json b/package-lock.json index dd9980f..170bb10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,8 +21,8 @@ "node": ">=22" }, "peerDependencies": { - "@abap2ui5/linter": ">=0.8.0 <0.10.0", - "@abap2ui5/linter-render": ">=0.8.0 <0.10.0" + "@abap2ui5/linter": ">=0.8.0 <0.11.0", + "@abap2ui5/linter-render": ">=0.8.0 <0.11.0" }, "peerDependenciesMeta": { "@abap2ui5/linter-render": { diff --git a/package.json b/package.json index 318880a..c7a9b3b 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,8 @@ "playwright": "^1.64.0" }, "peerDependencies": { - "@abap2ui5/linter": ">=0.8.0 <0.10.0", - "@abap2ui5/linter-render": ">=0.8.0 <0.10.0" + "@abap2ui5/linter": ">=0.8.0 <0.11.0", + "@abap2ui5/linter-render": ">=0.8.0 <0.11.0" }, "peerDependenciesMeta": { "@abap2ui5/linter-render": {