@appshell/loader 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) => import("./types").AppshellManifest<TMetadata>;
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/src/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<import("./types").AppshellManifest<TMetadata> | null>;
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/src/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 { AppshellManifest, AppshellTemplate, ConfigMap } from '../types';
2
- export declare const toAppshellManifest: <TMetadata extends Record<string, unknown>>(template: AppshellTemplate, args: ConfigMap) => AppshellManifest<TMetadata>;
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/loader",
3
- "version": "1.0.0-alpha.38",
3
+ "version": "1.0.0-alpha.39",
4
4
  "description": "Utility for loading Appshell components",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/loader/src/index.d.ts",
@@ -31,8 +31,8 @@
31
31
  ],
32
32
  "license": "MIT",
33
33
  "dependencies": {
34
- "@appshell/runtime": "^1.0.0-alpha.38",
34
+ "@appshell/runtime": "^1.0.0-alpha.39",
35
35
  "@module-federation/enhanced": "^2.8.2"
36
36
  },
37
- "gitHead": "150ab3109e5a790bf4c8f434bd952f4096b99e5b"
37
+ "gitHead": "e66dd828370826a4a4278534da769c3a5a9a7aee"
38
38
  }