@module-federation/modern-js-v3 2.2.2 → 2.3.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.
@@ -77,7 +77,7 @@ var __webpack_exports__ = {};
77
77
  if (parentDir === packageRoot) throw new Error(`Unable to resolve package root for ${packageName} from ${packageEntry}`);
78
78
  packageRoot = parentDir;
79
79
  }
80
- return require.resolve(external_path_default().join(packageRoot, 'true' === process.env.IS_ESM_BUILD ? esmRelativePath : cjsRelativePath));
80
+ return require.resolve(external_path_default().join(packageRoot, 'true' === process.env['IS_ESM_BUILD'] ? esmRelativePath : cjsRelativePath));
81
81
  };
82
82
  const resolveSharedStrategyPlugin = ()=>resolvePackageFile('@module-federation/modern-js-v3', 'dist/esm/cli/mfRuntimePlugins/shared-strategy.mjs', 'dist/cjs/cli/mfRuntimePlugins/shared-strategy.js');
83
83
  const resolveInjectNodeFetchPlugin = ()=>resolvePackageFile('@module-federation/modern-js-v3', 'dist/esm/cli/mfRuntimePlugins/inject-node-fetch.mjs', 'dist/cjs/cli/mfRuntimePlugins/inject-node-fetch.js');
@@ -28,7 +28,7 @@ function __webpack_require__(moduleId) {
28
28
  return module.exports;
29
29
  }
30
30
  var defaultPath = path.resolve(process.cwd(), 'module-federation.config.ts');
31
- var resolvePackageFile = function(packageName, esmRelativePath, cjsRelativePath) {
31
+ var configPlugin_resolvePackageFile = function(packageName, esmRelativePath, cjsRelativePath) {
32
32
  var packageEntry = require.resolve(packageName);
33
33
  var packageRoot = path.dirname(packageEntry);
34
34
  while(!fs.existsSync(path.join(packageRoot, 'package.json'))){
@@ -36,24 +36,24 @@ var resolvePackageFile = function(packageName, esmRelativePath, cjsRelativePath)
36
36
  if (parentDir === packageRoot) throw new Error("Unable to resolve package root for ".concat(packageName, " from ").concat(packageEntry));
37
37
  packageRoot = parentDir;
38
38
  }
39
- return require.resolve(path.join(packageRoot, 'true' === process.env.IS_ESM_BUILD ? esmRelativePath : cjsRelativePath));
39
+ return require.resolve(path.join(packageRoot, 'true' === process.env['IS_ESM_BUILD'] ? esmRelativePath : cjsRelativePath));
40
40
  };
41
- var resolveSharedStrategyPlugin = function() {
42
- return resolvePackageFile('@module-federation/modern-js-v3', 'dist/esm/cli/mfRuntimePlugins/shared-strategy.mjs', 'dist/cjs/cli/mfRuntimePlugins/shared-strategy.js');
41
+ var configPlugin_resolveSharedStrategyPlugin = function() {
42
+ return configPlugin_resolvePackageFile('@module-federation/modern-js-v3', 'dist/esm/cli/mfRuntimePlugins/shared-strategy.mjs', 'dist/cjs/cli/mfRuntimePlugins/shared-strategy.js');
43
43
  };
44
- var resolveInjectNodeFetchPlugin = function() {
45
- return resolvePackageFile('@module-federation/modern-js-v3', 'dist/esm/cli/mfRuntimePlugins/inject-node-fetch.mjs', 'dist/cjs/cli/mfRuntimePlugins/inject-node-fetch.js');
44
+ var configPlugin_resolveInjectNodeFetchPlugin = function() {
45
+ return configPlugin_resolvePackageFile('@module-federation/modern-js-v3', 'dist/esm/cli/mfRuntimePlugins/inject-node-fetch.mjs', 'dist/cjs/cli/mfRuntimePlugins/inject-node-fetch.js');
46
46
  };
47
- var resolveNodeRuntimePlugin = function() {
48
- return resolvePackageFile('@module-federation/node', 'dist/src/runtimePlugin.mjs', 'dist/src/runtimePlugin.js');
47
+ var configPlugin_resolveNodeRuntimePlugin = function() {
48
+ return configPlugin_resolvePackageFile('@module-federation/node', 'dist/src/runtimePlugin.mjs', 'dist/src/runtimePlugin.js');
49
49
  };
50
- var resolveNodeRecordRemoteHashPlugin = function() {
51
- return resolvePackageFile('@module-federation/node', 'dist/src/recordDynamicRemoteEntryHashPlugin.mjs', 'dist/src/recordDynamicRemoteEntryHashPlugin.js');
50
+ var configPlugin_resolveNodeRecordRemoteHashPlugin = function() {
51
+ return configPlugin_resolvePackageFile('@module-federation/node', 'dist/src/recordDynamicRemoteEntryHashPlugin.mjs', 'dist/src/recordDynamicRemoteEntryHashPlugin.js');
52
52
  };
53
53
  function setEnv(enableSSR) {
54
54
  if (enableSSR) process.env['MF_SSR_PRJ'] = 'true';
55
55
  }
56
- var getMFConfig = function(userConfig) {
56
+ var configPlugin_getMFConfig = function(userConfig) {
57
57
  return _(function() {
58
58
  var config, configPath, mfConfigPath, createJiti, jit, configModule, resolvedConfig;
59
59
  return _ts_generator__(this, function(_state) {
@@ -84,7 +84,7 @@ var getMFConfig = function(userConfig) {
84
84
  });
85
85
  })();
86
86
  };
87
- var injectRuntimePlugins = function(runtimePlugin, runtimePlugins) {
87
+ var configPlugin_injectRuntimePlugins = function(runtimePlugin, runtimePlugins) {
88
88
  var pluginName = 'string' == typeof runtimePlugin ? runtimePlugin : runtimePlugin[0];
89
89
  var hasPlugin = runtimePlugins.some(function(existingPlugin) {
90
90
  if ('string' == typeof existingPlugin) return existingPlugin === pluginName;
@@ -92,7 +92,7 @@ var injectRuntimePlugins = function(runtimePlugin, runtimePlugins) {
92
92
  });
93
93
  if (!hasPlugin) runtimePlugins.push(runtimePlugin);
94
94
  };
95
- var patchDTSConfig = function(mfConfig, isServer) {
95
+ var configPlugin_patchDTSConfig = function(mfConfig, isServer) {
96
96
  if (isServer) return;
97
97
  var ModernJSRuntime = '@module-federation/modern-js-v3/runtime';
98
98
  if (false !== mfConfig.dts) {
@@ -118,17 +118,17 @@ var patchDTSConfig = function(mfConfig, isServer) {
118
118
  }
119
119
  }
120
120
  };
121
- var patchMFConfig = function(mfConfig, isServer) {
121
+ var configPlugin_patchMFConfig = function(mfConfig, isServer) {
122
122
  addDataFetchExposes(mfConfig.exposes, isServer);
123
123
  if (void 0 === mfConfig.remoteType) mfConfig.remoteType = "script";
124
124
  if (!mfConfig.name) throw new Error("".concat(PLUGIN_IDENTIFIER, " mfConfig.name can not be empty!"));
125
125
  var runtimePlugins = _to_consumable_array__(mfConfig.runtimePlugins || []);
126
- patchDTSConfig(mfConfig, isServer);
127
- injectRuntimePlugins(resolveSharedStrategyPlugin(), runtimePlugins);
126
+ configPlugin_patchDTSConfig(mfConfig, isServer);
127
+ configPlugin_injectRuntimePlugins(configPlugin_resolveSharedStrategyPlugin(), runtimePlugins);
128
128
  if (isServer) {
129
- injectRuntimePlugins(resolveNodeRuntimePlugin(), runtimePlugins);
130
- if (isDev()) injectRuntimePlugins(resolveNodeRecordRemoteHashPlugin(), runtimePlugins);
131
- injectRuntimePlugins(resolveInjectNodeFetchPlugin(), runtimePlugins);
129
+ configPlugin_injectRuntimePlugins(configPlugin_resolveNodeRuntimePlugin(), runtimePlugins);
130
+ if (isDev()) configPlugin_injectRuntimePlugins(configPlugin_resolveNodeRecordRemoteHashPlugin(), runtimePlugins);
131
+ configPlugin_injectRuntimePlugins(configPlugin_resolveInjectNodeFetchPlugin(), runtimePlugins);
132
132
  if (mfConfig.library) {
133
133
  if (!mfConfig.library.type) mfConfig.library.type = 'commonjs-module';
134
134
  if (!mfConfig.library.name) mfConfig.library.name = mfConfig.name;
@@ -215,7 +215,7 @@ function patchBundlerConfig(options) {
215
215
  if (isDev() && enableSSR && !isServer) chain.resolve.fallback.set('crypto', false).set('stream', false).set('vm', false);
216
216
  if ((null == (_modernjsConfig_deploy = modernjsConfig.deploy) ? void 0 : _modernjsConfig_deploy.microFrontend) && Object.keys(mfConfig.exposes || {}).length) chain.optimization.usedExports(false);
217
217
  }
218
- var moduleFederationConfigPlugin = function(userConfig) {
218
+ var configPlugin_moduleFederationConfigPlugin = function(userConfig) {
219
219
  return {
220
220
  name: '@modern-js/plugin-module-federation-config',
221
221
  pre: [
@@ -233,7 +233,7 @@ var moduleFederationConfigPlugin = function(userConfig) {
233
233
  modernjsConfig = api.getConfig();
234
234
  return [
235
235
  4,
236
- getMFConfig(userConfig.originPluginOptions)
236
+ configPlugin_getMFConfig(userConfig.originPluginOptions)
237
237
  ];
238
238
  case 1:
239
239
  mfConfig = _state.sent();
@@ -249,7 +249,7 @@ var moduleFederationConfigPlugin = function(userConfig) {
249
249
  var isWeb = isWebTarget(target);
250
250
  addMyTypes2Ignored(chain, isWeb ? csrConfig : ssrConfig);
251
251
  var targetMFConfig = isWeb ? csrConfig : ssrConfig;
252
- patchMFConfig(targetMFConfig, !isWeb);
252
+ configPlugin_patchMFConfig(targetMFConfig, !isWeb);
253
253
  if ((null == (_modernjsConfig_source = modernjsConfig.source) ? void 0 : _modernjsConfig_source.enableAsyncEntry) !== true && (null == (_targetMFConfig_experiments = targetMFConfig.experiments) ? void 0 : _targetMFConfig_experiments.asyncStartup) !== false) {
254
254
  var _targetMFConfig;
255
255
  (_targetMFConfig = targetMFConfig).experiments || (_targetMFConfig.experiments = {});
@@ -315,5 +315,5 @@ var moduleFederationConfigPlugin = function(userConfig) {
315
315
  }
316
316
  };
317
317
  };
318
- var configPlugin = moduleFederationConfigPlugin;
319
- export { addMyTypes2Ignored, configPlugin as default, getMFConfig, isWebTarget, moduleFederationConfigPlugin, patchBundlerConfig, patchMFConfig, setEnv, skipByTarget };
318
+ var configPlugin = configPlugin_moduleFederationConfigPlugin;
319
+ export { addMyTypes2Ignored, configPlugin as default, configPlugin_getMFConfig as getMFConfig, isWebTarget, configPlugin_moduleFederationConfigPlugin as moduleFederationConfigPlugin, patchBundlerConfig, configPlugin_patchMFConfig as patchMFConfig, setEnv, skipByTarget };
@@ -6,7 +6,7 @@ import { moduleFederationConfigPlugin } from "./configPlugin.mjs";
6
6
  import { moduleFederationSSRPlugin } from "./ssrPlugin.mjs";
7
7
  import { isWebTarget } from "./utils.mjs";
8
8
  import { createModuleFederationConfig } from "@module-federation/enhanced";
9
- var moduleFederationPlugin = function() {
9
+ var cli_moduleFederationPlugin = function() {
10
10
  var userConfig = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
11
11
  var _userConfig_fetchServerQuery, _userConfig_secondarySharedTreeShaking;
12
12
  var internalModernPluginOptions = {
@@ -64,5 +64,5 @@ var moduleFederationPlugin = function() {
64
64
  ]
65
65
  };
66
66
  };
67
- var cli = moduleFederationPlugin;
68
- export { createModuleFederationConfig, cli as default, moduleFederationPlugin };
67
+ var cli = cli_moduleFederationPlugin;
68
+ export { createModuleFederationConfig, cli as default, cli_moduleFederationPlugin as moduleFederationPlugin };
@@ -1,5 +1,5 @@
1
1
  import node_fetch from "node-fetch";
2
- var injectNodeFetchPlugin = function() {
2
+ var inject_node_fetch_injectNodeFetchPlugin = function() {
3
3
  return {
4
4
  name: 'inject-node-fetch-plugin',
5
5
  beforeInit: function(args) {
@@ -8,5 +8,5 @@ var injectNodeFetchPlugin = function() {
8
8
  }
9
9
  };
10
10
  };
11
- var inject_node_fetch = injectNodeFetchPlugin;
11
+ var inject_node_fetch = inject_node_fetch_injectNodeFetchPlugin;
12
12
  export { inject_node_fetch as default };
@@ -1,4 +1,4 @@
1
- var sharedStrategy = function() {
1
+ var shared_strategy_sharedStrategy = function() {
2
2
  return {
3
3
  name: 'shared-strategy-plugin',
4
4
  beforeInit: function(args) {
@@ -17,5 +17,5 @@ var sharedStrategy = function() {
17
17
  }
18
18
  };
19
19
  };
20
- var shared_strategy = sharedStrategy;
20
+ var shared_strategy = shared_strategy_sharedStrategy;
21
21
  export { shared_strategy as default };
@@ -1,5 +1,5 @@
1
1
  import data_fetch_server_middleware from "@module-federation/bridge-react/data-fetch-server-middleware";
2
- var dataFetchServePlugin = function() {
2
+ var data_fetch_server_plugin_dataFetchServePlugin = function() {
3
3
  return {
4
4
  name: 'mf-data-fetch-server-plugin',
5
5
  setup: function(api) {
@@ -13,5 +13,5 @@ var dataFetchServePlugin = function() {
13
13
  }
14
14
  };
15
15
  };
16
- var data_fetch_server_plugin = dataFetchServePlugin;
16
+ var data_fetch_server_plugin = data_fetch_server_plugin_dataFetchServePlugin;
17
17
  export { data_fetch_server_plugin as default };
@@ -35,7 +35,7 @@ function getManifestAssetFileNames(manifestOption) {
35
35
  manifestFileName: simpleJoinRemoteEntry(filePath, manifestFileName)
36
36
  };
37
37
  }
38
- var mfSSRRsbuildPlugin = function(pluginOptions) {
38
+ var ssrPlugin_mfSSRRsbuildPlugin = function(pluginOptions) {
39
39
  return {
40
40
  name: '@modern-js/plugin-mf-post-config',
41
41
  pre: [
@@ -117,7 +117,7 @@ var mfSSRRsbuildPlugin = function(pluginOptions) {
117
117
  }
118
118
  };
119
119
  };
120
- var moduleFederationSSRPlugin = function(pluginOptions) {
120
+ var ssrPlugin_moduleFederationSSRPlugin = function(pluginOptions) {
121
121
  return {
122
122
  name: '@modern-js/plugin-module-federation-ssr',
123
123
  pre: [
@@ -202,7 +202,7 @@ var moduleFederationSSRPlugin = function(pluginOptions) {
202
202
  api.config(function() {
203
203
  return {
204
204
  builderPlugins: [
205
- mfSSRRsbuildPlugin(pluginOptions)
205
+ ssrPlugin_mfSSRRsbuildPlugin(pluginOptions)
206
206
  ],
207
207
  dev: {
208
208
  setupMiddlewares: [
@@ -254,5 +254,5 @@ var moduleFederationSSRPlugin = function(pluginOptions) {
254
254
  }
255
255
  };
256
256
  };
257
- var ssrPlugin = moduleFederationSSRPlugin;
258
- export { CHAIN_MF_PLUGIN_ID, ssrPlugin as default, moduleFederationSSRPlugin, setEnv };
257
+ var ssrPlugin = ssrPlugin_moduleFederationSSRPlugin;
258
+ export { CHAIN_MF_PLUGIN_ID, ssrPlugin as default, ssrPlugin_moduleFederationSSRPlugin as moduleFederationSSRPlugin, setEnv };
@@ -1,6 +1,6 @@
1
1
  import os from "os";
2
2
  var localIpv4 = '127.0.0.1';
3
- var getIpv4Interfaces = function() {
3
+ var utils_getIpv4Interfaces = function() {
4
4
  try {
5
5
  var interfaces = os.networkInterfaces();
6
6
  var ipv4Interfaces = [];
@@ -15,20 +15,20 @@ var getIpv4Interfaces = function() {
15
15
  return [];
16
16
  }
17
17
  };
18
- var getIPV4 = function() {
19
- var ipv4Interfaces = getIpv4Interfaces();
18
+ var utils_getIPV4 = function() {
19
+ var ipv4Interfaces = utils_getIpv4Interfaces();
20
20
  var ipv4Interface = ipv4Interfaces[0] || {
21
21
  address: localIpv4
22
22
  };
23
23
  return ipv4Interface.address;
24
24
  };
25
- var isWebTarget = function(target) {
25
+ var utils_isWebTarget = function(target) {
26
26
  var WEB_TARGET = 'web';
27
27
  if (Array.isArray(target)) return target.includes(WEB_TARGET);
28
28
  if ('string' == typeof target) return target === WEB_TARGET;
29
29
  return false;
30
30
  };
31
- var skipByTarget = function(target) {
31
+ var utils_skipByTarget = function(target) {
32
32
  var IGNORE_TARGET = 'webworker';
33
33
  if (Array.isArray(target)) return target.includes(IGNORE_TARGET);
34
34
  if ('string' == typeof target) return target === IGNORE_TARGET;
@@ -37,4 +37,4 @@ var skipByTarget = function(target) {
37
37
  function isDev() {
38
38
  return 'development' === process.env.NODE_ENV;
39
39
  }
40
- export { getIPV4, isDev, isWebTarget, skipByTarget };
40
+ export { utils_getIPV4 as getIPV4, isDev, utils_isWebTarget as isWebTarget, utils_skipByTarget as skipByTarget };
@@ -1,5 +1,5 @@
1
1
  import { createCorsMiddleware, createStaticMiddleware } from "./staticMiddleware.mjs";
2
- var staticServePlugin = function() {
2
+ var server_staticServePlugin = function() {
3
3
  return {
4
4
  name: '@modern-js/module-federation/server',
5
5
  setup: function(api) {
@@ -32,5 +32,5 @@ var staticServePlugin = function() {
32
32
  }
33
33
  };
34
34
  };
35
- var server = staticServePlugin;
36
- export { server as default, staticServePlugin };
35
+ var server = server_staticServePlugin;
36
+ export { server as default, server_staticServePlugin as staticServePlugin };
@@ -4,7 +4,7 @@ import fs_extra from "fs-extra";
4
4
  import path from "path";
5
5
  import { fileCache } from "./fileCache.mjs";
6
6
  var bundlesAssetPrefix = '/bundles';
7
- var removeHost = function(url) {
7
+ var staticMiddleware_removeHost = function(url) {
8
8
  try {
9
9
  var hasProtocol = url.includes('://');
10
10
  var hasDomain = hasProtocol || url.startsWith('//');
@@ -14,7 +14,7 @@ var removeHost = function(url) {
14
14
  return url;
15
15
  }
16
16
  };
17
- var createStaticMiddleware = function(options) {
17
+ var staticMiddleware_createStaticMiddleware = function(options) {
18
18
  var assetPrefix = options.assetPrefix, pwd = options.pwd;
19
19
  return function(c, next) {
20
20
  return _(function() {
@@ -27,7 +27,7 @@ var createStaticMiddleware = function(options) {
27
27
  2,
28
28
  next()
29
29
  ];
30
- prefixWithoutHost = removeHost(assetPrefix);
30
+ prefixWithoutHost = staticMiddleware_removeHost(assetPrefix);
31
31
  prefixWithBundle = path.join(prefixWithoutHost, bundlesAssetPrefix);
32
32
  if (!pathname.startsWith(prefixWithBundle)) return [
33
33
  2,
@@ -65,7 +65,7 @@ var createStaticMiddleware = function(options) {
65
65
  })();
66
66
  };
67
67
  };
68
- var createCorsMiddleware = function() {
68
+ var staticMiddleware_createCorsMiddleware = function() {
69
69
  return function(c, next) {
70
70
  return _(function() {
71
71
  var pathname;
@@ -84,4 +84,4 @@ var createCorsMiddleware = function() {
84
84
  })();
85
85
  };
86
86
  };
87
- export { createCorsMiddleware, createStaticMiddleware };
87
+ export { staticMiddleware_createCorsMiddleware as createCorsMiddleware, staticMiddleware_createStaticMiddleware as createStaticMiddleware };
@@ -4,7 +4,7 @@ import { _ as _ts_generator__ } from "@swc/helpers/_/_ts_generator";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  import { SSRLiveReload } from "./SSRLiveReload.mjs";
6
6
  import { flushDataFetch } from "@module-federation/bridge-react/lazy-utils";
7
- var mfSSRDevPlugin = function() {
7
+ var devPlugin_mfSSRDevPlugin = function() {
8
8
  return {
9
9
  name: '@module-federation/modern-js-v3',
10
10
  setup: function(api) {
@@ -67,4 +67,4 @@ var mfSSRDevPlugin = function() {
67
67
  }
68
68
  };
69
69
  };
70
- export { mfSSRDevPlugin };
70
+ export { devPlugin_mfSSRDevPlugin as mfSSRDevPlugin };
@@ -2,7 +2,7 @@ import { _ } from "@swc/helpers/_/_async_to_generator";
2
2
  import { _ as _ts_generator__ } from "@swc/helpers/_/_ts_generator";
3
3
  import { callDataFetch } from "@module-federation/bridge-react/data-fetch-utils";
4
4
  import { setSSREnv } from "@module-federation/bridge-react/lazy-utils";
5
- var injectDataFetchFunctionPlugin = function(param) {
5
+ var injectDataFetchFunctionPlugin_injectDataFetchFunctionPlugin = function(param) {
6
6
  var fetchServerQuery = param.fetchServerQuery;
7
7
  return {
8
8
  name: '@module-federation/inject-data-fetch-function-plugin',
@@ -31,4 +31,4 @@ var injectDataFetchFunctionPlugin = function(param) {
31
31
  }
32
32
  };
33
33
  };
34
- export { injectDataFetchFunctionPlugin };
34
+ export { injectDataFetchFunctionPlugin_injectDataFetchFunctionPlugin as injectDataFetchFunctionPlugin };
@@ -30,7 +30,7 @@ const resolvePackageFile = (packageName, esmRelativePath, cjsRelativePath)=>{
30
30
  if (parentDir === packageRoot) throw new Error(`Unable to resolve package root for ${packageName} from ${packageEntry}`);
31
31
  packageRoot = parentDir;
32
32
  }
33
- return require.resolve(path.join(packageRoot, 'true' === process.env.IS_ESM_BUILD ? esmRelativePath : cjsRelativePath));
33
+ return require.resolve(path.join(packageRoot, 'true' === process.env['IS_ESM_BUILD'] ? esmRelativePath : cjsRelativePath));
34
34
  };
35
35
  const resolveSharedStrategyPlugin = ()=>resolvePackageFile('@module-federation/modern-js-v3', 'dist/esm/cli/mfRuntimePlugins/shared-strategy.mjs', 'dist/cjs/cli/mfRuntimePlugins/shared-strategy.js');
36
36
  const resolveInjectNodeFetchPlugin = ()=>resolvePackageFile('@module-federation/modern-js-v3', 'dist/esm/cli/mfRuntimePlugins/inject-node-fetch.mjs', 'dist/cjs/cli/mfRuntimePlugins/inject-node-fetch.js');
@@ -4,13 +4,6 @@ import { PluginOptions } from '../types';
4
4
  import type { InternalModernPluginOptions } from '../types';
5
5
  import type { AppTools, Rspack, AppUserConfig, CliPlugin } from '@modern-js/app-tools';
6
6
  import type { BundlerChainConfig } from '../interfaces/bundler';
7
- declare global {
8
- namespace NodeJS {
9
- interface ProcessEnv {
10
- IS_ESM_BUILD?: string;
11
- }
12
- }
13
- }
14
7
  export type ConfigType = Rspack.Configuration;
15
8
  export declare function setEnv(enableSSR: boolean): void;
16
9
  export declare const getMFConfig: (userConfig: PluginOptions) => Promise<moduleFederationPlugin.ModuleFederationPluginOptions>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/modern-js-v3",
3
- "version": "2.2.2",
3
+ "version": "2.3.0",
4
4
  "files": [
5
5
  "dist/",
6
6
  "types.d.ts",
@@ -131,13 +131,13 @@
131
131
  "node-fetch": "~3.3.0",
132
132
  "jiti": "2.4.2",
133
133
  "react-error-boundary": "4.1.2",
134
- "@module-federation/rsbuild-plugin": "2.2.2",
135
- "@module-federation/bridge-react": "2.2.2",
136
- "@module-federation/runtime": "2.2.2",
137
- "@module-federation/enhanced": "2.2.2",
138
- "@module-federation/node": "2.7.36",
139
- "@module-federation/sdk": "2.2.2",
140
- "@module-federation/cli": "2.2.2"
134
+ "@module-federation/rsbuild-plugin": "2.3.0",
135
+ "@module-federation/bridge-react": "2.3.0",
136
+ "@module-federation/enhanced": "2.3.0",
137
+ "@module-federation/runtime": "2.3.0",
138
+ "@module-federation/node": "2.7.38",
139
+ "@module-federation/cli": "2.3.0",
140
+ "@module-federation/sdk": "2.3.0"
141
141
  },
142
142
  "devDependencies": {
143
143
  "@rsbuild/plugin-react": "1.4.5",
@@ -153,7 +153,7 @@
153
153
  "react": "~18.3.1",
154
154
  "react-dom": "~18.3.1",
155
155
  "vitest": "1.6.0",
156
- "@module-federation/manifest": "2.2.2"
156
+ "@module-federation/manifest": "2.3.0"
157
157
  },
158
158
  "peerDependencies": {
159
159
  "react": ">=17",