Skip to content

Commit c627eab

Browse files
committed
chore: scaffold rne-rewrite target branch (#1255)
Set up the base for all RNE rewrite PRs (see #1208). - Remove apps/ and the legacy packages/react-native-executorch. - Stand 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 deferred to the per-task block PRs. - Native ExecuTorch third-party binaries are NOT committed; CI is TypeScript-only and does not compile native code. They are provisioned separately before an on-device build (see third-party/README.md); wiring the on-demand mechanism is a follow-up. - CI: drop the apps/llm native build workflows and the stale error-code verification step; run CI on the rne-rewrite branch. - GitHub meta: scope lint/typecheck/build to the core package and keep the resource-fetcher and webrtc packages on disk but excluded from CI until their surface is reworked.
1 parent bce2a5e commit c627eab

1,053 files changed

Lines changed: 2928 additions & 295072 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.cspell-wordlist.txt‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ detr
132132
metaprogramming
133133
ktlint
134134
lefthook
135+
dtype
136+
numel
137+
metas
138+
Metas
139+
ndim
140+
nbytes
135141
espeak
136142
KOMODO
137143
DUNGENESS

‎.github/dependabot.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ updates:
44
directories:
55
- "/"
66
- "/packages/*"
7-
- "/apps/*"
87
- "/docs"
98
schedule:
109
interval: "monthly"

‎.github/workflows/build-android-llm-example.yml‎

Lines changed: 0 additions & 79 deletions
This file was deleted.

‎.github/workflows/build-ios-llm-example.yml‎

Lines changed: 0 additions & 66 deletions
This file was deleted.

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ on:
33
push:
44
branches:
55
- main
6+
- rne-rewrite
67
pull_request:
78
branches:
89
- main
10+
- rne-rewrite
911
merge_group:
1012
types:
1113
- checks_requested
@@ -24,15 +26,7 @@ jobs:
2426
run: yarn lint
2527

2628
- name: Typecheck files
27-
run: yarn workspaces foreach --all --topological-dev run prepare && yarn typecheck
28-
29-
- name: Verify error codes are up to date
30-
run: |
31-
yarn codegen:errors
32-
git diff --exit-code -- \
33-
packages/react-native-executorch/src/errors/ErrorCodes.ts \
34-
packages/react-native-executorch/common/rnexecutorch/ErrorCodes.h \
35-
|| { echo "::error::Error codes are stale. Run 'yarn codegen:errors' and commit the result."; exit 1; }
29+
run: 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
3630

3731
build-library:
3832
runs-on: ubuntu-latest
@@ -44,4 +38,4 @@ jobs:
4438
uses: ./.github/actions/setup
4539

4640
- name: Build all packages
47-
run: yarn workspaces foreach --all --topological-dev run prepare
41+
run: 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

‎.gitignore‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,11 @@ lib/
8888
ios/generated
8989
android/generated
9090
apps/*/ios/
91-
!apps/bare_rn/ios/
9291
apps/*/android/
93-
!apps/bare_rn/android/
9492

9593
# generated TypeDoc API reference (regenerated at build time)
9694
docs/docs/06-api-reference/
9795

98-
# integration test model assets
99-
packages/react-native-executorch/common/rnexecutorch/tests/integration/assets/models/
100-
10196
# custom
10297
*.tgz
10398
Makefile

‎apps/bare-rn/.bundle/config‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎apps/bare-rn/.eslintrc.js‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎apps/bare-rn/.gitignore‎

Lines changed: 0 additions & 80 deletions
This file was deleted.

‎apps/bare-rn/.prettierrc.js‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)