Skip to content

Commit

Permalink
fix(boilerplate): remove yarn prebuild script in favor of clean (#2635
Browse files Browse the repository at this point in the history
 by @frankcalise)

[skip ci]
  • Loading branch information
frankcalise authored Feb 21, 2024
1 parent 22c7afc commit f669a32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
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: 5

# `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: 30

# `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

0 comments on commit f669a32

Please sign in to comment.