Skip to content

feat: Extend versioninfo with framework information - #1681

Open
d3xter666 wants to merge 5 commits into
mainfrom
feat-extend-versioninfo-with-framework
Open

d3xter666 wants to merge 5 commits into
mainfrom
feat-extend-versioninfo-with-framework

Conversation

@d3xter666

Copy link
Copy Markdown
Member

JIRA: CPOUI5FOUNDATION-839

Adds a top-level framework: {name, version} object to the JSON produced
by the generateVersionInfo task of @ui5/builder.

Resolution order in generateVersionInfo:

  1. Explicit framework.name/framework.version from ui5.yaml: emits
    that name and version (name must be "OpenUI5" or "SAPUI5").
  2. npm-scope scan of dependency project IDs via Project.getId():
    any @sapui5/ dep wins immediately (SAPUI5, ""); @openui5/ deps
    accumulate and yield the sap.ui.core version.
  3. Fallback: name="", version="" — framework object is always present.

@d3xter666
d3xter666 requested a review from a team October 27, 2026 08:34
Comment thread packages/builder/lib/tasks/generateVersionInfo.js Outdated

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants