@vmz/vmz 0.0.3 → 0.1.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.
Files changed (52) hide show
  1. package/README.md +6 -4
  2. package/dist/build-assemble.d.ts +52 -0
  3. package/dist/build-assemble.js +191 -0
  4. package/dist/cdn-policy.d.ts +196 -0
  5. package/dist/cdn-policy.js +443 -0
  6. package/dist/cli.js +152 -11
  7. package/dist/content-addressed-assets.d.ts +69 -0
  8. package/dist/content-addressed-assets.js +206 -0
  9. package/dist/delivery-profile.d.ts +74 -0
  10. package/dist/delivery-profile.js +279 -0
  11. package/dist/dev-session.js +49 -13
  12. package/dist/document-build.js +9 -4
  13. package/dist/document-designs.js +30 -2
  14. package/dist/document-enrich.js +8 -0
  15. package/dist/embedded-packaging.d.ts +22 -0
  16. package/dist/embedded-packaging.js +113 -0
  17. package/dist/index.d.ts +19 -3
  18. package/dist/index.js +35 -15
  19. package/dist/invocation.d.ts +8 -31
  20. package/dist/invocation.js +12 -33
  21. package/dist/locale-check.d.ts +16 -0
  22. package/dist/locale-check.js +131 -3
  23. package/dist/locale-cmd.js +2 -2
  24. package/dist/locale-route-emit.d.ts +34 -0
  25. package/dist/locale-route-emit.js +134 -0
  26. package/dist/locale-router.d.ts +20 -0
  27. package/dist/locale-router.js +68 -0
  28. package/dist/log.d.ts +2 -2
  29. package/dist/log.js +11 -3
  30. package/dist/pack.d.ts +40 -0
  31. package/dist/pack.js +108 -0
  32. package/dist/plugin-host.d.ts +10 -1
  33. package/dist/plugin-host.js +19 -2
  34. package/dist/port.d.ts +10 -0
  35. package/dist/port.js +46 -0
  36. package/dist/production-observability.d.ts +286 -0
  37. package/dist/production-observability.js +469 -0
  38. package/dist/production-test-pack.d.ts +144 -0
  39. package/dist/production-test-pack.js +447 -0
  40. package/dist/release-cmd.d.ts +8 -0
  41. package/dist/release-cmd.js +126 -0
  42. package/dist/release-pack.d.ts +96 -0
  43. package/dist/release-pack.js +346 -0
  44. package/dist/server-artifact.d.ts +140 -0
  45. package/dist/server-artifact.js +205 -0
  46. package/dist/server-language-backend.d.ts +89 -0
  47. package/dist/server-language-backend.js +121 -0
  48. package/dist/site-delivery.d.ts +134 -0
  49. package/dist/site-delivery.js +345 -0
  50. package/dist/static-emit.d.ts +145 -0
  51. package/dist/static-emit.js +577 -0
  52. package/package.json +13 -13
@@ -0,0 +1,145 @@
1
+ /**
2
+ * A3-static: emit per-route HTML + 404 + SEO head + StaticDeliveryManifest.
3
+ * Reuses the same Direct SSR path as serve-host (no second SSG runtime).
4
+ */
5
+ export declare const STATIC_DELIVERY_MANIFEST_SCHEMA = "vmz.static.delivery_manifest.v0";
6
+ /**
7
+ * @param {string} distDir
8
+ * @param {{
9
+ * origin?: string,
10
+ * applicationId?: string,
11
+ * staticParams?: Record<string, Array<Record<string, string>>>,
12
+ * }} [opts]
13
+ */
14
+ export declare function emitWebStatic(distDir: any, opts?: {}): Promise<{
15
+ manifest: {
16
+ schema: string;
17
+ applicationId: any;
18
+ deliveryProfile: string;
19
+ origin: string;
20
+ generatedAt: string;
21
+ spaFallback: boolean;
22
+ errorDocuments: {
23
+ status: number;
24
+ path: string;
25
+ }[];
26
+ routes: {
27
+ routeId: any;
28
+ path: any;
29
+ chunkId: any;
30
+ htmlPath: any;
31
+ classification: any;
32
+ localeId: any;
33
+ seo: {
34
+ title: any;
35
+ description: any;
36
+ canonical: any;
37
+ robots: any;
38
+ alternates: any;
39
+ };
40
+ }[];
41
+ skipped: any[];
42
+ seoArtifacts: {
43
+ sitemap: string;
44
+ robots: string;
45
+ };
46
+ };
47
+ htmlFiles: any[];
48
+ skipped: any[];
49
+ digest: any;
50
+ assets: {
51
+ schema: string;
52
+ layout: string;
53
+ immutable: boolean;
54
+ objectCount: number;
55
+ objects: any[];
56
+ rewrittenHtml: number;
57
+ };
58
+ cdnPolicy: {
59
+ schema: string;
60
+ applicationId: any;
61
+ deliveryProfile: string;
62
+ origin: string;
63
+ spaFallback: boolean;
64
+ staticManifestDigest: any;
65
+ redirects: any[];
66
+ headers: ({
67
+ match: string;
68
+ headers: {
69
+ 'cache-control': string;
70
+ 'x-robots-tag'?: undefined;
71
+ };
72
+ } | {
73
+ match: string;
74
+ headers: {
75
+ 'cache-control': string;
76
+ 'x-robots-tag': string;
77
+ };
78
+ })[];
79
+ errorDocuments: any;
80
+ routes: any[];
81
+ localeCache: {
82
+ strategy: string;
83
+ varyAcceptLanguage: boolean;
84
+ defaultLocale: any;
85
+ routeCount: number;
86
+ locales: any[];
87
+ };
88
+ };
89
+ cdnAdapters: {
90
+ 'local-static': {
91
+ schema: string;
92
+ adapterId: string;
93
+ policyDigest: any;
94
+ host: string;
95
+ spaFallback: boolean;
96
+ redirects: any;
97
+ headers: any;
98
+ errorDocuments: any;
99
+ files: {
100
+ _headers?: undefined;
101
+ _redirects?: undefined;
102
+ };
103
+ } | {
104
+ schema: string;
105
+ adapterId: string;
106
+ policyDigest: any;
107
+ host: string;
108
+ spaFallback: boolean;
109
+ redirects: any;
110
+ headers: any;
111
+ errorDocuments: any;
112
+ files: {
113
+ _headers: string;
114
+ _redirects: string;
115
+ };
116
+ };
117
+ netlify: {
118
+ schema: string;
119
+ adapterId: string;
120
+ policyDigest: any;
121
+ host: string;
122
+ spaFallback: boolean;
123
+ redirects: any;
124
+ headers: any;
125
+ errorDocuments: any;
126
+ files: {
127
+ _headers?: undefined;
128
+ _redirects?: undefined;
129
+ };
130
+ } | {
131
+ schema: string;
132
+ adapterId: string;
133
+ policyDigest: any;
134
+ host: string;
135
+ spaFallback: boolean;
136
+ redirects: any;
137
+ headers: any;
138
+ errorDocuments: any;
139
+ files: {
140
+ _headers: string;
141
+ _redirects: string;
142
+ };
143
+ };
144
+ };
145
+ }>;