Repository navigation
Commit ae9e805
authored
## Description
Sets up the long-lived `rne-rewrite` branch that all RNE rewrite PRs
will target (see #1208). Keeps the repo's yarn monorepo layout,
establishes the **core first**, and leaves per-task functionality to
follow as separate block PRs.
- Removes `apps/` and the legacy `packages/react-native-executorch`.
- Stands up the new core package by porting the `rnet-poc` lower-level
API: `cpp/core` (tensor/model/dtype/install/utils), `src/core`, and the
native bridge. `MyLib` → `rnexecutorch` rename throughout. OpenCV and
task extensions are intentionally deferred to the per-task PRs.
- CI: deletes the `apps/llm` native build workflows and the stale
error-code verification step; runs CI on `rne-rewrite`.
- Meta: scopes lint/typecheck/build to the core package; the
`*-resource-fetcher` and `-webrtc` packages stay on disk but are
excluded from CI until their surface is reworked.
### Introduces a breaking change?
- [ ] Yes
- [x] No
(Targets the `rne-rewrite` dev branch; the published package on `main`
is untouched.)
### Type of change
- [ ] Bug fix (change which fixes an issue)
- [ ] New feature (change which adds functionality)
- [ ] Documentation update (improves or adds clarity to existing
documentation)
- [x] Other (chores, tests, code style improvements etc.)
### Tested on
- [ ] iOS
- [ ] Android
### Testing instructions
CI is TypeScript-only here (no native compile). From the repo root:
```
yarn install
yarn workspaces foreach --all --exclude react-native-executorch-bare-resource-fetcher --exclude react-native-executorch-expo-resource-fetcher --exclude react-native-executorch-webrtc --topological-dev run prepare
yarn typecheck
yarn lint
```
All four pass green. On-device native build is a follow-up.
### Related issues
Closes #1255. Part of #1208.
### Checklist
- [x] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the documentation accordingly
- [ ] My changes generate no new warnings
### Additional notes
- Native ExecuTorch `third-party` binaries are **not** committed (see
`packages/react-native-executorch/third-party/README.md`). CI doesn't
need them; provisioning them (ideally via the repo's on-demand artifact
mechanism) is a follow-up. OpenCV is dropped since CV is a later block.
- The `common/phonemis` submodule is retained (unchanged from `main`)
for later use by the TTS block.
- The error-code codegen system is parked (the POC has none);
`scripts/generate-errors.ts` stays dormant for later reintroduction.
- Root submodules (`tokenizers-cpp`, `googletest`) are left in place for
likely reuse by the LLM block; they aren't checked out in CI.
- `react-native-worklets` emits peer-dep warnings (`@babel/core`,
`@react-native/metro-config`) — harmless app-integration peers, not
needed to build the lib.
1 parent bce2a5e commit ae9e805
1,128 files changed
Lines changed: 3592 additions & 303044 deletions
File tree
- .agents/skills
- add-native-extension
- add-task-pipeline
- core-guidelines
- model-schema-validation
- verify-and-build
- .github
- workflows
- apps
- bare-rn
- .bundle
- __tests__
- android
- app
- src/main
- java/com/barern
- res
- drawable
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- gradle/wrapper
- ios
- bare-rn.xcodeproj
- bare-rn.xcworkspace
- bare-rn
- Images.xcassets
- AppIcon.appiconset
- computer-vision
- app
- classification
- instance_segmentation
- object_detection
- ocr_vertical
- ocr
- pose_estimation
- segment_anything
- semantic_segmentation
- style_transfer
- text_to_image
- vision_camera
- assets
- fonts
- icons
- components
- utils
- vision_camera/tasks
- llm
- app
- llm_structured_output
- llm_tool_calling
- llm
- multimodal_llm
- privacy_filter
- assets
- fonts
- icons
- components
- hooks
- utils
- speech
- assets
- components
- screens
- text-embeddings
- app
- clip-embeddings
- text-embeddings
- assets
- components
- utils
- docs/docs
- 01-fundamentals
- 02-benchmarks
- 03-hooks
- 01-natural-language-processing
- 02-computer-vision
- 03-executorch-bindings
- 04-typescript-api
- 01-natural-language-processing
- 02-computer-vision
- 03-executorch-bindings
- 05-utilities
- 07-other
- 08-resource-fetcher
- packages/react-native-executorch
- android
- gradle/wrapper
- libs
- src/main
- cpp
- java/com/swmansion/rnexecutorch
- common
- ada
- pfft
- rnexecutorch
- data_processing
- host_objects
- jsi
- metaprogramming
- models
- classification
- embeddings
- image
- text
- instance_segmentation
- llm
- object_detection
- ocr
- utils
- pose_estimation
- privacy_filter
- semantic_segmentation
- speech_to_text
- common
- schema
- types
- whisper
- style_transfer
- text_to_image
- text_to_speech
- kokoro
- vertical_ocr
- voice_activity_detection
- tests
- integration
- assets
- libs
- stubs
- utils
- unit
- threads
- utils
- utils
- computer_vision
- runner
- encoders
- cpp
- core
- ios
- RnExecutorch.xcodeproj
- RnExecutorch
- scripts
- src
- common
- constants
- ocr
- tts
- controllers
- core
- errors
- hooks
- computer_vision
- general
- natural_language_processing
- modules
- computer_vision
- general
- natural_language_processing
- native
- types
- utils
- llms/context_strategy
- third-party
- android/libs
- cpuinfo/arm64-v8a
- executorch
- arm64-v8a
- x86_64
- opencv-third-party/arm64-v8a
- opencv
- arm64-v8a
- x86_64
- pthreadpool/arm64-v8a
- include
- absl
- base
- internal
- meta
- strings
- internal
- str_format
- types
- internal
- utility
- internal
- c10
- macros
- util
- cpuinfo
- executorch
- ExecuTorchLLM
- extension
- data_loader
- kernel_util
- llm/tokenizers/include/pytorch/tokenizers
- module
- runner_util
- tensor
- threadpool
- kernels
- optimized
- portable
- quantized
- runtime
- backend
- core
- exec_aten
- testing_util
- util
- portable_type
- testing_util
- executor
- test
- kernel
- test
- platform
- test
- schema
- headeronly/macros
- nlohmann
- opencv2
- core
- detail
- hal
- parallel
- backend
- utils
- dnn
- features2d
- hal
- highgui
- imgproc
- detail
- hal
- photo
- legacy
- video
- detail
- legacy
- pthreadpool
- re2
- torch/headeronly
- macros
- util
- ios
- ExecutorchLib.xcframework
- ios-arm64-simulator/ExecutorchLib.framework
- ios-arm64/ExecutorchLib.framework
- ExecutorchLib
- ExecutorchLib.xcodeproj
- ExecutorchLib
- Exported
- libs
- cpuinfo
- executorch
- pthreadpool
- physical-arm64-release
- simulator-arm64-debug
- skills/react-native-executorch
- references
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
0 commit comments