@nx/expo 23.0.0-rc.3 → 23.0.0-rc.4
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.
|
@@ -122,9 +122,9 @@ async function addE2e(tree, options) {
|
|
|
122
122
|
async function getExpoE2EWebServerInfo(tree, projectName, configFilePath, isPluginBeingAdded) {
|
|
123
123
|
const nxJson = (0, devkit_1.readNxJson)(tree);
|
|
124
124
|
let e2ePort = isPluginBeingAdded ? 8081 : 4200;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
e2ePort =
|
|
125
|
+
if (nxJson.targetDefaults?.['serve'] &&
|
|
126
|
+
nxJson.targetDefaults?.['serve'].options?.port) {
|
|
127
|
+
e2ePort = nxJson.targetDefaults?.['serve'].options?.port;
|
|
128
128
|
}
|
|
129
129
|
return (0, internal_1.getE2EWebServerInfo)(tree, projectName, {
|
|
130
130
|
plugin: '@nx/expo/plugin',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/expo",
|
|
3
|
-
"version": "23.0.0-rc.
|
|
3
|
+
"version": "23.0.0-rc.4",
|
|
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": [
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"semver": "^7.6.3",
|
|
62
62
|
"tsconfig-paths": "^4.1.2",
|
|
63
63
|
"tslib": "^2.3.0",
|
|
64
|
-
"@nx/
|
|
65
|
-
"@nx/
|
|
66
|
-
"@nx/
|
|
67
|
-
"@nx/
|
|
64
|
+
"@nx/eslint": "23.0.0-rc.4",
|
|
65
|
+
"@nx/devkit": "23.0.0-rc.4",
|
|
66
|
+
"@nx/js": "23.0.0-rc.4",
|
|
67
|
+
"@nx/react": "23.0.0-rc.4"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"expo": ">=53.0.0",
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"nx": "23.0.0-rc.
|
|
80
|
+
"nx": "23.0.0-rc.4"
|
|
81
81
|
},
|
|
82
82
|
"optionalDependencies": {
|
|
83
|
-
"@nx/detox": "23.0.0-rc.
|
|
84
|
-
"@nx/rollup": "23.0.0-rc.
|
|
83
|
+
"@nx/detox": "23.0.0-rc.4",
|
|
84
|
+
"@nx/rollup": "23.0.0-rc.4"
|
|
85
85
|
},
|
|
86
86
|
"executors": "./executors.json",
|
|
87
87
|
"ng-update": {
|