@nx/react
Advanced tools
Comparing version 16.5.0 to 16.5.1
@@ -953,4 +953,13 @@ { | ||
} | ||
}, | ||
"16.5.0-beta.4": { | ||
"version": "16.5.0-beta.4", | ||
"packages": { | ||
"@types/react": { | ||
"version": "18.2.14", | ||
"alwaysAddToPackageJson": false | ||
} | ||
} | ||
} | ||
} | ||
} |
{ | ||
"name": "@nx/react", | ||
"version": "16.5.0", | ||
"version": "16.5.1", | ||
"private": false, | ||
@@ -34,7 +34,7 @@ "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, 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.", | ||
"dependencies": { | ||
"@nrwl/react": "16.5.0", | ||
"@nx/devkit": "16.5.0", | ||
"@nx/js": "16.5.0", | ||
"@nx/linter": "16.5.0", | ||
"@nx/web": "16.5.0", | ||
"@nrwl/react": "16.5.1", | ||
"@nx/devkit": "16.5.1", | ||
"@nx/js": "16.5.1", | ||
"@nx/linter": "16.5.1", | ||
"@nx/web": "16.5.1", | ||
"@phenomnomnominal/tsquery": "~5.0.1", | ||
@@ -50,3 +50,3 @@ "@svgr/webpack": "^8.0.1", | ||
"types": "./index.d.ts", | ||
"gitHead": "eaebcc34f92db2200dab0bde2e2e1dde107a47bf" | ||
"gitHead": "7b7f1e7f72a34cb31cff43ea0ebb80d0eab1ac79" | ||
} |
@@ -25,7 +25,23 @@ "use strict"; | ||
} | ||
const remotesToSkip = new Set((0, find_matching_projects_1.findMatchingProjects)((_a = options.skipRemotes) !== null && _a !== void 0 ? _a : [], context.projectGraph.nodes)); | ||
const remotesToSkip = new Set((_a = (0, find_matching_projects_1.findMatchingProjects)(options.skipRemotes, context.projectGraph.nodes)) !== null && _a !== void 0 ? _a : []); | ||
if (remotesToSkip.size > 0) { | ||
devkit_1.logger.info(`Remotes not served automatically: ${[...remotesToSkip.values()].join(', ')}`); | ||
} | ||
const remotesNotInWorkspace = []; | ||
const knownRemotes = ((_b = moduleFederationConfig.remotes) !== null && _b !== void 0 ? _b : []).filter((r) => { | ||
const validRemote = Array.isArray(r) ? r[0] : r; | ||
return !remotesToSkip.has(validRemote); | ||
if (remotesToSkip.has(validRemote)) { | ||
return false; | ||
} | ||
else if (!context.projectGraph.nodes[validRemote]) { | ||
remotesNotInWorkspace.push(validRemote); | ||
return false; | ||
} | ||
else { | ||
return true; | ||
} | ||
}); | ||
if (remotesNotInWorkspace.length > 0) { | ||
devkit_1.logger.warn(`Skipping serving ${remotesNotInWorkspace.join(', ')} as they could not be found in the workspace. Ensure they are served correctly.`); | ||
} | ||
const remotePorts = knownRemotes.map((r) => context.projectGraph.nodes[r].data.targets['serve'].options.port); | ||
@@ -32,0 +48,0 @@ const devServeApps = !options.devRemotes |
@@ -22,3 +22,3 @@ { | ||
}, | ||
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.", | ||
"description": "List of remote applications to not automatically serve, either statically or in development mode.", | ||
"x-priority": "important" | ||
@@ -25,0 +25,0 @@ }, |
@@ -25,3 +25,19 @@ "use strict"; | ||
const remotesToSkip = new Set((_a = options.skipRemotes) !== null && _a !== void 0 ? _a : []); | ||
const knownRemotes = ((_b = moduleFederationConfig.remotes) !== null && _b !== void 0 ? _b : []).filter((r) => !remotesToSkip.has(r)); | ||
const remotesNotInWorkspace = []; | ||
const knownRemotes = ((_b = moduleFederationConfig.remotes) !== null && _b !== void 0 ? _b : []).filter((r) => { | ||
const validRemote = Array.isArray(r) ? r[0] : r; | ||
if (remotesToSkip.has(validRemote)) { | ||
return false; | ||
} | ||
else if (!context.projectGraph.nodes[validRemote]) { | ||
remotesNotInWorkspace.push(validRemote); | ||
return false; | ||
} | ||
else { | ||
return true; | ||
} | ||
}); | ||
if (remotesNotInWorkspace.length > 0) { | ||
devkit_1.logger.warn(`Skipping serving ${remotesNotInWorkspace.join(', ')} as they could not be found in the workspace. Ensure they are served correctly.`); | ||
} | ||
const devServeApps = !options.devRemotes | ||
@@ -28,0 +44,0 @@ ? [] |
@@ -38,3 +38,3 @@ { | ||
}, | ||
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.", | ||
"description": "List of remote applications to not automatically serve, either statically or in development mode.", | ||
"x-priority": "important" | ||
@@ -41,0 +41,0 @@ }, |
@@ -8,3 +8,3 @@ export declare const nxVersion: any; | ||
export declare const babelLoaderVersion = "^9.1.2"; | ||
export declare const typesReactVersion = "18.2.13"; | ||
export declare const typesReactVersion = "18.2.14"; | ||
export declare const typesReactDomVersion = "18.2.6"; | ||
@@ -11,0 +11,0 @@ export declare const typesReactIsVersion = "18.2.1"; |
@@ -12,3 +12,3 @@ "use strict"; | ||
exports.babelLoaderVersion = '^9.1.2'; | ||
exports.typesReactVersion = '18.2.13'; | ||
exports.typesReactVersion = '18.2.14'; | ||
exports.typesReactDomVersion = '18.2.6'; | ||
@@ -15,0 +15,0 @@ exports.typesReactIsVersion = '18.2.1'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
518668
10337
+ Added@nrwl/devkit@16.5.1(transitive)
+ Added@nrwl/js@16.5.1(transitive)
+ Added@nrwl/linter@16.5.1(transitive)
+ Added@nrwl/react@16.5.1(transitive)
+ Added@nrwl/tao@16.5.1(transitive)
+ Added@nrwl/web@16.5.1(transitive)
+ Added@nrwl/workspace@16.5.1(transitive)
+ Added@nx/devkit@16.5.1(transitive)
+ Added@nx/js@16.5.1(transitive)
+ Added@nx/linter@16.5.1(transitive)
+ Added@nx/nx-darwin-arm64@16.5.1(transitive)
+ Added@nx/nx-darwin-x64@16.5.1(transitive)
+ Added@nx/nx-freebsd-x64@16.5.1(transitive)
+ Added@nx/nx-linux-arm-gnueabihf@16.5.1(transitive)
+ Added@nx/nx-linux-arm64-gnu@16.5.1(transitive)
+ Added@nx/nx-linux-arm64-musl@16.5.1(transitive)
+ Added@nx/nx-linux-x64-gnu@16.5.1(transitive)
+ Added@nx/nx-linux-x64-musl@16.5.1(transitive)
+ Added@nx/nx-win32-arm64-msvc@16.5.1(transitive)
+ Added@nx/nx-win32-x64-msvc@16.5.1(transitive)
+ Added@nx/web@16.5.1(transitive)
+ Added@nx/workspace@16.5.1(transitive)
+ Addednx@16.5.1(transitive)
- Removed@nrwl/devkit@16.5.0(transitive)
- Removed@nrwl/js@16.5.0(transitive)
- Removed@nrwl/linter@16.5.0(transitive)
- Removed@nrwl/react@16.5.0(transitive)
- Removed@nrwl/tao@16.5.0(transitive)
- Removed@nrwl/web@16.5.0(transitive)
- Removed@nrwl/workspace@16.5.0(transitive)
- Removed@nx/devkit@16.5.0(transitive)
- Removed@nx/js@16.5.0(transitive)
- Removed@nx/linter@16.5.0(transitive)
- Removed@nx/nx-darwin-arm64@16.5.0(transitive)
- Removed@nx/nx-darwin-x64@16.5.0(transitive)
- Removed@nx/nx-freebsd-x64@16.5.0(transitive)
- Removed@nx/nx-linux-arm-gnueabihf@16.5.0(transitive)
- Removed@nx/nx-linux-arm64-gnu@16.5.0(transitive)
- Removed@nx/nx-linux-arm64-musl@16.5.0(transitive)
- Removed@nx/nx-linux-x64-gnu@16.5.0(transitive)
- Removed@nx/nx-linux-x64-musl@16.5.0(transitive)
- Removed@nx/nx-win32-arm64-msvc@16.5.0(transitive)
- Removed@nx/nx-win32-x64-msvc@16.5.0(transitive)
- Removed@nx/web@16.5.0(transitive)
- Removed@nx/workspace@16.5.0(transitive)
- Removednx@16.5.0(transitive)
Updated@nrwl/react@16.5.1
Updated@nx/devkit@16.5.1
Updated@nx/js@16.5.1
Updated@nx/linter@16.5.1
Updated@nx/web@16.5.1