@nx/remix 23.0.0-rc.2 → 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.
@@ -98,9 +98,9 @@ async function getRemixE2EWebServerInfo(tree, projectName, configFilePath, isPlu
98
98
  const nxJson = (0, devkit_1.readNxJson)(tree);
99
99
  let e2ePort = isPluginBeingAdded ? 3000 : 4200;
100
100
  const defaultServeTarget = isPluginBeingAdded ? 'dev' : 'serve';
101
- const serveTargetOptions = (0, internal_1.readTargetDefaultsForTarget)(defaultServeTarget, nxJson.targetDefaults)?.options;
102
- if (serveTargetOptions?.port) {
103
- e2ePort = serveTargetOptions.port;
101
+ if (nxJson.targetDefaults?.[defaultServeTarget] &&
102
+ nxJson.targetDefaults?.[defaultServeTarget].options?.port) {
103
+ e2ePort = nxJson.targetDefaults?.[defaultServeTarget].options?.port;
104
104
  }
105
105
  return (0, internal_1.getE2EWebServerInfo)(tree, projectName, {
106
106
  plugin: '@nx/remix/plugin',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/remix",
3
- "version": "23.0.0-rc.2",
3
+ "version": "23.0.0-rc.4",
4
4
  "description": "The Remix plugin for Nx contains executors and generators for managing Remix applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Vitest, Jest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, routes, loaders, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -56,15 +56,15 @@
56
56
  "dependencies": {
57
57
  "tslib": "^2.3.0",
58
58
  "@phenomnomnominal/tsquery": "~6.2.0",
59
- "@nx/devkit": "23.0.0-rc.2",
60
- "@nx/js": "23.0.0-rc.2",
61
- "@nx/web": "23.0.0-rc.2",
62
- "@nx/react": "23.0.0-rc.2"
59
+ "@nx/js": "23.0.0-rc.4",
60
+ "@nx/devkit": "23.0.0-rc.4",
61
+ "@nx/react": "23.0.0-rc.4",
62
+ "@nx/web": "23.0.0-rc.4"
63
63
  },
64
64
  "devDependencies": {
65
- "@nx/eslint": "23.0.0-rc.2",
66
- "nx": "23.0.0-rc.2",
67
- "@nx/vitest": "23.0.0-rc.2"
65
+ "@nx/eslint": "23.0.0-rc.4",
66
+ "nx": "23.0.0-rc.4",
67
+ "@nx/vitest": "23.0.0-rc.4"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "@remix-run/dev": "^2.0.0"