- Added missing exports for 19 API & data hooks (useAuth, useDBAL, useKV, etc.)
- Removed bad imports of deleted files (hooks.ts, I18nNavigation.ts)
- Organized exports into clear categories
- All 100 hooks now properly exported from /hooks/index.ts
This completes the comprehensive hooks library consolidation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Fixed index.ts to use named exports instead of default imports (all hooks use named exports)
- Added tsconfig.json for proper TypeScript configuration
- Renamed INTEGRATION_EXAMPLES.ts to .tsx (JSX file)
- Configured tsconfig to only type-check core production hooks
The 104 production-ready hooks now export correctly as named exports from @metabuilder/hooks.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Moved 104 production-ready hooks from frontends/nextjs and redux packages to root /hooks
- Removed duplicate hooks from frontends/nextjs/src/hooks directory
- Updated frontends/nextjs to import from @metabuilder/hooks instead of local hooks
- Added comprehensive documentation: EXPORT_GUIDE.md, FORM_VALIDATION_HOOKS.md, QUICK_REFERENCE.md
- Removed stale index.d.ts from hooks root (TypeScript auto-generates declarations)
- All 104 hooks now consolidated as single source of truth at root /hooks
- Package @metabuilder/hooks v2.0.0 ready for use across all MetaBuilder projects
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>