forked from bitrise-steplib/steps-expo-detach
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstep.yml
91 lines (78 loc) · 3.55 KB
/
step.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
title: '[Beta] Expo Eject'
summary: Creates Xcode and Android Studio projects for your app.
description: |-
Using the The Expo Development CLI to create Xcode and Android Studio projects for your app.
**EXPO DEVELOPMENT CLI** https://docs.expo.io/versions/latest/introduction/installation#local-development-tool-expo-cli
website: https://github.com/bitrise-steplib/steps-expo-detach
source_code_url: https://github.com/bitrise-steplib/steps-expo-detach
support_url: https://github.com/bitrise-steplib/steps-expo-detach/issues
project_type_tags:
- react-native
type_tags:
- utility
toolkit:
go:
package_name: github.com/bitrise-steplib/steps-expo-detach
inputs:
- project_path: $BITRISE_SOURCE_DIR
opts:
title: Working directory
summary: The root directory of the React Native project
description: |-
The root directory of the React Native project (the directory of the project package.js file).
- expo_cli_verson: "latest"
opts:
title: Expo CLI version
summary: Specify the Expo CLI version to install.
description: |-
Specify the Expo CLI version to install.
The Expo CLI ejects your project and creates Xcode and Android Studio projects for your app.
[https://docs.expo.io/versions/latest/introduction/installation#local-development-tool-expo-cli](https://docs.expo.io/versions/latest/introduction/installation#local-development-tool-expo-cli)
A couple of examples:
* "3.0.0"
* latest
is_required: "true"
- user_name: ""
opts:
title: Username for Expo
summary: Username for Expo
description: |-
Your account's username for `https://expo.io/` .
In case of React Native project __using Expo Kit__ library (any .js file imports expo),
the `user_name` and `password` inputs are __required__.
If you provide these inputs the step will run: `expo eject --eject-method expoKit`,
otherwise: `expo eject --eject-method bare`.
**NOTE:** You need to use your username and not your e-mail address.
- password: ""
opts:
title: Password for your Expo account
summary: Password for your Expo account.
description: |-
Your password for `https://expo.io/` .
In case of React Native project __using Expo Kit__ library (any .js file imports expo),
the `user_name` and `password` inputs are __required__.
If you provide these inputs the step will run: `expo eject --eject-method expoKit`,
otherwise: `expo eject --eject-method bare`.
is_sensitive: true
- run_publish: "no"
opts:
title: Run expo publish after eject?
summary: Should the step run `expo publish` after eject?
description: |-
Should the step run `expo publish` after eject?
In case of React Native project using Expo Kit library (any .js file imports expo),
`expo publis` command generates the:
- ./android/app/src/main/assets/shell-app-manifest.json
- ./android/app/src/main/assets/shell-app.bundle
- ./ios/bitriseexpokit/Supporting/shell-app-manifest.json
- ./ios/bitriseexpokit/Supporting/shell-app.bundle
files, which are required for the native builds.
value_options:
- "yes"
- "no"
- override_react_native_version:
opts:
title: React Native version to set in package.json
summary: React Native version to set in package.json after the eject process.
description: |-
React Native version to set in package.json after the eject process.