nuxt-modules / google-fonts

Google Fonts module for NuxtJS
https://google-fonts.nuxtjs.org
MIT License
497 stars 41 forks source link

chore: use module-builder stub mode for more accurate types #167

Closed danielroe closed 7 months ago

danielroe commented 7 months ago

We added a prepare command for nuxt-module-build which allows creating type stubs directly from the module without needing to apply to the playground as well. (https://github.com/nuxt/module-builder/pull/124)

It's the default for new modules (https://github.com/nuxt/starter/pull/392).

This should allow us to match types more appropriately for module authors (for example, disallowing auto-imports) in future.

netlify[bot] commented 7 months ago

Deploy Preview for pedantic-sinoussi-65c819 canceled.

Name Link
Latest commit 3e7ce2088ec4206942929cceff05cf6e0cdde0f5
Latest deploy log https://app.netlify.com/sites/pedantic-sinoussi-65c819/deploys/656de7b80785f80009338619