Skip to content

Comments

chore: filter out private and protected classes from CEM output#11182

Open
web-padawan wants to merge 1 commit intomainfrom
chore/cem-remove-internal-elements
Open

chore: filter out private and protected classes from CEM output#11182
web-padawan wants to merge 1 commit intomainfrom
chore/cem-remove-internal-elements

Conversation

@web-padawan
Copy link
Member

Description

Added classPrivacyPlugin to detect @private / @protected JSDoc tags on class declarations and exclude them from generated custom-elements.json files. Also remove empty modules left after filtering.

Elements like vaadin-avatar-group-overlay are not supposed to be used publicly and considered an implementation detail. They should also not end up in web-types.json as that is then used to generate React wrappers.

Type of change

  • Internal change

Add classPrivacyPlugin to detect @private/@Protected JSDoc tags on
class declarations and exclude them from custom-elements.json.
Also remove empty modules left after filtering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@web-padawan web-padawan force-pushed the chore/cem-remove-internal-elements branch from fc094cb to 7241912 Compare February 23, 2026 10:17
@sonarqubecloud
Copy link

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.

1 participant