Skip to content

v2.5.0 – ESM Modernization, SSR Fix, Vitest & CI/CD Pipeline

Latest

Choose a tag to compare

@zephinax zephinax released this 06 Nov 08:06
· 4 commits to main since this release

Highlights

• Full ESM & Modern Module Exports: Added "type": "module" and optimized package exports with first-class TypeScript definitions.
• SSR & Next.js Hydration Fix: Guarded createPortal in Modal.tsx against undefined window / SSR contexts.
• Dependency Modernization: Upgraded axios to ^1.8.0 and cleaned up obsolete compile-time dependencies.
• Testing Suite (Vitest): Introduced automated unit and component testing with Vitest, @testing-library/react, and jsdom.
• GitHub Actions CI/CD: Added automated continuous integration pipeline on Node.js 22.
• Documentation Refresh: Corrected component types (type="image"), updated Next.js 16 metadata, and migrated to ESLint 9 flat config.

Changes

• Packaged bundle reduced to just 5 files (~14 KB compressed, ~40 KB unpacked).
• Replaced deprecated assert { type: "json" } in Rollup build config.
• Verified zero CSS setup with pure inline styles architecture.