You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running pnpm nuxt-component-meta playground --outputDir ../ will remove the parent folder. While this might not be the brightest idea, I think the punishment for it is a bit hard.
Ideally, the cli should only remove its files from the --outputDir directory.
The text was updated successfully, but these errors were encountered:
I had a small surprise while exploring ways to generate types for a Nuxt Module, the directory specified in the
--outputDir
is recursively removed.Reproduction: https://stackblitz.com/edit/stackblitz-starters-kjvwap
Running
pnpm nuxt-component-meta playground --outputDir ../
will remove the parent folder. While this might not be the brightest idea, I think the punishment for it is a bit hard.Ideally, the cli should only remove its files from the
--outputDir
directory.The text was updated successfully, but these errors were encountered: