Skip to content

v1.0.2

Choose a tag to compare

@FlorentinLedy FlorentinLedy released this 12 Oct 14:11
· 7 commits to main since this release

v1.0.2 - Build Fix for TypeScript Compatibility 🛠️

Summary

This release addresses a critical build issue where the library did not properly compile TypeScript definitions, resulting in import errors. The issue is now resolved, ensuring full compatibility with TypeScript projects.

Fixes

  • Build Configuration: Adjusted the tsconfig.json settings to ensure that .d.ts type declaration files are correctly generated in the dist directory.
  • Main Entry Points: Verified that the main JavaScript (index.js) and TypeScript definitions (index.d.ts) are correctly referenced in package.json.
  • Exports: Confirmed all public components and hooks are accessible for import from react-rebac.

Installation

To update to the latest version with the build fix:

npm install react-rebac@latest

Or with Yarn:

yarn add react-rebac@latest

Thank you for your patience, and please report any further issues!