@skyux/config 12.1.0 → 12.3.0

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.
@@ -3,11 +3,11 @@
3
3
  */
4
4
  export interface SkyuxConfigRemoteContainerReference {
5
5
  /**
6
- * A collection of paths to the referenced remote modules.
6
+ * A list of module names referenced by this application.
7
7
  */
8
8
  modules: string[];
9
9
  /**
10
- * The version of the referenced SPA's remote container.
10
+ * The version of the referenced SPA's remote entry.
11
11
  */
12
12
  containerVersion: number;
13
13
  }
@@ -1,16 +1,42 @@
1
1
  import { SkyuxConfigRemoteContainerReference } from './config-remote-container-reference';
2
2
  /**
3
- * Information about remote modules referenced by this application.
3
+ * Information about remote modules exposed and/or referenced by this application.
4
4
  */
5
5
  export interface SkyuxConfigRemoteModules {
6
6
  /**
7
- * A collection of remote modules keyed by the remote container name.
7
+ * Whether this application can load remote modules without validating them
8
+ * against the list of `referenced` modules. Disabling this validation could
9
+ * lead to unpredictable behavior and should not be used in most cases.
10
+ */
11
+ allowDynamicLoading?: boolean;
12
+ /**
13
+ * Information about remote modules exposed by this application.
14
+ */
15
+ public?: {
16
+ /**
17
+ * A list of aliases for this application's remote entry.
18
+ */
19
+ containerAliases?: string[];
20
+ /**
21
+ * The version of this application's remote entry.
22
+ */
23
+ containerVersion: number;
24
+ /**
25
+ * A collection of public modules to expose to consuming SPAs. The module
26
+ * names must start with a capital letter.
27
+ */
28
+ modules: Record<string, string>;
29
+ };
30
+ /**
31
+ * A collection of remote containers referenced by this application, keyed by
32
+ * the name of the remote container.
8
33
  */
9
34
  referenced?: Record<string, SkyuxConfigRemoteContainerReference>;
10
35
  /**
11
- * Whether this application can load remote modules without validating
12
- * them against the list of `referenced` modules. Disabling this validation
13
- * could lead to unpredictable behavior and should not be used in most cases.
36
+ * Information about dependencies that should be shared between containers.
37
+ * The value for each entry should be an object with properties expected by
38
+ * Webpack's `ModuleFederationPlugin` constructor.
39
+ * @see https://webpack.js.org/plugins/module-federation-plugin#sharing-libraries
14
40
  */
15
- allowDynamicLoading?: boolean;
41
+ shared?: Record<string, unknown>;
16
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/config",
3
- "version": "12.1.0",
3
+ "version": "12.3.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",