@appshell/config 1.0.0-alpha.51 → 1.0.0-alpha.52

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.
@@ -74,8 +74,26 @@ export type AppshellTemplate<TMetadata = Metadata> = {
74
74
  overrides?: AppshellOverrides;
75
75
  };
76
76
  /** Appshell manifest types */
77
+ /** The parts of a remote an application may point somewhere else. */
78
+ export type RemoteOverride = {
79
+ remoteEntryUrl?: string;
80
+ manifestUrl?: string;
81
+ };
77
82
  export type AppshellOverrides = {
78
83
  vars: Record<string, Record<string, string | number | undefined>>;
84
+ /**
85
+ * Where an application loads a remote from, keyed by registry address.
86
+ *
87
+ * A package is published once; an application is deployed many times, per environment.
88
+ * The origin a bundle is served from is a property of a deployment, so it belongs to
89
+ * whoever deploys rather than being frozen into an immutable artifact at publish — which
90
+ * is also what makes adopting someone else's package and serving it yourself a spec edit
91
+ * rather than a republish.
92
+ *
93
+ * `filename` stays in the manifest: `remoteEntry.js` is genuinely build output. Only the
94
+ * origin varies by environment.
95
+ */
96
+ remotes?: Record<string, RemoteOverride>;
79
97
  };
80
98
  /**
81
99
  * Which design tokens a package's own output reaches for. Observed from the emitted
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appshell/config",
3
- "version": "1.0.0-alpha.51",
3
+ "version": "1.0.0-alpha.52",
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": "528d0e76789074c0dbb0ffa92c31510f8ebfd219",
33
+ "gitHead": "1d1e8ece793c2da1b25bcbc584fd038d72a14b0c",
34
34
  "dependencies": {
35
- "@appshell/runtime": "^1.0.0-alpha.51",
35
+ "@appshell/runtime": "^1.0.0-alpha.52",
36
36
  "yaml": "^2.8.0"
37
37
  }
38
38
  }