@nx/react 24.1.0-beta.0 → 24.1.0-beta.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.
@@ -8,6 +8,12 @@ const fs_1 = require("fs");
8
8
  const js_1 = require("@nx/js");
9
9
  const internal_2 = require("@nx/js/internal");
10
10
  const router_plugin_utils_1 = require("./router-plugin-utils");
11
+ const node_module_1 = require("node:module");
12
+ // Node passes a stand-in require, without a cache, require.extensions or
13
+ // Module._load, when an ESM loader hook supplies this module's source, as
14
+ // Yarn PnP does.
15
+ if (!require.cache)
16
+ require = (0, node_module_1.createRequire)(__filename);
11
17
  const reactRouterConfigBlob = '**/react-router.config.{ts,js,cjs,cts,mjs,mts}';
12
18
  exports.createNodes = [
13
19
  reactRouterConfigBlob,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "24.1.0-beta.0",
3
+ "version": "24.1.0-beta.1",
4
4
  "private": false,
5
5
  "description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -105,26 +105,26 @@
105
105
  "@phenomnomnominal/tsquery": "~6.2.0",
106
106
  "minimatch": "10.2.5",
107
107
  "tslib": "^2.3.0",
108
- "@nx/devkit": "24.1.0-beta.0",
109
- "@nx/js": "24.1.0-beta.0",
110
- "@nx/eslint": "24.1.0-beta.0",
111
- "@nx/web": "24.1.0-beta.0",
108
+ "@nx/devkit": "24.1.0-beta.1",
109
+ "@nx/js": "24.1.0-beta.1",
110
+ "@nx/eslint": "24.1.0-beta.1",
111
+ "@nx/web": "24.1.0-beta.1",
112
112
  "semver": "^7.6.3"
113
113
  },
114
114
  "devDependencies": {
115
- "@nx/cypress": "24.1.0-beta.0",
116
- "@nx/playwright": "24.1.0-beta.0",
117
- "@nx/rollup": "24.1.0-beta.0",
118
- "@nx/rsbuild": "24.1.0-beta.0",
119
- "@nx/rspack": "24.1.0-beta.0",
120
- "@nx/vite": "24.1.0-beta.0",
121
- "@nx/vitest": "24.1.0-beta.0",
122
- "@nx/webpack": "24.1.0-beta.0",
123
- "@nx/storybook": "24.1.0-beta.0",
124
- "nx": "24.1.0-beta.0"
115
+ "@nx/cypress": "24.1.0-beta.1",
116
+ "@nx/playwright": "24.1.0-beta.1",
117
+ "@nx/rollup": "24.1.0-beta.1",
118
+ "@nx/rsbuild": "24.1.0-beta.1",
119
+ "@nx/rspack": "24.1.0-beta.1",
120
+ "@nx/vite": "24.1.0-beta.1",
121
+ "@nx/vitest": "24.1.0-beta.1",
122
+ "@nx/webpack": "24.1.0-beta.1",
123
+ "@nx/storybook": "24.1.0-beta.1",
124
+ "nx": "24.1.0-beta.1"
125
125
  },
126
126
  "optionalDependencies": {
127
- "@nx/vite": "24.1.0-beta.0"
127
+ "@nx/vite": "24.1.0-beta.1"
128
128
  },
129
129
  "publishConfig": {
130
130
  "access": "public"