Repository navigation
fix(schema-org): add missing Vue exports for schemaAutoImports entries - #728
Conversation
defineDataset, defineMusicAlbum, defineMusicGroup, defineMusicPlaylist, defineMusicRecording, definePodcastEpisode, definePodcastSeason, definePodcastSeries, defineTVEpisode, defineTVSeason, defineTVSeries, and defineService were listed in schemaAutoImports but not exported from @unhead/schema-org/vue, causing Nuxt build failures. Adds regression test to ensure all schemaAutoImports entries are exported from the Vue entry point.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdded 12 new Vue composable exports for additional Schema.org entities (Dataset, Music*, Podcast*, TV*, Service) and a Vitest that asserts every name in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Bundle Size Analysis
|
🔗 Linked issue
Resolves #727
❓ Type of change
📚 Description
schemaAutoImportslisted 12 define functions (defineDataset,defineMusicAlbum,defineMusicGroup,defineMusicPlaylist,defineMusicRecording,definePodcastEpisode,definePodcastSeason,definePodcastSeries,defineTVEpisode,defineTVSeason,defineTVSeries,defineService) that were not exported from@unhead/schema-org/vue, causing Nuxt production build failures. These functions existed in the core runtime and other framework exports (React, Svelte, Solid) but were never added to the Vue composables file.Adds a regression test that asserts every entry in
schemaAutoImportsis exported from the Vue entry point.Summary by CodeRabbit
New Features
Tests