Skip to content

Add a file patch to circumvent broken module resolution in v3 generated repo d.ts file #1119

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

Merged
merged 2 commits into from
May 16, 2023

Conversation

AndrewJakubowicz
Copy link
Contributor

@AndrewJakubowicz AndrewJakubowicz commented May 16, 2023

Fixes #1111 and #1112

Context

TypeScript 5.0 creates a declaration file that typedoc doesn't resolve. This can be worked around by patching the file after build:ts such that it can be understood.

I also bumped the Lit 3.0 pre-release commit hash.

Test

Tested because pages.json hasn't changes and "check API data in sync" has passed.

@github-actions
Copy link

github-actions bot commented May 16, 2023

A live preview of this PR will be available at the URL(s) below.
The latest URL will be appended to this comment on each push.
Each build takes ~5-10 minutes, and will 404 until finished.

https://pr1119-52715a9---lit-dev-5ftespv5na-uc.a.run.app/
https://pr1119-0aeaea9---lit-dev-5ftespv5na-uc.a.run.app/

@AndrewJakubowicz AndrewJakubowicz changed the title Add a file patch to circumvent invalid TypeScript import. Add a file patch to circumvent broken module resolution in v3 generated repo d.ts file May 16, 2023
@AndrewJakubowicz AndrewJakubowicz requested a review from augustjk May 16, 2023 22:37
Copy link
Member

@augustjk augustjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed I am able to build the API data on my end. Good workaround!

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.

Add Lit v3.0 prerelease generated API
2 participants