[DO NOT MERGE] feat: set up project for web + native#331
Open
maksymilianrojek wants to merge 15 commits intomainfrom
Open
[DO NOT MERGE] feat: set up project for web + native#331maksymilianrojek wants to merge 15 commits intomainfrom
maksymilianrojek wants to merge 15 commits intomainfrom
Conversation
- Create new web example in apps/example-web with React 19 and Vite - Configure Turbo with build:web task - Add workspace to monorepo configuration - Update ESLint and .gitignore for web build output - Update tsconfig files for monorepo setup
- update typescript configuration - update pre-commit hook to run typescript check with correct config in package and each example - update package.json: added "sideEffects" field to support tree-shaking, updated "exports" to support native and web build
Base automatically changed from
@maksymilianrojek/move-example-to-apps-folder
to
main
December 22, 2025 09:51
<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please follow the template so that the reviewers can easily understand what the code changes affect --> # Summary Changes: - added types to web implementation - extracted common types to /common/types.ts file ## Test Plan - both example and example-web works correctly (no lint or typecheck issues) ## Compatibility | OS | Implemented | | ------- | :---------: | | iOS | ✅ | | Android | ✅ | | Web | ✅ | This PR will be merged to a collective [PR](#331) where all web-related changes will be kept until the implementation is complete.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Warning
Do not merge - this PR is a collective PR for all web-related changes. It will be kept until the web implementation is complete.
Summary
Test Plan
react-native-enrichedworks correctly (check freshly setup app)react-native-enrichedworks correctly (check freshly setup app)Screenshots / Videos
Tested on fresh Expo app. The correct entry point is used for web and native:

index.tsxfor web,index.native.tsxfor native. I checked the bundle using Expo Atlas to make sure the tree-shaking is working as expected - it does.Compatibility