@appshell/config 1.0.0-alpha.38 → 1.0.0-alpha.39
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.
|
@@ -12,11 +12,23 @@ import { AppshellTemplate } from './types';
|
|
|
12
12
|
* underneath it — and the plugin is exactly that caller, building the manifest during
|
|
13
13
|
* `processAssets` and then writing the same template to disk at `afterEmit`.
|
|
14
14
|
*/
|
|
15
|
-
export declare const manifestFrom: <TMetadata extends Record<string, unknown>>(template: AppshellTemplate) =>
|
|
15
|
+
export declare const manifestFrom: <TMetadata extends Record<string, unknown>>(template: AppshellTemplate) => {
|
|
16
|
+
vars: Record<string, Record<string, string | number | undefined>>;
|
|
17
|
+
remotes: Record<string, import("packages/runtime/dist/types/wire").AppshellRemote<TMetadata>>;
|
|
18
|
+
modules: Record<string, import("./types").ModuleFederationPluginOptions>;
|
|
19
|
+
tokens?: Record<string, import("./types").AppshellTokenUsage>;
|
|
20
|
+
overrides?: import("./types").AppshellOverrides;
|
|
21
|
+
};
|
|
16
22
|
/**
|
|
17
23
|
* Generates an appshell manifest
|
|
18
24
|
* @param templatePath path of the appshell manifest template to compile into an appshell manifest
|
|
19
25
|
* @returns an appshell manifest
|
|
20
26
|
*/
|
|
21
|
-
declare const _default: <TMetadata extends Record<string, unknown>>(templatePath: string) => Promise<
|
|
27
|
+
declare const _default: <TMetadata extends Record<string, unknown>>(templatePath: string) => Promise<{
|
|
28
|
+
vars: Record<string, Record<string, string | number | undefined>>;
|
|
29
|
+
remotes: Record<string, import("packages/runtime/dist/types/wire").AppshellRemote<TMetadata>>;
|
|
30
|
+
modules: Record<string, import("./types").ModuleFederationPluginOptions>;
|
|
31
|
+
tokens?: Record<string, import("./types").AppshellTokenUsage>;
|
|
32
|
+
overrides?: import("./types").AppshellOverrides;
|
|
33
|
+
} | null>;
|
|
22
34
|
export default _default;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const toAppshellManifest: <TMetadata extends Record<string, unknown>>(template: AppshellTemplate, args: ConfigMap) =>
|
|
1
|
+
import { AppshellRemote, AppshellTemplate, ConfigMap } from '../types';
|
|
2
|
+
export declare const toAppshellManifest: <TMetadata extends Record<string, unknown>>(template: AppshellTemplate, args: ConfigMap) => {
|
|
3
|
+
vars: Record<string, Record<string, string | number | undefined>>;
|
|
4
|
+
remotes: Record<string, AppshellRemote<TMetadata>>;
|
|
5
|
+
modules: Record<string, import("../types").ModuleFederationPluginOptions>;
|
|
6
|
+
tokens?: Record<string, import("../types").AppshellTokenUsage>;
|
|
7
|
+
overrides?: import("../types").AppshellOverrides;
|
|
8
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appshell/config",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.39",
|
|
4
4
|
"description": "Utility for producing a global appshell manifest for module federation micro-frontends",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"appshell"
|
|
31
31
|
],
|
|
32
32
|
"license": "MIT",
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "e66dd828370826a4a4278534da769c3a5a9a7aee",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@appshell/runtime": "^1.0.0-alpha.
|
|
35
|
+
"@appshell/runtime": "^1.0.0-alpha.39",
|
|
36
36
|
"yaml": "^2.8.0"
|
|
37
37
|
}
|
|
38
38
|
}
|