You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace auto-discovery with manual component registration v0.2.0 (#3)
BREAKING CHANGES:
- Remove ArizonaSvelteDiscovery class and auto-discovery functionality
- Remove componentsDir and pattern constructor options
- Remove init() and getDiscovery() methods
NEW FEATURES:
- Add registerComponents() method for batch component registration
- Add components option to constructor for immediate registration
- Simplified API focused on manual component management
IMPROVEMENTS:
- Update README with new registration patterns and index.js approach
- Add comprehensive JSDoc documentation with examples
- Add tests for new batch registration functionality
- Remove dependency on import.meta.glob static path limitations
This version provides more control and reliability for component registration
while removing the brittle auto-discovery system that couldn't work across
different project structures.
Users should now register components explicitly:
new ArizonaSvelte({ components: { Counter, HelloWorld } })
0 commit comments