Skip to content

Commit 2f52b2d

Browse files
authored
chore: enhance manifest processing (#8283)
`custom-manifest.json` did not include private classes, which caused issues when scripts attempted to resolve the hierarchy because some classes were missing. Starting with the next release, `custom-manifest.json` will include private declarations (only custom elements). Therefore, this PR filters them out during wrapper generation. All private properties, slots, and other members for these declarations will still be filtered out.
1 parent 7b545ba commit 2f52b2d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • packages/cli/src/scripts/create-wrappers

packages/cli/src/scripts/create-wrappers/main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ export default async function createWrappers(packageName: string, outDir: string
4747
continue;
4848
}
4949

50+
// Skip non-public declarations
51+
if (declaration._ui5privacy && declaration._ui5privacy !== 'public') {
52+
continue;
53+
}
54+
5055
const wrapper = new WebComponentWrapper(declaration.tagName, declaration.name, webComponentImport, packageName);
5156
const attributes = declaration.members?.filter(filterAttributes) ?? [];
5257

0 commit comments

Comments
 (0)