react-native-roster 0.4.9 → 0.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -0
  2. package/llms.txt +8 -5
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -76,6 +76,12 @@ Without Expo, follow the [Reanimated install guide](https://docs.swmansion.com/r
76
76
  for 3.19 or newer. On React Native older than 0.79, turn on
77
77
  `resolver.unstable_enablePackageExports` in Metro.
78
78
 
79
+ The workspace demo routes the root, `/core`, `/rrule`, and `/nativewind` imports through each
80
+ export's `react-native` condition on web, iOS, and Android. Metro therefore compiles TypeScript
81
+ source edits without rebuilding `dist`; the resolver still uses the package export map rather than
82
+ an alias, and leaves peer and unrelated-package resolution unchanged. Restart the demo server if a
83
+ source edit is not detected.
84
+
79
85
  ### Roster
80
86
 
81
87
  The smallest useful roster: Alex works 09:00 to 17:00 UTC on Monday, and a table
package/llms.txt CHANGED
@@ -170,11 +170,14 @@ core types. Core imports standard JS and Intl only. Only /rrule imports
170
170
  rrule-temporal 1.6.0 and @js-temporal/polyfill 0.5.1. Those are installed runtime
171
171
  dependencies but cannot enter root/core bundles through library imports.
172
172
 
173
- Metro selects TS source via exports' react-native condition. Keep package exports
174
- enabled and one React copy in a workspace. Other resolvers load built CommonJS
175
- from dist/src; declarations use the types condition. Build before Node export
176
- tests. Root needs a native renderer or web bundler; direct Node use of root is
177
- not a substitute for a React Native app. Core and /rrule work in Node/Bun.
173
+ The workspace demo selects TS source for the root, /core, /rrule, and /nativewind
174
+ through each export's react-native condition on web, iOS, and Android. It does not
175
+ alias around the package export map or change conditions for peers and unrelated
176
+ packages. Source edits therefore need no dist rebuild; restart the demo server if
177
+ Metro does not detect one. Other resolvers load built CommonJS from dist/src;
178
+ declarations use the types condition. Build before Node export tests. Root needs a
179
+ native renderer or web bundler; direct Node use of root is not a substitute for a
180
+ React Native app. Core and /rrule work in Node/Bun.
178
181
 
179
182
  ## 0.1.0 slot prop rename
180
183
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-roster",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "Resource timeline and schedule components for React Native and web, with layered intervals, coverage, provenance, and explicit daylight-saving handling.",
5
5
  "keywords": [
6
6
  "react-native",