-
Notifications
You must be signed in to change notification settings - Fork 1k
[examples] Add examples with Preact project type test #4111
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
Conversation
🦋 Changeset detectedLatest commit: 53b40ef The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📊 Tachometer Benchmark ResultsSummarynop-update
render
update
update-reflect
Resultsthis-change
render
update
update-reflect
this-change, tip-of-tree, previous-release
render
update
nop-update
this-change, tip-of-tree, previous-release
render
update
this-change, tip-of-tree, previous-release
render
update
update-reflect
|
AndrewJakubowicz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great!
packages/labs/react/examples/test-elements-react/src/element-events.ts
Outdated
Show resolved
Hide resolved
|
@augustjk why |
My original thinking was these are specifically for testing Top level examples folder does not participate in npm workspaces so we can't reference by internal package name, and we don't run any tests against those. Maybe that should change though. The original intent of not making top level examples not be part of npm workspaces was we didn't want to bloat the monorepo |
- Combine type export for element-events - Add jsdoc for exported components
AndrewJakubowicz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent
- Fix typo in preact example package name - Omit optional tags in index.html - Make test-elements-react private and add description
Changes
examples/directory to be part of npm workspacestest-elements-reactpackage tolabs/test-projects/that include a subset of components fromtest-element-awrapped with@lit-labs/reactpreactexample project to top levelexamples/directory that importtest-element-reactand has atsc --noEmittest to make sure types are compatible.Resolves #3289