Skip to content

feat: extract view system into separate @h3ravel/view package#58

Merged
3m1n3nc3 merged 1 commit into
h3ravel:mainfrom
tusharshah21:refactor/view-system
Oct 1, 2025
Merged

feat: extract view system into separate @h3ravel/view package#58
3m1n3nc3 merged 1 commit into
h3ravel:mainfrom
tusharshah21:refactor/view-system

Conversation

@tusharshah21
Copy link
Copy Markdown
Contributor

Fixes #30

Extracted H3ravel's view/templating system into a standalone @h3ravel/view package for better modularity.

Key Features
✅ Zero Breaking Changes - Existing code works unchanged
✅ Optional Dependency - Core works with/without view package
✅ Laravel-like API - Familiar interface maintained
✅ Complete Test Coverage - 4 new tests, 27/27 passing
✅ TypeScript Support - Full type definitions included

Usage
Install view package:
Without view package: Core framework works normally with graceful fallback warnings.

Benefits
🎯 Modular Architecture - Optional view system
📦 Smaller Core Bundle - Reduced dependencies
🔧 Independent Versioning - View features can evolve separately
⚡ Better Performance - Load only what you need

Testing
All tests pass including new view package functionality. Framework maintains full backward compatibility.

@3m1n3nc3 3m1n3nc3 merged commit 026b1e0 into h3ravel:main Oct 1, 2025
1 check passed
Sign up for free to 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