@nx/expo 22.1.0 → 22.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,8 +23,8 @@ nx run mobile:build-list
|
|
|
23
23
|
|
|
24
24
|
## Examples
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
##### Get Status of Different Platforms
|
|
27
|
+
|
|
28
28
|
The `platform` option allows you to check build status of different platform (e.g. android, ios, all):
|
|
29
29
|
|
|
30
30
|
```json
|
|
@@ -36,8 +36,7 @@ The `platform` option allows you to check build status of different platform (e.
|
|
|
36
36
|
}
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
{% tab label="Get Status Interactively" %}
|
|
39
|
+
##### Get Status Interactively
|
|
41
40
|
|
|
42
41
|
The `interactive` option allows you to specify whether to use interactive mode:
|
|
43
42
|
|
|
@@ -50,8 +49,7 @@ The `interactive` option allows you to specify whether to use interactive mode:
|
|
|
50
49
|
}
|
|
51
50
|
```
|
|
52
51
|
|
|
53
|
-
|
|
54
|
-
{% tab label="Get Status in JSON Format" %}
|
|
52
|
+
##### Get Status in JSON Format
|
|
55
53
|
|
|
56
54
|
The `json` option allows you to print the output in JSON format:
|
|
57
55
|
|
|
@@ -65,7 +63,4 @@ The `json` option allows you to print the output in JSON format:
|
|
|
65
63
|
}
|
|
66
64
|
```
|
|
67
65
|
|
|
68
|
-
{% /tab %}
|
|
69
|
-
{% /tabs %}
|
|
70
|
-
|
|
71
66
|
---
|
package/docs/export-examples.md
CHANGED
|
@@ -26,8 +26,8 @@ nx run mobile:export
|
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
##### Specify outputDir
|
|
30
|
+
|
|
31
31
|
The `outputDir` option allows you to specify the output directory of your bundle:
|
|
32
32
|
|
|
33
33
|
```json
|
|
@@ -45,8 +45,8 @@ The `outputDir` option allows you to specify the output directory of your bundle
|
|
|
45
45
|
|
|
46
46
|
or run command: `nx run mobile:export --outputDir=dist/apps/mobile`.
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
##### Specify the platform
|
|
49
|
+
|
|
50
50
|
The `platform` option allows you to specify the platform to compile with metro bundler: "ios", "android", "all", and "web".
|
|
51
51
|
|
|
52
52
|
For example, to bundle for web:
|
|
@@ -66,8 +66,7 @@ For example, to bundle for web:
|
|
|
66
66
|
|
|
67
67
|
or run command `nx export mobile --platform=web`.
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
{% tab label="Bundle for development" %}
|
|
69
|
+
##### Bundle for development
|
|
71
70
|
|
|
72
71
|
The `dev` option allows you to bundle for development environments.
|
|
73
72
|
|
|
@@ -87,8 +86,7 @@ The `dev` option allows you to bundle for development environments.
|
|
|
87
86
|
|
|
88
87
|
or run command `nx export mobile --dev`.
|
|
89
88
|
|
|
90
|
-
|
|
91
|
-
{% tab label="Clear bundle cache" %}
|
|
89
|
+
##### Clear bundle cache
|
|
92
90
|
|
|
93
91
|
The `clear` option allows you to clear bundle cache.
|
|
94
92
|
|
|
@@ -107,6 +105,3 @@ The `clear` option allows you to clear bundle cache.
|
|
|
107
105
|
```
|
|
108
106
|
|
|
109
107
|
or run command `nx export mobile --clear`.
|
|
110
|
-
|
|
111
|
-
{% /tab %}
|
|
112
|
-
{% /tabs %}
|
|
@@ -23,8 +23,8 @@ nx run mobile:prebuild
|
|
|
23
23
|
|
|
24
24
|
## Examples
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
##### Generate Native Code for Different Platforms
|
|
27
|
+
|
|
28
28
|
The `platform` option allows you to specify the platform to generate native code for (e.g. android, ios, all).
|
|
29
29
|
|
|
30
30
|
```json
|
|
@@ -36,8 +36,7 @@ The `platform` option allows you to specify the platform to generate native code
|
|
|
36
36
|
}
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
{% tab label="Regenerate Native Code" %}
|
|
39
|
+
##### Regenerate Native Code
|
|
41
40
|
|
|
42
41
|
The `clean` option allows you to delete the native folders and regenerate them before apply changes.
|
|
43
42
|
|
|
@@ -50,8 +49,7 @@ The `clean` option allows you to delete the native folders and regenerate them b
|
|
|
50
49
|
}
|
|
51
50
|
```
|
|
52
51
|
|
|
53
|
-
|
|
54
|
-
{% tab label="Install NPM Packages and CocoaPods" %}
|
|
52
|
+
##### Install NPM Packages and CocoaPods
|
|
55
53
|
|
|
56
54
|
The `install` option allows you to install NPM Packages and CocoaPods.
|
|
57
55
|
|
|
@@ -64,7 +62,4 @@ The `install` option allows you to install NPM Packages and CocoaPods.
|
|
|
64
62
|
}
|
|
65
63
|
```
|
|
66
64
|
|
|
67
|
-
{% /tab %}
|
|
68
|
-
{% /tabs %}
|
|
69
|
-
|
|
70
65
|
---
|
package/docs/run-examples.md
CHANGED
|
@@ -32,8 +32,8 @@ nx run mobile:run-android
|
|
|
32
32
|
|
|
33
33
|
## Examples
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
##### Compile Android with Different Variants
|
|
36
|
+
|
|
37
37
|
The `variant` option allows you to specify the compile Android app with variants defined in `build.gradle` file (e.g. debug, release).
|
|
38
38
|
|
|
39
39
|
```json
|
|
@@ -46,8 +46,7 @@ The `variant` option allows you to specify the compile Android app with variants
|
|
|
46
46
|
}
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
{% tab label="Compile iOS with Different Configurations" %}
|
|
49
|
+
##### Compile iOS with Different Configurations
|
|
51
50
|
|
|
52
51
|
The `xcodeConfiguration` option allows you to specify Xcode configuration to use (e.g. Debug or Release).
|
|
53
52
|
|
|
@@ -61,8 +60,7 @@ The `xcodeConfiguration` option allows you to specify Xcode configuration to use
|
|
|
61
60
|
}
|
|
62
61
|
```
|
|
63
62
|
|
|
64
|
-
|
|
65
|
-
{% tab label="Run on a device" %}
|
|
63
|
+
##### Run on a device
|
|
66
64
|
|
|
67
65
|
The `device` option allows you to launch your app in a specific device name or UDID.
|
|
68
66
|
To see all your iOS simulators: run `xcrun simctl list devices available`.
|
|
@@ -85,7 +83,4 @@ To see all your Android emulators, run: `emulator -list-avds`.
|
|
|
85
83
|
}
|
|
86
84
|
```
|
|
87
85
|
|
|
88
|
-
{% /tab %}
|
|
89
|
-
{% /tabs %}
|
|
90
|
-
|
|
91
86
|
---
|
package/docs/start-examples.md
CHANGED
|
@@ -23,8 +23,8 @@ nx run mobile:start
|
|
|
23
23
|
|
|
24
24
|
## Examples
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
##### Specify starting on platform
|
|
27
|
+
|
|
28
28
|
The `ios`, `android` and `web` option allows you to start the server on different platforms.
|
|
29
29
|
|
|
30
30
|
Opens your app in Expo Go in a currently running iOS simulator on your computer:
|
|
@@ -69,8 +69,8 @@ Opens your app in a web browser:
|
|
|
69
69
|
|
|
70
70
|
or run command `nx start <your app name> --web`.
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
##### Specify the host
|
|
73
|
+
|
|
74
74
|
The `host` option allows you to specify the type of host to use. `lan` uses the local network; `tunnel` ues any network by tunnel through ngrok; `localhost` connects to the dev server over localhost.
|
|
75
75
|
|
|
76
76
|
```json
|
|
@@ -83,8 +83,7 @@ The `host` option allows you to specify the type of host to use. `lan` uses the
|
|
|
83
83
|
}
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
{% tab label="Starts the server with cache reset" %}
|
|
86
|
+
##### Starts the server with cache reset
|
|
88
87
|
|
|
89
88
|
The `clear` option allows you to remove Metro bundler cache.
|
|
90
89
|
|
|
@@ -98,7 +97,4 @@ The `clear` option allows you to remove Metro bundler cache.
|
|
|
98
97
|
}
|
|
99
98
|
```
|
|
100
99
|
|
|
101
|
-
{% /tab %}
|
|
102
|
-
{% /tabs %}
|
|
103
|
-
|
|
104
100
|
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/expo",
|
|
3
|
-
"version": "22.1.
|
|
3
|
+
"version": "22.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Expo Plugin for Nx contains executors and generators for managing and developing an expo application within your workspace. For example, you can directly build for different target platforms as well as generate projects and publish your code.",
|
|
6
6
|
"keywords": [
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"main": "./index.js",
|
|
29
29
|
"types": "index.d.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@nx/devkit": "22.1.
|
|
32
|
-
"@nx/eslint": "22.1.
|
|
33
|
-
"@nx/js": "22.1.
|
|
34
|
-
"@nx/react": "22.1.
|
|
31
|
+
"@nx/devkit": "22.1.1",
|
|
32
|
+
"@nx/eslint": "22.1.1",
|
|
33
|
+
"@nx/js": "22.1.1",
|
|
34
|
+
"@nx/react": "22.1.1",
|
|
35
35
|
"enhanced-resolve": "^5.8.3",
|
|
36
36
|
"picocolors": "^1.1.0",
|
|
37
37
|
"tsconfig-paths": "^4.1.2",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"metro-resolver": ">= 0.82.0"
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
|
-
"@nx/detox": "22.1.
|
|
46
|
-
"@nx/rollup": "22.1.
|
|
45
|
+
"@nx/detox": "22.1.1",
|
|
46
|
+
"@nx/rollup": "22.1.1"
|
|
47
47
|
},
|
|
48
48
|
"executors": "./executors.json",
|
|
49
49
|
"ng-update": {
|