Skip to content

Commit fea6dbf

Browse files
pweglikchmjkb
andauthored
fix: Fixed yarn prepare failure (#439)
## Description `yarn prepare` was failing on main and I couldn't install library locally properly. It works with those changes. Reviewers, please check if `yarn prepare` works at main for you - maybe it is a gimmick of my local setup? Also bumped required version of node as new builder-bob requires it. ### Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update (improves or adds clarity to existing documentation) --------- Co-authored-by: chmjkb <jakubchmura1607@gmail.com>
1 parent 1141a86 commit fea6dbf

6 files changed

Lines changed: 79 additions & 408 deletions

File tree

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18
1+
v20
22.4 KB
Binary file not shown.

packages/react-native-executorch/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.4.2",
44
"description": "An easy way to run AI models in React Native with ExecuTorch",
55
"source": "./src/index.ts",
6-
"main": "./lib/commonjs/index.js",
6+
"main": "./lib/module/index.js",
77
"module": "./lib/module/index.js",
88
"types": "./lib/typescript/index.d.ts",
99
"react-native": "src/index",
@@ -71,7 +71,8 @@
7171
"metro-react-native-babel-preset": "^0.77.0",
7272
"react": "19.0.0",
7373
"react-native": "0.79.2",
74-
"react-native-builder-bob": "^0.30.2"
74+
"react-native-builder-bob": "^0.40.12",
75+
"typescript": "~5.8.3"
7576
},
7677
"resolutions": {
7778
"@types/react": "^18.2.44"
File renamed without changes.

packages/react-native-executorch/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"rootDir": "src",
5-
"outDir": "lib",
5+
"tsBuildInfoFile": "./lib/typescript/tsconfig.tsbuildinfo",
66
"composite": true,
77
"allowJs": false,
88
"allowUnreachableCode": false,

0 commit comments

Comments
 (0)