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

Fix vite peerDep warning by updating @joshwooding/vite-plugin-react-docgen-typescript #20359

Conversation

ndelangen
Copy link
Member

@ndelangen ndelangen commented Dec 21, 2022

Issue: #20179

What I did

The peerDependency issue was resolved upstream, this upgrades the dependecy to a version that no longer has the issue.

see: https://github.com/joshwooding/vite-plugin-react-docgen-typescript/blob/HEAD/CHANGELOG.md

@ndelangen ndelangen changed the title update Fix vite peerDep warning by updating @joshwooding/vite-plugin-react-docgen-typescript Dec 21, 2022
@ndelangen ndelangen self-assigned this Dec 21, 2022
@ndelangen ndelangen added the ci:merged Run the CI jobs that normally run when merged. label Dec 21, 2022
@ndelangen
Copy link
Member Author

@joshwooding Any idea why the UI changes might appear? Did anything else upgrade?

@ndelangen
Copy link
Member Author

@ndelangen
Copy link
Member Author

ndelangen commented Dec 21, 2022

@shilman
Copy link
Member

shilman commented Dec 21, 2022

@ndelangen @joshwooding looks like the plugin is broken in this PR?

@ndelangen
Copy link
Member Author

Yes, looks that way, upsetting... I do not know what's wrong..

@ndelangen
Copy link
Member Author

After a bit of debugging I found the problem, it was an CJS => ESM thing. I'll open a PR @joshwooding

@joshwooding
Copy link
Member

After a bit of debugging I found the problem, it was an CJS => ESM thing. I'll open a PR @joshwooding

Cool, I saw it was that ts.createProgram isn't a function because the async import returned a default object

@ndelangen
Copy link
Member Author

@shilman self merging

@ndelangen ndelangen merged commit a97702b into next Dec 21, 2022
@ndelangen ndelangen deleted the norbert/20179-pnpm-missing-typescript-peer-dependency-in-a-vitejs-project branch December 21, 2022 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug builder-vite ci:merged Run the CI jobs that normally run when merged.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants