@v-office/website-headless 0.0.2 → 0.0.3

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.
@@ -59,7 +59,7 @@ type PlatformSurface = keyof typeof PLATFORM_SURFACES;
59
59
  //#region src/manifest/index.d.ts
60
60
  type ComponentState = "imported" | "custom";
61
61
  interface SiteManifest {
62
- manifestVersion: 3;
62
+ manifestVersion: 1;
63
63
  builtAt: string;
64
64
  /** Installed versions of the tracked packages. */
65
65
  packages: Record<string, string>;
@@ -211,7 +211,7 @@ function packagesOf(root) {
211
211
  /** Everything without the bundler signal — used by tests and by anything that runs outside a build. */
212
212
  function buildSiteManifest(root) {
213
213
  return {
214
- manifestVersion: 3,
214
+ manifestVersion: 1,
215
215
  builtAt: (/* @__PURE__ */ new Date()).toISOString(),
216
216
  packages: packagesOf(root),
217
217
  components: deriveComponentStates(collectImports(root))
@@ -240,7 +240,7 @@ function siteManifest() {
240
240
  for (const w of check.warnings) console.warn(`[site-manifest] ${w}`);
241
241
  if (check.errors.length) throw new Error(`[site-manifest] build refused:\n - ${check.errors.join("\n - ")}`);
242
242
  const manifest = {
243
- manifestVersion: 3,
243
+ manifestVersion: 1,
244
244
  builtAt: (/* @__PURE__ */ new Date()).toISOString(),
245
245
  packages: packagesOf(root),
246
246
  components: check.states
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@v-office/website-headless",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Framework-free behavior layer for v-office websites, never UI: the checkout flow as a subscribable store (createCheckoutFlow), validation and insurance rules, the checkout's structural requirements, the derived site-manifest Astro integration and progressive-enhancement engines for server-rendered markup",
5
5
  "files": [
6
6
  "dist",