Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(boilerplate): remove yarn prebuild script in favor of clean #2635

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions boilerplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"web": "npx expo start --web",
"bundle:web": "npx expo export --platform web",
"serve:web": "npx server dist",
"prebuild:clean": "npx expo prebuild --clean",
"prebuild": "npx expo prebuild"
"prebuild:clean": "npx expo prebuild --clean"
},
"dependencies": {
"@expo-google-fonts/space-grotesk": "^0.2.2",
Expand Down
2 changes: 1 addition & 1 deletion docs/boilerplate/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_position: 20

# `android`

If you choose the `DIY` option when spinning up a new app (or you run `yarn prebuild`) you'll get an `android` (and probably [`ios`](./ios.md)) folder in your project root. This folder contains your native Android / Android Studio project, which has been pre-configured to work with React Native.
If you choose the `DIY` option when spinning up a new app (or you run `yarn prebuild:clean`) you'll get an `android` (and probably [`ios`](./ios.md)) folder in your project root. This folder contains your native Android / Android Studio project, which has been pre-configured to work with React Native.

We generally recommend using the [Expo CNG (continuous native generation)](../expo/CNG.md) workflow, but if you need to customize your native code manually, you can do so here.

Expand Down
2 changes: 1 addition & 1 deletion docs/boilerplate/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_position: 20

# `ios` folder

If you choose the `DIY` option when spinning up a new app (or you run `yarn prebuild`) you'll get an `ios` (and probably [`android`](./android.md)) folder in your project root. This folder contains your native iOS / Xcode project, which has been pre-configured to work with React Native.
If you choose the `DIY` option when spinning up a new app (or you run `yarn prebuild:clean`) you'll get an `ios` (and probably [`android`](./android.md)) folder in your project root. This folder contains your native iOS / Xcode project, which has been pre-configured to work with React Native.

We generally recommend using the [Expo CNG (continuous native generation)](../expo/CNG.md) workflow, but if you need to customize your native code manually, you can do so here.

Expand Down