nuxt-modules / color-mode

Dark and Light mode with auto detection made easy with Nuxt 🌗
https://color-mode.nuxtjs.org
MIT License
1.08k stars 99 forks source link

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

Closed danielroe closed 9 months ago

danielroe commented 9 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 9 months ago

Deploy Preview for nuxt-color-mode canceled.

Name Link
Latest commit 29a436dc3966f9c7170987aa1d1724f3d4b59008
Latest deploy log https://app.netlify.com/sites/nuxt-color-mode/deploys/656de952eade130008a8454f