cli
cli copied to clipboard
Export useful utils
Context: https://github.com/nuxt/cli/pull/302 made by @stafyniaksacha initially because of https://github.com/nuxtlabs/nuxt-component-meta/pull/60#discussion_r1391400165 to export some useful utils.
Mainly @nuxt/kit is the canonical place where useful nuxt utils should go and we usually use standard/sharable solutions across the UnJS ecosystem.
I have moved the issue from #302 PR to first think about what tools are really useful that are related to Nuxi CLI itself being exposed, and cannot go to either kit or unjs. (resolution for example is possible via mlly)
Why not exposing all utils from nuxi? It makes internal refactors and versioning harder because of breaking change chances.