@nx/expo 23.0.0-rc.3 → 23.0.0

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
- const serveTargetOptions = (0, internal_1.readTargetDefaultsForTarget)('serve', nxJson.targetDefaults)?.options;
126
- if (serveTargetOptions?.port) {
127
- e2ePort = serveTargetOptions.port;
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",
3
+ "version": "23.0.0",
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/devkit": "23.0.0-rc.3",
65
- "@nx/eslint": "23.0.0-rc.3",
66
- "@nx/react": "23.0.0-rc.3",
67
- "@nx/js": "23.0.0-rc.3"
64
+ "@nx/devkit": "23.0.0",
65
+ "@nx/eslint": "23.0.0",
66
+ "@nx/js": "23.0.0",
67
+ "@nx/react": "23.0.0"
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.3"
80
+ "nx": "23.0.0"
81
81
  },
82
82
  "optionalDependencies": {
83
- "@nx/detox": "23.0.0-rc.3",
84
- "@nx/rollup": "23.0.0-rc.3"
83
+ "@nx/detox": "23.0.0",
84
+ "@nx/rollup": "23.0.0"
85
85
  },
86
86
  "executors": "./executors.json",
87
87
  "ng-update": {