@module-federation/managers 0.11.4 → 0.12.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.
@@ -3,7 +3,7 @@ import { BasicPluginOptionsManager } from './BasicPluginOptionsManager';
3
3
  interface NormalizedRemote {
4
4
  [remoteName: string]: RemoteEntryInfo & {
5
5
  alias: string;
6
- shareScope: string;
6
+ shareScope: string | string[];
7
7
  };
8
8
  }
9
9
  declare class RemoteManager extends BasicPluginOptionsManager<moduleFederationPlugin.ModuleFederationPluginOptions> {
@@ -1,8 +1,7 @@
1
- import { sharing } from 'webpack';
2
1
  import { moduleFederationPlugin, sharePlugin } from '@module-federation/sdk';
3
2
  import { NormalizedSharedOptions } from './types';
4
3
  import { BasicPluginOptionsManager } from './BasicPluginOptionsManager';
5
- type SharePluginOptions = ConstructorParameters<typeof sharing.SharePlugin>[0];
4
+ type SharePluginOptions = ConstructorParameters<typeof sharePlugin.SharePlugin>[0];
6
5
  declare class SharedManager extends BasicPluginOptionsManager<moduleFederationPlugin.ModuleFederationPluginOptions> {
7
6
  normalizedOptions: NormalizedSharedOptions;
8
7
  get enable(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/managers",
3
- "version": "0.11.4",
3
+ "version": "0.12.0",
4
4
  "license": "MIT",
5
5
  "description": "Provide managers for helping handle mf data .",
6
6
  "keywords": [
@@ -26,10 +26,10 @@
26
26
  "dependencies": {
27
27
  "find-pkg": "2.0.0",
28
28
  "fs-extra": "9.1.0",
29
- "@module-federation/sdk": "0.11.4"
29
+ "@module-federation/sdk": "0.12.0"
30
30
  },
31
31
  "devDependencies": {
32
- "webpack": "5.93.0"
32
+ "webpack": "5.94.0"
33
33
  },
34
34
  "exports": {
35
35
  ".": {