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
  • Loading branch information
remi2257 committed Jan 25, 2023
1 parent d9c27a1 commit e8faab1
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
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
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
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

1 comment on commit e8faab1

@vercel
Copy link

@vercel vercel bot commented on e8faab1 Jan 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-dev-nrwl.vercel.app
nx-five.vercel.app

Please sign in to comment.