Conversation
# Why The `generate` package script in `@expo/config-types` was broken after #44057 was merged. # How Added missing `devDependencies` to `@expo/config-types`'s `package.json`. # Test Plan Tested by running the `generate` package script. # Checklist - [ ] I added a `changelog.md` entry and rebuilt the package sources according to [this short guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting) - [x] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
# Why Synchronizes the JSON schema from `expo/universe` with the types here in `@expo/config-types` # How `pnpm generate --path ../../../universe/server/www/xdl-schemas/UNVERSIONED-schema.json` in `packages/config-types`. # Test Plan - CI # Checklist - [ ] I added a `changelog.md` entry and rebuilt the package sources according to [this short guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting) - [x] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
…43955) ## Why Split from the larger scroll position tracking PR per @intergalacticspacehighway feedback. Scroll position state and callbacks (`onScrollPositionChange`, `scrollToID`, `id()`) are deferred pending worklet callback support (#44214). `scrollTargetLayout` was converted from a VStack/HStack prop to a modifier, matching SwiftUI's API surface. ## What - `scrollTargetBehavior()` modifier: `paging` or `viewAligned` scroll snapping - `scrollTargetLayout()` modifier: marks a stack as a scroll target layout - `ScrollTargetBehaviorModifier.swift`, `ScrollTargetLayoutModifier.swift` registered in `ViewModifierRegistry` - TS exports in `modifiers/index.ts` with `BuiltInModifier` union entries ```tsx <ScrollView modifiers={[scrollTargetBehavior('paging')]}> <VStack modifiers={[scrollTargetLayout()]}> {items.map(item => ( <Text key={item.id}>{item.text}</Text> ))} </VStack> </ScrollView> ``` ## Test plan - `yarn build` passes - `npx tsc --noEmit` passes - `yarn test` passes (42/42) - `yarn lint --fix` passes (0 errors, 0 warnings) - Swift compiles (ExpoUI target) - Both modifiers have `#available(iOS 17.0, tvOS 17.0, macOS 14.0, *)` guards
…patibility (#44510) # Why The README says the library supports JSON Schema Draft 06, but the `JSONSchema` TypeScript interface is still Draft 04 in two places: - `id` — Draft 06 renamed this to `$id` - `exclusiveMinimum`/`exclusiveMaximum` — Draft 04 used a boolean alongside `minimum`/`maximum`; Draft 06 changed these to standalone numeric bounds Writing a valid Draft 06 schema like `{ "$id": "...", "exclusiveMinimum": 0 }` gives TypeScript errors even though the runtime validator already handles both forms correctly (see `validate.ts` lines 198–230). Closes #44348. # How Added `$id?: string` alongside `id` (marked `id` as `@deprecated`). Widened `exclusiveMinimum` and `exclusiveMaximum` from `boolean` to `boolean | number`. Added JSDoc to clarify which value corresponds to which draft. No changes to runtime logic. # Test Plan - `CI=1 pnpm test` — all 57 tests pass - `pnpm build` — clean # Checklist - [x] I added a `changelog.md` entry and rebuilt the package sources according to [this short guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
# Why The options for `@config-plugins/react-native-branch` should be set in the config plugin as opposed to the main Expo config. Closes #28084 # How Ran the `generate` package script in `@expo/config-types`. # Test Plan - CI # Checklist - [ ] I added a `changelog.md` entry and rebuilt the package sources according to [this short guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting) - [x] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
# Why Add the new context feature from #44361 to the README.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )