@appshell/config 1.0.0-alpha.63 → 1.0.0-alpha.65
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.
- package/dist/main.js +1 -1
- package/dist/types/types.d.ts +3 -6
- package/package.json +3 -3
package/dist/types/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AppshellIndex, AppshellRemote, Metadata } from '@appshell/runtime';
|
|
1
|
+
import type { AppshellIndex, AppshellRemote, Metadata, RemoteLoader } from '@appshell/runtime';
|
|
2
2
|
import { JSONSchema4, JSONSchema6, JSONSchema7 } from 'json-schema';
|
|
3
|
-
export type { AppshellIndex, AppshellRemote, Metadata } from '@appshell/runtime';
|
|
3
|
+
export type { AppshellIndex, AppshellRemote, Metadata, ModuleFederationLoader, RemoteLoader, } from '@appshell/runtime';
|
|
4
4
|
export type Schema = JSONSchema4 | JSONSchema6 | JSONSchema7;
|
|
5
5
|
export type ConfigValidator = {
|
|
6
6
|
validate: <T>(...config: T[]) => void;
|
|
@@ -161,10 +161,7 @@ export type AppshellManifest<TMetadata = Metadata> = {
|
|
|
161
161
|
*/
|
|
162
162
|
export type PublishedRemote<TMetadata = Metadata> = {
|
|
163
163
|
id: string;
|
|
164
|
-
|
|
165
|
-
scope: string;
|
|
166
|
-
module: string;
|
|
167
|
-
shareScope?: string;
|
|
164
|
+
loader: RemoteLoader;
|
|
168
165
|
metadata: TMetadata;
|
|
169
166
|
};
|
|
170
167
|
/** An `AppshellRemote` the registry already resolved, so the browser needs no manifest fetch. */
|
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.65",
|
|
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",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"appshell"
|
|
32
32
|
],
|
|
33
33
|
"license": "MIT",
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "1ce899539b6ab3063880835140a65e590c2dad21",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@appshell/runtime": "^1.0.0-alpha.
|
|
36
|
+
"@appshell/runtime": "^1.0.0-alpha.65",
|
|
37
37
|
"yaml": "^2.8.0"
|
|
38
38
|
}
|
|
39
39
|
}
|