Currently, the nuxt-component-meta CLI does not resolve components correctly for modules.
Here's a reproduction: https://stackblitz.com/edit/stackblitz-starters-kjvwap
Running pnpm nuxt-component-meta . does not find any components in the module. Although pnpm nuxt-component-meta src/runtime will find components, it will not resolve any types from #build since the build directory will not be resolved correctly.
The expected behaviour would be to generate component meta for a Nuxt Module when running pnpm nuxt-component-meta ..
Currently, the
nuxt-component-metaCLI does not resolve components correctly for modules.Here's a reproduction: https://stackblitz.com/edit/stackblitz-starters-kjvwap
Running
pnpm nuxt-component-meta .does not find any components in the module. Althoughpnpm nuxt-component-meta src/runtimewill find components, it will not resolve any types from#buildsince the build directory will not be resolved correctly.The expected behaviour would be to generate component meta for a Nuxt Module when running
pnpm nuxt-component-meta ..