Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to new web component standards #66

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

keithamus
Copy link
Member

Much like github/auto-complete-element#104, github/auto-check-element#62, github/clipboard-copy-element#67, github/image-crop-element#46, and github/include-fragment-element#93 this PR upgrades us to the latest idioms we have within the Custom Elements landscape at GitHub. This means:

Development changes:

  • Update CI to use Node 18 LTS
  • Uses a slightly improved eslint config
  • Minor changes to TSconfig
  • Uses esbuild over rollup

User faces changes:

  • Emits JSX types, making it compatible with React
  • Reworks exports allowing for various patterns, including importing the web component without defining, or defining under different scopes or registries.
  • Outputs a custom elements manifest.

These changes make it easier for us to integrate into various systems, without causing breakages in older systems.

@keithamus keithamus requested a review from a team as a code owner June 16, 2023 09:28
@keithamus keithamus merged commit 72a7029 into main Jun 16, 2023
@keithamus keithamus deleted the upgrade-to-new-web-component-standards branch June 16, 2023 09:30
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