Skip to content

Commit

Permalink
feat(expo): add clean option to prebuild executor (#14212)
Browse files Browse the repository at this point in the history
(cherry picked from commit e8faab1)
  • Loading branch information
remi2257 authored and FrozenPandaz committed Jan 27, 2023
1 parent 90e01e1 commit fb49c7f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/generated/packages/expo/executors/prebuild.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"description": "Create native iOS and Android project files for building natively.",
"type": "object",
"properties": {
"clean": {
"type": "boolean",
"description": "Delete the native folders and regenerate them before applying changes",
"default": false
},
"install": {
"type": "boolean",
"description": "Installing npm packages and CocoaPods.",
Expand Down
1 change: 1 addition & 0 deletions packages/expo/src/executors/prebuild/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { string } from 'yargs';

export interface ExpoPrebuildOptions {
clean: boolean; // default is false
install: boolean; // default is true
platform: 'all' | 'android' | 'ios'; // default is all
template?: string;
Expand Down
5 changes: 5 additions & 0 deletions packages/expo/src/executors/prebuild/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
"description": "Create native iOS and Android project files for building natively.",
"type": "object",
"properties": {
"clean": {
"type": "boolean",
"description": "Delete the native folders and regenerate them before applying changes",
"default": false
},
"install": {
"type": "boolean",
"description": "Installing npm packages and CocoaPods.",
Expand Down

0 comments on commit fb49c7f

Please sign in to comment.