Commit 9431e59
authored
fix(bun): use npx for react-native-builder-bob in prepare script (#47)
* fix(bun): use npx for react-native-builder-bob in prepare script
Bun blocks lifecycle scripts by default for security. When users add the package
to trustedDependencies, the prepare script runs but bob is not available since
it's a devDependency. Using npx downloads bob on-demand.
Fixes #38
* fix: exclude test files from build and use npx for bob
- Use npx react-native-builder-bob in prepare script so it works
when installed as a dependency (bob is a devDependency)
- Exclude __tests__ directories from tsconfig.build.json
Fixes #381 parent 58df7da commit 9431e59
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
0 commit comments