bunki 0.8.0 → 0.9.1
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.
- package/README.md +51 -51
- package/dist/cli/commands/validate.d.ts +5 -0
- package/dist/cli.js +493 -347
- package/dist/index.js +467 -348
- package/dist/parser.d.ts +6 -1
- package/dist/types.d.ts +2 -0
- package/dist/utils/markdown-utils.d.ts +11 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -156,27 +156,27 @@ Example output in your HTML:
|
|
|
156
156
|
|
|
157
157
|
```html
|
|
158
158
|
<script type="application/ld+json">
|
|
159
|
-
{
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}
|
|
159
|
+
{
|
|
160
|
+
"@context": "https://schema.org",
|
|
161
|
+
"@type": "BlogPosting",
|
|
162
|
+
"headline": "Getting Started with Bun",
|
|
163
|
+
"description": "Learn how to get started with Bun, the fast JavaScript runtime.",
|
|
164
|
+
"url": "https://example.com/2025/getting-started-with-bun/",
|
|
165
|
+
"datePublished": "2025-01-15T10:30:00.000Z",
|
|
166
|
+
"dateModified": "2025-01-15T10:30:00.000Z",
|
|
167
|
+
"author": {
|
|
168
|
+
"@type": "Person",
|
|
169
|
+
"name": "John Doe",
|
|
170
|
+
"email": "john@example.com"
|
|
171
|
+
},
|
|
172
|
+
"publisher": {
|
|
173
|
+
"@type": "Organization",
|
|
174
|
+
"name": "My Blog",
|
|
175
|
+
"url": "https://example.com"
|
|
176
|
+
},
|
|
177
|
+
"keywords": "bun, javascript, performance",
|
|
178
|
+
"image": "https://example.com/images/bun-logo.png"
|
|
179
|
+
}
|
|
180
180
|
</script>
|
|
181
181
|
```
|
|
182
182
|
|
|
@@ -189,20 +189,20 @@ The homepage includes dual schemas:
|
|
|
189
189
|
|
|
190
190
|
```html
|
|
191
191
|
<script type="application/ld+json">
|
|
192
|
-
{
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
192
|
+
{
|
|
193
|
+
"@context": "https://schema.org",
|
|
194
|
+
"@type": "WebSite",
|
|
195
|
+
"name": "My Blog",
|
|
196
|
+
"url": "https://example.com",
|
|
197
|
+
"description": "My thoughts and ideas",
|
|
198
|
+
"potentialAction": {
|
|
199
|
+
"@type": "SearchAction",
|
|
200
|
+
"target": {
|
|
201
|
+
"@type": "EntryPoint",
|
|
202
|
+
"urlTemplate": "https://example.com/search?q={search_term_string}"
|
|
203
|
+
}
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
|
-
}
|
|
206
206
|
</script>
|
|
207
207
|
```
|
|
208
208
|
|
|
@@ -212,24 +212,24 @@ All pages include breadcrumb navigation for better site hierarchy understanding:
|
|
|
212
212
|
|
|
213
213
|
```html
|
|
214
214
|
<script type="application/ld+json">
|
|
215
|
-
{
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
215
|
+
{
|
|
216
|
+
"@context": "https://schema.org",
|
|
217
|
+
"@type": "BreadcrumbList",
|
|
218
|
+
"itemListElement": [
|
|
219
|
+
{
|
|
220
|
+
"@type": "ListItem",
|
|
221
|
+
"position": 1,
|
|
222
|
+
"name": "Home",
|
|
223
|
+
"item": "https://example.com"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"@type": "ListItem",
|
|
227
|
+
"position": 2,
|
|
228
|
+
"name": "Getting Started with Bun",
|
|
229
|
+
"item": "https://example.com/2025/getting-started-with-bun/"
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
}
|
|
233
233
|
</script>
|
|
234
234
|
```
|
|
235
235
|
|