Skip to content

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

Merged
danielroe merged 5 commits into
mainfrom
module-stub
Jan 9, 2024
Merged

chore: use module-builder stub mode for more accurate types#490
danielroe merged 5 commits into
mainfrom
module-stub

Conversation

@danielroe

Copy link
Copy Markdown
Collaborator

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. (nuxt/module-builder#124)

It's the default for new modules (nuxt/starter#392).

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

@netlify

netlifyBot commented Dec 4, 2023

Copy link
Copy Markdown

Deploy Preview for friendly-lamington-fb5690 canceled.

NameLink
🔨 Latest commit30671f8
🔍 Latest deploy loghttps://app.netlify.com/sites/friendly-lamington-fb5690/deploys/659d1e13d8f72b00083375ec

@codecov

codecovBot commented Jan 9, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (59c0790) 57.04% compared to head (30671f8) 57.12%.

Additional details and impacted files
@@ Coverage Diff @@## main #490 +/- ##
==========================================
+ Coverage 57.04% 57.12% +0.07% 
==========================================
Files 11 11 Lines 724 723 -1 Branches 32 32 ==========================================
Hits 413 413 + Misses 311 310 -1 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielroe
danielroe merged commit 486dc7c into mainJan 9, 2024
@danielroe
danielroe deleted the module-stub branch January 9, 2024 10:22
@github-actionsgithub-actionsBot mentioned this pull request Jun 26, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@danielroe