underpost 2.95.1 → 2.95.8

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.
@@ -1,183 +0,0 @@
1
- {
2
- "_comment": "Example static site configuration file for Underpost Static Generator",
3
- "_usage": "Use with: underpost static --config-file ./static-config-example.json",
4
-
5
- "page": "./src/client/ssr/body/DefaultSplashScreen.js",
6
- "outputPath": "./dist/index.html",
7
- "env": "production",
8
- "minify": true,
9
- "lang": "en",
10
- "dir": "ltr",
11
-
12
- "metadata": {
13
- "_comment": "SEO and social media metadata",
14
- "title": "My Awesome Application",
15
- "description": "A comprehensive example of a static site with full metadata customization",
16
- "keywords": ["static site", "generator", "underpost", "seo", "progressive web app"],
17
- "author": "Your Name or Company",
18
- "themeColor": "#4CAF50",
19
- "canonicalURL": "https://example.com",
20
- "thumbnail": "https://example.com/images/og-thumbnail.png",
21
- "locale": "en-US",
22
- "siteName": "My Awesome Site",
23
- "openGraph": {
24
- "_comment": "Additional Open Graph properties",
25
- "type": "website",
26
- "image:width": "1200",
27
- "image:height": "630"
28
- },
29
- "twitter": {
30
- "_comment": "Twitter card specific metadata",
31
- "site": "@yourhandle",
32
- "creator": "@creatorhandle"
33
- }
34
- },
35
-
36
- "scripts": {
37
- "_comment": "Scripts to inject into head and body sections",
38
- "head": [
39
- {
40
- "_comment": "External analytics script with async loading",
41
- "src": "https://www.googletagmanager.com/gtag/js?id=GA_MEASUREMENT_ID",
42
- "async": true
43
- },
44
- {
45
- "_comment": "Inline configuration script",
46
- "content": "window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'GA_MEASUREMENT_ID');",
47
- "type": "text/javascript"
48
- },
49
- {
50
- "_comment": "App configuration as inline script",
51
- "content": "window.appConfig = { apiUrl: 'https://api.example.com', version: '1.0.0', features: { analytics: true, debugging: false } };",
52
- "type": "text/javascript"
53
- }
54
- ],
55
- "body": [
56
- {
57
- "_comment": "Main application bundle as ES module",
58
- "src": "/dist/app.js",
59
- "type": "module",
60
- "defer": true
61
- },
62
- {
63
- "_comment": "Service worker registration",
64
- "content": "if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/sw.js').then(reg => console.log('SW registered', reg)).catch(err => console.log('SW error', err)); }",
65
- "type": "text/javascript"
66
- }
67
- ]
68
- },
69
-
70
- "styles": [
71
- {
72
- "_comment": "Main stylesheet",
73
- "href": "/styles/main.css"
74
- },
75
- {
76
- "_comment": "External font",
77
- "href": "https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
78
- },
79
- {
80
- "_comment": "Critical inline CSS for faster rendering",
81
- "content": "body { margin: 0; padding: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; } * { box-sizing: border-box; }"
82
- },
83
- {
84
- "_comment": "Print stylesheet",
85
- "href": "/styles/print.css",
86
- "media": "print"
87
- }
88
- ],
89
-
90
- "icons": {
91
- "_comment": "Icon configuration for various platforms",
92
- "favicon": "/favicon.ico",
93
- "appleTouchIcon": "/apple-touch-icon.png",
94
- "manifest": "/manifest.json",
95
- "additional": [
96
- {
97
- "rel": "icon",
98
- "type": "image/png",
99
- "sizes": "32x32",
100
- "href": "/favicon-32x32.png"
101
- },
102
- {
103
- "rel": "icon",
104
- "type": "image/png",
105
- "sizes": "16x16",
106
- "href": "/favicon-16x16.png"
107
- },
108
- {
109
- "rel": "mask-icon",
110
- "href": "/safari-pinned-tab.svg",
111
- "color": "#4CAF50"
112
- }
113
- ]
114
- },
115
-
116
- "_headComponents_comment": "SSR components disabled in this example - they require specific data structures",
117
- "headComponents": [],
118
-
119
- "_bodyComponents_comment": "Additional SSR components to include in body section",
120
- "bodyComponents": [],
121
-
122
- "microdata": [
123
- {
124
- "_comment": "Organization schema for better SEO",
125
- "@context": "https://schema.org",
126
- "@type": "Organization",
127
- "name": "My Organization",
128
- "url": "https://example.com",
129
- "logo": "https://example.com/logo.png",
130
- "contactPoint": {
131
- "@type": "ContactPoint",
132
- "telephone": "+1-555-123-4567",
133
- "contactType": "Customer Service"
134
- },
135
- "sameAs": [
136
- "https://twitter.com/yourhandle",
137
- "https://linkedin.com/company/yourcompany",
138
- "https://github.com/yourorg"
139
- ]
140
- },
141
- {
142
- "_comment": "WebSite schema",
143
- "@context": "https://schema.org",
144
- "@type": "WebSite",
145
- "name": "My Awesome Site",
146
- "url": "https://example.com",
147
- "potentialAction": {
148
- "@type": "SearchAction",
149
- "target": "https://example.com/search?q={search_term_string}",
150
- "query-input": "required name=search_term_string"
151
- }
152
- },
153
- {
154
- "_comment": "WebPage schema",
155
- "@context": "https://schema.org",
156
- "@type": "WebPage",
157
- "name": "Home Page",
158
- "description": "Welcome to our awesome site",
159
- "url": "https://example.com"
160
- }
161
- ],
162
-
163
- "customPayload": {
164
- "_comment": "Custom data injected into window.renderPayload",
165
- "apiEndpoint": "https://api.example.com",
166
- "cdnUrl": "https://cdn.example.com",
167
- "features": {
168
- "chat": true,
169
- "notifications": true,
170
- "darkMode": true
171
- },
172
- "externalServices": {
173
- "analytics": "GA_MEASUREMENT_ID",
174
- "maps": "GOOGLE_MAPS_API_KEY"
175
- }
176
- },
177
-
178
- "buildPath": "/",
179
- "deployId": "",
180
- "buildHost": "",
181
- "build": false,
182
- "dev": false
183
- }