@appshell/loader 1.0.0-alpha.35 → 1.0.0-alpha.36

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.
@@ -5,6 +5,12 @@ import { AppshellTemplate } from './types';
5
5
  * Split out from the file-reading half so a caller holding a template in memory — the
6
6
  * webpack plugin, which just built one — does not have to write it to disk and read it
7
7
  * back to get a manifest. One substitution pass, one place it can be wrong.
8
+ *
9
+ * Operates on a copy, because substitution writes in place. Reading a template off disk
10
+ * hid that: every call parsed its own fresh object, so nothing downstream could notice.
11
+ * A caller passing a template it still holds would get its `${VAR}` placeholders replaced
12
+ * underneath it — and the plugin is exactly that caller, building the manifest during
13
+ * `processAssets` and then writing the same template to disk at `afterEmit`.
8
14
  */
9
15
  export declare const manifestFrom: <TMetadata extends Record<string, unknown>>(template: AppshellTemplate) => import("./types").AppshellManifest<TMetadata>;
10
16
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appshell/loader",
3
- "version": "1.0.0-alpha.35",
3
+ "version": "1.0.0-alpha.36",
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.35",
34
+ "@appshell/runtime": "^1.0.0-alpha.36",
35
35
  "@module-federation/enhanced": "^2.8.2"
36
36
  },
37
- "gitHead": "0e040fa74118b1d7aa9d3eb9a60afb2e90ce4ff4"
37
+ "gitHead": "fbadbc3d27eb69bc5a6630cd469e8628399d3f1b"
38
38
  }