Skip to content

TSD Support#7

Closed
PetyaMarkovaBogdanova wants to merge 10 commits intoenable-tsdfrom
main
Closed

TSD Support#7
PetyaMarkovaBogdanova wants to merge 10 commits intoenable-tsdfrom
main

Conversation

@PetyaMarkovaBogdanova
Copy link
Copy Markdown
Collaborator

No description provided.

PetyaMarkovaBogdanova and others added 10 commits April 14, 2026 13:18
fix(uxc-integration): Enabled .d.ts generation for seamless wrappers
Revert "fix(uxc-integration): Enabled .d.ts generation for seamless wrappers"
- Switch from `npm install --package-lock=false` to `npm ci` for
  reproducible builds that respect package-lock.json
- Bump actions/checkout v4 → v6
- Bump actions/setup-node v4 → v6
- Bump actions/configure-pages v5 → v6
- Bump actions/upload-pages-artifact v3 → v5
- Bump actions/deploy-pages v4 → v5
…onent.ts

Both @ui5/webcomponents/dist/Assets and @ui5/webcomponents-fiori/dist/Assets
were imported explicitly. Having both as separate rollup entry points caused
ui5-tooling-modules to emit a deduplicated chunk named Assets2.js that was
never written to disk, breaking the production build with a script load error.

@ui5/webcomponents-fiori/dist/Assets already transitively imports
@ui5/webcomponents/dist/Assets, so both manual imports are redundant.
…earch gen/ wrapping

@ui5/webcomponents-fiori@2.21.x exports a DIFFERENT internal class named
ShellBarSearch from dist/shellbar/ShellBarSearch.js (a search controller).
WebComponentRegistry processes this export AFTER the public dist/ShellBarSearch.js
export, overwriting the class's module path from "dist/ShellBarSearch.js" to
"dist/shellbar/ShellBarSearch.js". This makes the registry lookup fail in
lookupWebComponentsClass, so ShellBarSearch never receives a gen/ UI5 wrapper.

Fix: change = to ??= in WebComponentRegistry.js#parseExports so the module
path is only set on the first export (the correct public one), not overwritten.

Also adds patch-package and postinstall hook to apply the fix persistently.
@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Apr 28, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ kgogov
❌ PetyaMarkovaBogdanova
You have signed the CLA already but the status is still pending? Let us recheck it.

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