@module-federation/sdk 0.21.4 → 0.21.5

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.
@@ -2,17 +2,19 @@ export declare const FederationModuleManifest = "federation-manifest.json";
2
2
  export declare const MANIFEST_EXT = ".json";
3
3
  export declare const BROWSER_LOG_KEY = "FEDERATION_DEBUG";
4
4
  export declare const NameTransformSymbol: {
5
- AT: string;
6
- HYPHEN: string;
7
- SLASH: string;
5
+ readonly AT: "@";
6
+ readonly HYPHEN: "-";
7
+ readonly SLASH: "/";
8
8
  };
9
9
  export declare const NameTransformMap: {
10
- readonly [NameTransformSymbol.AT]: "scope_";
11
- readonly [NameTransformSymbol.HYPHEN]: "_";
12
- readonly [NameTransformSymbol.SLASH]: "__";
10
+ readonly "@": "scope_";
11
+ readonly "-": "_";
12
+ readonly "/": "__";
13
13
  };
14
14
  export declare const EncodedNameTransformMap: {
15
- [x: string]: string;
15
+ scope_: "@";
16
+ _: "-";
17
+ __: "/";
16
18
  };
17
19
  export declare const SEPARATOR = ":";
18
20
  export declare const ManifestFileName = "mf-manifest.json";
@@ -121,6 +121,7 @@ export interface DtsRemoteOptions {
121
121
  };
122
122
  extractRemoteTypes?: boolean;
123
123
  abortOnError?: boolean;
124
+ deleteTsConfig?: boolean;
124
125
  }
125
126
  export interface PluginDtsOptions {
126
127
  generateTypes?: boolean | DtsRemoteOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/sdk",
3
- "version": "0.21.4",
3
+ "version": "0.21.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "A sdk for support module federation",