From c075fe8efa87d4f9476210a695755f045bb0a5e0 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 29 Sep 2026 04:20:17 +0000 Subject: [PATCH 1/3] Document the configuration where 0.2.0 reads it: cds.requires.cap2ui5 cap2UI5 0.2.0 moved the plugin's settings to cds.requires.cap2ui5, where SAP's own plugins keep theirs, and renamed `requires` to `roles`. A user without the role now gets 403 in CAP's format instead of a 401, and an app module that fails to load fails the start instead of every roundtrip. The site still taught cds.cap2ui5 and the old symptoms, and verify-refs read the options from package.json#cds.cap2ui5, which no longer exists - so it flagged every option the docs named and check has been red since. verify-refs now reads cds.requires.cap2ui5 and reports 0.1.0's cds.cap2ui5. as the deprecated place. Configuration, troubleshooting, user exit, deployment and project structure describe the current keys and behaviour; AGENTS.md records them and the plugin's current layout. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01NwpbkojNzGmuJrFdbwo5JF --- AGENTS.md | 30 +++++++++----- docs/guide/ecosystem.md | 3 +- docs/guide/project-structure.md | 15 ++++--- docs/guide/troubleshooting.md | 48 ++++++++++++---------- docs/guide/user-exit.md | 2 +- docs/reference/configuration.md | 71 +++++++++++++++++++++------------ docs/reference/deployment.md | 2 +- scripts/verify-refs.mjs | 32 ++++++++++----- 8 files changed, 130 insertions(+), 73 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 99d9f32..e933684 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,7 +20,8 @@ VitePress build. It is also what CI runs, on every pull request "@cap2ui5/cds-plugin"` **inside a code fence** names only what the package really exports (and two dead packages are reported, in either form: the port's `abap2UI5/…` and the plugin's withdrawn old name `cap2ui5`), -- every `cds.cap2ui5.