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

yeoman-test uses broken types #178

Closed
manuth opened this issue Apr 18, 2023 · 3 comments
Closed

yeoman-test uses broken types #178

manuth opened this issue Apr 18, 2023 · 3 comments

Comments

@manuth
Copy link

manuth commented Apr 18, 2023

Hi Yeoman Team
The currently published version of yeoman-test uses a broken @types-package (one that prevents projects from building if they have the most recent glob version somewhere in the dependency tree).

Could you therefore please publish a patch release with its @types/mem-fs-editor set to 7.0.2 or newer?

Thank you so much for your effort!

@mshima
Copy link
Member

mshima commented Apr 18, 2023

Unfortunately it’s a npm design problem.
Updating mem-fs-editor types will not fix the problem.

@manuth
Copy link
Author

manuth commented Apr 18, 2023

@types/mem-fs-editor 7.0.2 and newer use globby instead of glob which therefore fixes the issue with the glob type collision.

I found a workaround that did the trick in my project. I deleted the package-lock.json file and did an npm install as this will automatically install the most recent @types/mem-fs-editor.

So this issue really isn't that urgent

@mshima
Copy link
Member

mshima commented May 14, 2023

main version already has updated packages.
But the problem may persist and is not fixable in our part.
Workarounds like this https://github.com/jhipster/generator-jhipster/blob/16f357c4b47add2340d1ab35cf256afacc27abe6/package.json#L85 could be used.

Closing.

@mshima mshima closed this as completed May 14, 2023
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

No branches or pull requests

2 participants