UNPKG

@nx/react

Version:

The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook. - Generators for applica

30 lines (29 loc) 1.89 kB
"use strict"; // Module Federation runtime + bundler-specific deps live here. Framework // versions (react, react-dom, @types/*, typescript) are owned by @nx/react // (../../utils/versions) and @nx/js so each dep has a single source of truth. Object.defineProperty(exports, "__esModule", { value: true }); exports.rspackDevServerVersion = exports.rspackCliVersion = exports.rspackCoreVersion = exports.moduleFederationRsbuildPluginVersion = exports.rsbuildPluginReactVersion = exports.rsbuildCoreVersion = exports.vitejsPluginReactVersion = exports.viteVersion = exports.moduleFederationRuntimeVersion = exports.moduleFederationVitePluginVersion = exports.moduleFederationEnhancedVersion = void 0; // Module Federation runtime packages. Keep `runtime` on the same major as // `enhanced` / the `vite` plugin (both pull runtime 2.4.x). A 0.x runtime in // the consumer would mismatch the 2.x runtime baked into the providers. exports.moduleFederationEnhancedVersion = '^2.4.0'; exports.moduleFederationVitePluginVersion = '^1.15.5'; exports.moduleFederationRuntimeVersion = '^2.4.0'; // Vite stack. exports.viteVersion = '^8.0.13'; exports.vitejsPluginReactVersion = '^6.0.2'; // Rsbuild stack. exports.rsbuildCoreVersion = '^1.4.0'; exports.rsbuildPluginReactVersion = '^1.3.0'; // Official MF rsbuild integration. Peers @rsbuild/core ^1.3.21, so the pin // above satisfies it. Used instead of @module-federation/enhanced/rspack so // the federation config is a first-class rsbuild plugin, not a tools.rspack hack. exports.moduleFederationRsbuildPluginVersion = '^2.5.0'; // Rspack stack. exports.rspackCoreVersion = '^2.0.3'; exports.rspackCliVersion = '^2.0.3'; // Pinned (no ^) to dodge the broken 2.0.2 publish, which ships no dist/ so // @rspack/cli can't load it for `rspack serve`. Re-float to ^ once upstream // republishes a fixed 2.0.3+. exports.rspackDevServerVersion = '2.0.1';