[ ] π Documentation (updates to the documentation or readme)
[ ] π Bug fix (a non-breaking change that fixes an issue)
[ ] π Enhancement (improving an existing functionality like performance)
[ ] β¨ New feature (a non-breaking change that adds functionality)
[ ] β οΈ Breaking change (fix or feature that would cause existing functionality to change)
π Description
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)
π Linked issue
β Type of change
π Description
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.
Note: I've not updated the root
tsconfig.json
but you could now extend it from.nuxt/tsconfig.json
π Checklist