@appshell/config 1.0.0-alpha.57 → 1.0.0-alpha.59
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 +11 -0
- package/package.json +3 -3
package/dist/types/types.d.ts
CHANGED
|
@@ -70,12 +70,23 @@ export type AppshellConfigRemote<TMetadata = Metadata> = {
|
|
|
70
70
|
};
|
|
71
71
|
export type AppshellConfig<TMetadata = Metadata> = {
|
|
72
72
|
name?: string;
|
|
73
|
+
/**
|
|
74
|
+
* What the registry should publish this package as. `--visibility` overrides it.
|
|
75
|
+
*
|
|
76
|
+
* Declared here but deliberately absent from the manifest, as `name` already is: the
|
|
77
|
+
* manifest is hashed into the package digest, and visibility is not a property of the
|
|
78
|
+
* artifact. Keeping it out is what lets a package be made public later without its
|
|
79
|
+
* content changing identity.
|
|
80
|
+
*/
|
|
81
|
+
visibility?: 'public' | 'private';
|
|
73
82
|
remotes?: Record<string, AppshellConfigRemote<TMetadata>>;
|
|
74
83
|
vars?: Record<string, unknown>;
|
|
75
84
|
overrides?: AppshellOverrides;
|
|
76
85
|
};
|
|
77
86
|
export type AppshellTemplate<TMetadata = Metadata> = {
|
|
78
87
|
name?: string;
|
|
88
|
+
/** Carried from the yaml for publish to read; never mapped into the manifest. */
|
|
89
|
+
visibility?: 'public' | 'private';
|
|
79
90
|
remotes?: Record<string, AppshellConfigRemote<TMetadata>>;
|
|
80
91
|
module: ModuleFederationPluginOptions;
|
|
81
92
|
vars?: Record<string, unknown>;
|
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.59",
|
|
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": "45466207a4695c42ec23ab9f9a49879baca2fb9f",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@appshell/runtime": "^1.0.0-alpha.
|
|
36
|
+
"@appshell/runtime": "^1.0.0-alpha.59",
|
|
37
37
|
"yaml": "^2.8.0"
|
|
38
38
|
}
|
|
39
39
|
}
|