Commit Graph

13 Commits

Author SHA1 Message Date
Chris Daßler
d6be6ec309 Update @react-native/metro-config peer dependency to >=0.79.0
Changed from >=0.79.4 to >=0.79.0 to avoid frequent updates.
This supports React Native 0.79.x series including 0.79.6.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
v1.1.0-beta.5
2025-10-11 14:04:04 +02:00
Chris Daßler
163823dfd9 Lower @react-native/metro-config peer dependency to >=0.79.4
Support React Native 0.79.4 to avoid Flow v0.275.0 compatibility issues
that prevent Jest tests from running properly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
v1.1.0-beta.4
2025-10-11 13:34:55 +02:00
Chris Daßler
41df685c51 chore: bump version to 1.1.0-beta.3
- Lower @react-native/metro-config peer dependency to >=0.79.6
- Enables compatibility with React Native 0.79.x projects

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
v1.1.0-beta.3
2025-10-11 12:57:26 +02:00
Chris Daßler
e05f091342 Fix Metro bundler refresh issue by preventing unnecessary file writes
- Only write auto-generated.d.ts when actual content changes
- Strip timestamp lines when comparing content to detect real changes
- Prevents Metro from refreshing when type content is unchanged
- Fixes flickering "Refreshing..." issue across all connected devices

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
v1.1.0-beta.2
2025-10-05 22:40:57 +02:00
Chris Daßler
6e775258d1 feat: add branch support, sync resolution, and dynamic cache TTL
- Add branch detection in parseRemoteIOR for GitHub and Gitea
- Support fetching from branches in addition to tags
- Implement synchronous remote resolution using sync-fetch
- Add dynamic cache TTL based on version type (beta/rc/branch/stable)
- Export sync functions for Metro bundler usage
- Fix remote component resolution in Metro (no more sync errors)
v1.1.0-beta.1
2025-09-29 12:32:41 +02:00
Chris Daßler
bb44c5c17c Add startup logging for IOR_CACHE_TTL configuration
Show clear cache TTL settings when Metro starts:
- Displays whether cache is disabled (TTL=0)
- Shows custom TTL in human-readable format (e.g., 1m 30s)
- Shows default TTL when no env variable is set
- Includes cache directory location

This helps developers understand what cache settings are active.
1.0.0
2025-08-29 13:05:43 +02:00
Chris Daßler
1f9a177d4c Document IOR_CACHE_TTL environment variable
- Added documentation for cache TTL configuration
- Included usage examples for development scenarios
- Added cache management section with practical examples
2025-08-29 12:47:23 +02:00
Chris Daßler
252416d30c Add configurable cache TTL via environment variable
- IOR_CACHE_TTL environment variable to control cache duration
- Set to 0 to disable caching (always fetch fresh)
- Set to 60000 for 1 minute cache (useful during development)
- Default remains 1 hour (3600000ms)
- Improved logging to show when cache is disabled or expired
2025-08-29 12:18:26 +02:00
Chris Daßler
9c8807a59d Update README 2025-08-29 07:45:08 +02:00
54d0d245d6 Fix package by testing real world examples (#1)
Co-authored-by: Chris Daßler <chris.dassler@me.com>
Reviewed-on: #1
2025-08-29 07:42:17 +02:00
Chris Daßler
7d1935dde5 Add ToDo of missing implementations 2025-08-29 05:19:53 +02:00
Chris Daßler
78697a53db Add implementation guide 2025-08-29 05:08:16 +02:00
Chris Daßler
e1fb6e6acc Initial commit 2025-08-29 04:22:52 +02:00