bearminion 1.20.0 → 1.22.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.
- package/CHANGELOG.md +35 -0
- package/README.md +3 -3
- package/dist/astro.d.ts +16 -7
- package/dist/astro.js +212 -93
- package/dist/cli.js +903 -4
- package/dist/content-types-46XqPaW4.js +505 -0
- package/dist/content.d.ts +24 -3
- package/dist/content.js +83 -6
- package/dist/{editor-context-DzRwKENi.d.ts → editor-context-D1yfPp21.d.ts} +95 -8
- package/dist/{github-store-Dt_YuOPD.js → github-store-B2folBeq.js} +551 -206
- package/dist/{github-store-DsLCe5MR.d.ts → github-store-CuhvbFCh.d.ts} +1 -1
- package/dist/hosted-astro.js +1 -1
- package/dist/{hosted-middleware-CsROahka.js → hosted-middleware-DHLIedeV.js} +1 -1
- package/dist/hosted-overlay.js +1 -1
- package/dist/hosted.d.ts +10 -4
- package/dist/hosted.js +68 -9
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -6
- package/dist/{migrate-b408EaLp.js → migrate-Cm30puW8.js} +2 -2
- package/dist/{page-wlcQJAA-.js → page-C7zE_HD1.js} +5 -1
- package/dist/{page-BGSTL63-.d.ts → page-CpVElMPH.d.ts} +193 -37
- package/dist/{request-guards-BcSUj8Gc.js → request-guards-DtNVdqQ7.js} +1 -1
- package/dist/{collections-Bm3RWg2K.js → routing-jKeq4LwO.js} +213 -57
- package/dist/routing-yPy8hEfZ.d.ts +137 -0
- package/dist/{theme-BvqJ8UnS.js → theme-DTVVNMlr.js} +1 -1
- package/dist/ui/mount.js +3294 -1259
- package/package.json +2 -2
- package/registry/default/files/src/components/organisms/EntryList.astro +83 -0
- package/registry/default/files/src/components/organisms/Pagination.astro +56 -0
- package/registry/default/files/src/components/sections/contact/definition.ts +6 -2
- package/registry/default/files/src/components/sections/faq/definition.ts +2 -2
- package/registry/default/files/src/components/sections/media/Media.astro +2 -2
- package/registry/default/files/src/components/sections/media/MediaPlayer.astro +2 -2
- package/registry/default/files/src/components/sections/pricing/definition.ts +16 -1
- package/registry/default/files/src/components/sections/shared.ts +3 -0
- package/registry/default/files/src/components/sections/stats/definition.ts +6 -1
- package/registry/default/files/src/components/sections/testimonials/definition.ts +13 -1
- package/registry/default/files/src/components/sections/text-image/definition.ts +1 -1
- package/registry/default/files/src/components/seo/Seo.astro +3 -1
- package/registry/default/files/src/content.config.ts +21 -0
- package/registry/default/files/src/env.d.ts +2 -0
- package/registry/default/files/src/lib/content.ts +81 -0
- package/registry/default/files/src/lib/editing.ts +6 -0
- package/registry/default/files/src/lib/sitemap.ts +48 -0
- package/registry/default/files/src/pages/[...slug].astro +30 -16
- package/registry/default/registry.json +77 -21
- package/dist/preview-DFLna-Be.d.ts +0 -42
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"template": "default",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.22.0",
|
|
5
5
|
"files": {
|
|
6
6
|
"src/components/atoms/Button.astro": {
|
|
7
7
|
"hash": "7be42b3dc3a3b59bec169de32a9d801904689e2705473d1945724658dc799043",
|
|
@@ -65,6 +65,14 @@
|
|
|
65
65
|
"hash": "dc57fc01c666f1fef4b1b9799c2c0728571ac123af1567df3cb6f1e6456d2843",
|
|
66
66
|
"history": []
|
|
67
67
|
},
|
|
68
|
+
"src/components/organisms/EntryList.astro": {
|
|
69
|
+
"hash": "c0151453e8dd9e3f1052b403f7f9769822d90a23d7cf56d49c30b185133f30ff",
|
|
70
|
+
"history": []
|
|
71
|
+
},
|
|
72
|
+
"src/components/organisms/Pagination.astro": {
|
|
73
|
+
"hash": "e0a1f5e38b5bfb304136f2fd71c0b9b58fb2829208dfd96918697b00b802b81d",
|
|
74
|
+
"history": []
|
|
75
|
+
},
|
|
68
76
|
"src/components/sections/contact/Contact.astro": {
|
|
69
77
|
"hash": "4247463ccd5cdde93ab263f12908ca2a87e5e6c2b51b6e6025f712c919b7ece1",
|
|
70
78
|
"history": [
|
|
@@ -73,8 +81,9 @@
|
|
|
73
81
|
]
|
|
74
82
|
},
|
|
75
83
|
"src/components/sections/contact/definition.ts": {
|
|
76
|
-
"hash": "
|
|
84
|
+
"hash": "578f6c3e32bac6b0e12322d9dfe37c9f91793b06cd33bdbcc607de27b86baa50",
|
|
77
85
|
"history": [
|
|
86
|
+
"9ce73d48688466dcbbb6a0943dcc88190d2be05c2aad8b60c8c2a189e78dad28",
|
|
78
87
|
"188b157cdf81598a37a9b3da1ab444f4ed15c7216b37fd23181d24722b73ff7b",
|
|
79
88
|
"c3582aea02ce0bf008f92e68baf28ab071a80c7fee31fbfcea0d10d1362a49db"
|
|
80
89
|
]
|
|
@@ -112,8 +121,9 @@
|
|
|
112
121
|
]
|
|
113
122
|
},
|
|
114
123
|
"src/components/sections/faq/definition.ts": {
|
|
115
|
-
"hash": "
|
|
124
|
+
"hash": "46be07bc805b66d744a1e29cb0d7df8e88472cd07ffc9980832cefecae32d5de",
|
|
116
125
|
"history": [
|
|
126
|
+
"b24bdd9077c471379130d611ecdcda487d88b1108ab22dba0a6307839243eac8",
|
|
117
127
|
"38c4ec6cc15b1164aeb8281cb4a99330ec50925999c34a770be6e2c17b60f915"
|
|
118
128
|
]
|
|
119
129
|
},
|
|
@@ -188,17 +198,19 @@
|
|
|
188
198
|
"history": []
|
|
189
199
|
},
|
|
190
200
|
"src/components/sections/media/Media.astro": {
|
|
191
|
-
"hash": "
|
|
201
|
+
"hash": "3aaffa3a6a8b14dc26f9e295e686c18c6a07fd371db64f4ff933f3aaf303027f",
|
|
192
202
|
"history": [
|
|
193
203
|
"1df9f736daf07b6a4a2768463896b477197d1baa68a445e4ee1de92080b227c2",
|
|
204
|
+
"8277c9c2ef089b437c5ccaa93b80d9f9c0020bfb9c4a29526264c29c25d6fcf0",
|
|
194
205
|
"c37566c895c8ad6ae1fd15986056cb8315511cfe1b9d7ae2737200e7abe5524e",
|
|
195
206
|
"f5e22ebc9fa07935f7cf5e1d2cffacf6f574355d7521eb691c05255f0cb6a60b"
|
|
196
207
|
]
|
|
197
208
|
},
|
|
198
209
|
"src/components/sections/media/MediaPlayer.astro": {
|
|
199
|
-
"hash": "
|
|
210
|
+
"hash": "ab27ea836309e4546cc0e3e7f94510b65621031667d7484fa4cae8c70a046aaf",
|
|
200
211
|
"history": [
|
|
201
212
|
"e2444c6ff067276b4aeb5a7f6da368a0ce7e6db4feaac7303d508f3df28eadad",
|
|
213
|
+
"e5b8e9800c43e0a276ef763fddfb62e99cbb120f22a31928b81277d85a4626a8",
|
|
202
214
|
"9ec13f1da22554d24f573bd5971663a125641174b220ea7a3f62cb994bc2d80a",
|
|
203
215
|
"0c2f819051bf9988f257d0176977dd9fe99b6c84edb44bf2d9f54b80711bb729"
|
|
204
216
|
]
|
|
@@ -224,24 +236,30 @@
|
|
|
224
236
|
"history": []
|
|
225
237
|
},
|
|
226
238
|
"src/components/sections/pricing/definition.ts": {
|
|
227
|
-
"hash": "
|
|
228
|
-
"history": [
|
|
239
|
+
"hash": "6bdcc9c47701bf577c81806d007e0a11d65d8080cd8f4d0a7adcfb1848a1f04a",
|
|
240
|
+
"history": [
|
|
241
|
+
"447ad99f5b636a7ff566389102e9beb93b661bb2df969a6e93e740a9ca6ae216"
|
|
242
|
+
]
|
|
229
243
|
},
|
|
230
244
|
"src/components/sections/pricing/wireframe.ts": {
|
|
231
245
|
"hash": "a905ac85fe875c749d080e39929d5d8db51a47380c803b2930aa64fd2fd437d2",
|
|
232
246
|
"history": []
|
|
233
247
|
},
|
|
234
248
|
"src/components/sections/shared.ts": {
|
|
235
|
-
"hash": "
|
|
236
|
-
"history": [
|
|
249
|
+
"hash": "49be3142f7b91b8c8bc14f088a59318a333cedbf41eb168636b1e64ec27b33c7",
|
|
250
|
+
"history": [
|
|
251
|
+
"84a080557c50b73b14f6eac8fd00cabfb92700c07e1988989a6b699fdcbb695a"
|
|
252
|
+
]
|
|
237
253
|
},
|
|
238
254
|
"src/components/sections/stats/Stats.astro": {
|
|
239
255
|
"hash": "3a5f6cce7b45fd521a383185442571c125922efe4becbf765bd44f33ba394918",
|
|
240
256
|
"history": []
|
|
241
257
|
},
|
|
242
258
|
"src/components/sections/stats/definition.ts": {
|
|
243
|
-
"hash": "
|
|
244
|
-
"history": [
|
|
259
|
+
"hash": "0768c175a713454e12e32753ae30e3a2ea3d504c16d4d0d8c1f6094758dee8fd",
|
|
260
|
+
"history": [
|
|
261
|
+
"c3550fc34e966fa41f5e1804cb439af5382cd09d47d7a68bee2ceccf6cebf568"
|
|
262
|
+
]
|
|
245
263
|
},
|
|
246
264
|
"src/components/sections/stats/wireframe.ts": {
|
|
247
265
|
"hash": "12e6123c53875eaaf2b110a92bd7ccb296e9e46cf47ff8e8343a596cc9b40efb",
|
|
@@ -268,8 +286,10 @@
|
|
|
268
286
|
"history": []
|
|
269
287
|
},
|
|
270
288
|
"src/components/sections/testimonials/definition.ts": {
|
|
271
|
-
"hash": "
|
|
272
|
-
"history": [
|
|
289
|
+
"hash": "ba13d2f2d7c781d0ce66e467f54ad59aa2436c043375645c4677d075a32952ae",
|
|
290
|
+
"history": [
|
|
291
|
+
"6fe3e4489be66ab1745670fb0d1f9fbc6e347375464470de975df1757b9e181c"
|
|
292
|
+
]
|
|
273
293
|
},
|
|
274
294
|
"src/components/sections/testimonials/wireframe.ts": {
|
|
275
295
|
"hash": "42ed8f23ed4ecc805c9477ffd1088a0a2d6a9e3b61f22ee0a726533cfa3eca53",
|
|
@@ -282,8 +302,9 @@
|
|
|
282
302
|
]
|
|
283
303
|
},
|
|
284
304
|
"src/components/sections/text-image/definition.ts": {
|
|
285
|
-
"hash": "
|
|
305
|
+
"hash": "6466b92a891e82cc0d3c07063e3a1ba68088f900e03a9b4c48463ac55800e4f8",
|
|
286
306
|
"history": [
|
|
307
|
+
"630028579eae5df29879e3b9e2230d4aa45c09d99de8e992de1f1b67da7154f9",
|
|
287
308
|
"f8a8b5626576731eecf1e0766b13a58df377f8105ba82464693e553382fd00ac"
|
|
288
309
|
]
|
|
289
310
|
},
|
|
@@ -304,18 +325,26 @@
|
|
|
304
325
|
"history": []
|
|
305
326
|
},
|
|
306
327
|
"src/components/seo/Seo.astro": {
|
|
307
|
-
"hash": "
|
|
328
|
+
"hash": "de4cc22f7094d951db664b93bf2b00706136d213ec69c89e880c163a917ad17b",
|
|
308
329
|
"history": [
|
|
309
330
|
"cdb5e21b469dd225d8e9e1d5d5d6fdf1c4e697ce79d1dfac7069c2dc35cd67e4",
|
|
331
|
+
"1bcd3ee145234663a8b3a0b101d76bb31e69dc8d6d028ad9a83d328cf3536bf4",
|
|
310
332
|
"0d75bdcace1e1594fdb49e71a913f4355dc7024a9a52681e9b09922fbcd7ec2b",
|
|
311
333
|
"c8831250a574e852afdf0fbbe05aa5ec4aa90dd2a3bff04b39ad64a05bc1e14c"
|
|
312
334
|
]
|
|
313
335
|
},
|
|
336
|
+
"src/content.config.ts": {
|
|
337
|
+
"hash": "285c362394d9d5ccfb2aaa40268155c9707e539367352afc4978d9a9d2d2e0cb",
|
|
338
|
+
"history": [
|
|
339
|
+
"e1fd80a5c2c54946e5f11e8bf93d39945a461c2df9473c33f14d68ba6ba6777c"
|
|
340
|
+
]
|
|
341
|
+
},
|
|
314
342
|
"src/env.d.ts": {
|
|
315
|
-
"hash": "
|
|
343
|
+
"hash": "c44326c88ee7d19ec605afa50b0b4ee5688a877233b69f0f87ab6f8538c73023",
|
|
316
344
|
"history": [
|
|
317
345
|
"9c9283a414423d9223e5ea86941b142443b8af7a007f77612dc2c098de2d2500",
|
|
318
|
-
"25ac662fa50581fc23a93cdead11e3abbbbb60bc5641c6deaf3ef743dcc8f2f3"
|
|
346
|
+
"25ac662fa50581fc23a93cdead11e3abbbbb60bc5641c6deaf3ef743dcc8f2f3",
|
|
347
|
+
"17b0db27bd3d73f4accf3c7f7f0e7740a85809432d8875ffe830ddd350ce2963"
|
|
319
348
|
]
|
|
320
349
|
},
|
|
321
350
|
"src/lib/assets.ts": {
|
|
@@ -330,9 +359,17 @@
|
|
|
330
359
|
"hash": "b52d5520d87e37f6c5f33128637aca671f744ede65588d751b2d69b3fcef849d",
|
|
331
360
|
"history": []
|
|
332
361
|
},
|
|
362
|
+
"src/lib/content.ts": {
|
|
363
|
+
"hash": "e00791cc66449689682444939864b2df891c5c7fe3a024c8ca13cb84e8b7fdd1",
|
|
364
|
+
"history": [
|
|
365
|
+
"567858c5448d3ed05e3227a562a3a08f3e997bb2af099f1dc2fb6d2061f10767"
|
|
366
|
+
]
|
|
367
|
+
},
|
|
333
368
|
"src/lib/editing.ts": {
|
|
334
|
-
"hash": "
|
|
335
|
-
"history": [
|
|
369
|
+
"hash": "8bcca220cb5a070a083155fd5a2b7f740c2a80a3205489b7bf7fc86c430f5723",
|
|
370
|
+
"history": [
|
|
371
|
+
"4d6a29a5a881d6a02e9fdac43b57a0a1d8d54b0749a6beec39f124c4a75f1c69"
|
|
372
|
+
]
|
|
336
373
|
},
|
|
337
374
|
"src/lib/hidden-text.ts": {
|
|
338
375
|
"hash": "44ae57dcbfaa71586589b212fe9a3eefcc5c5763d219e8d175095ea2b6722dcf",
|
|
@@ -349,6 +386,12 @@
|
|
|
349
386
|
"hash": "648802476e4dfaaeab6c4172313c683420c1fb66898de8f8c74ca4adf876cd37",
|
|
350
387
|
"history": []
|
|
351
388
|
},
|
|
389
|
+
"src/lib/sitemap.ts": {
|
|
390
|
+
"hash": "3a033ab926132b1e54810cb9a69f083eb008643db1d4ca27a8bd61cdea133dc7",
|
|
391
|
+
"history": [
|
|
392
|
+
"aecf8f78d5f55bf3917375abc9e63ed52e3e39c757b91ca899dfc4311dd194aa"
|
|
393
|
+
]
|
|
394
|
+
},
|
|
352
395
|
"src/pages/404.astro": {
|
|
353
396
|
"hash": "3c322ae407871b6fb7fae74d1421eaa7f0e0497605ab44ddff0cf7297b7cbfe5",
|
|
354
397
|
"history": [
|
|
@@ -356,10 +399,11 @@
|
|
|
356
399
|
]
|
|
357
400
|
},
|
|
358
401
|
"src/pages/[...slug].astro": {
|
|
359
|
-
"hash": "
|
|
402
|
+
"hash": "ac3f059c41cd349fba9c4826b3ffc3b7c047ad7ab5184dd259308b0b267f55c4",
|
|
360
403
|
"history": [
|
|
361
404
|
"c1f491e544eead7313f31a8e1c630776b5ec7ab886f61cf04fbd66eeed69fa28",
|
|
362
|
-
"08bf1ac4b4a8a9961045f91e74a22aa2ec3b622998ebfa1f167ab39039bbf467"
|
|
405
|
+
"08bf1ac4b4a8a9961045f91e74a22aa2ec3b622998ebfa1f167ab39039bbf467",
|
|
406
|
+
"dfe279b2d84767700c0fbbbb85077c3f8f7334671adc25c633ae2fb1802ac28f"
|
|
363
407
|
]
|
|
364
408
|
}
|
|
365
409
|
},
|
|
@@ -778,6 +822,18 @@
|
|
|
778
822
|
"src/pages/404.astro",
|
|
779
823
|
"src/pages/[...slug].astro"
|
|
780
824
|
]
|
|
825
|
+
},
|
|
826
|
+
"types": {
|
|
827
|
+
"label": "Content types",
|
|
828
|
+
"description": "The starter's files that publish the entries, singles and listing pages of declared content types.",
|
|
829
|
+
"files": [
|
|
830
|
+
"src/components/organisms/EntryList.astro",
|
|
831
|
+
"src/components/organisms/Pagination.astro",
|
|
832
|
+
"src/content.config.ts",
|
|
833
|
+
"src/lib/content.ts",
|
|
834
|
+
"src/lib/sitemap.ts",
|
|
835
|
+
"src/pages/[...slug].astro"
|
|
836
|
+
]
|
|
781
837
|
}
|
|
782
838
|
}
|
|
783
839
|
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { d as SectionOf, g as ContentModel, gt as SiteOf } from "./page-BGSTL63-.js";
|
|
2
|
-
//#region src/preview.d.ts
|
|
3
|
-
/** The header and footer of a draft site, as HTML. */
|
|
4
|
-
interface SitePreviewHtml {
|
|
5
|
-
header: string;
|
|
6
|
-
footer: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* How a theme renders drafts for the editor's live preview. The editor calls it from the dev server;
|
|
10
|
-
* it never reads or writes content files.
|
|
11
|
-
*/
|
|
12
|
-
interface ThemePreview<TModel extends ContentModel = ContentModel> {
|
|
13
|
-
/** The draft page's sections as HTML, which replaces `main#content`. Orphaned sections are already left out. */
|
|
14
|
-
page(input: {
|
|
15
|
-
sections: SectionOf<TModel['sections']>[];
|
|
16
|
-
motion: boolean;
|
|
17
|
-
}): Promise<string>;
|
|
18
|
-
/**
|
|
19
|
-
* The draft site's header and footer as HTML, so brand, layout and links update without a reload.
|
|
20
|
-
* Optional: without it, header and footer changes appear after you save and reload.
|
|
21
|
-
*/
|
|
22
|
-
site?(input: {
|
|
23
|
-
site: SiteOf<TModel['site']>;
|
|
24
|
-
pathname: string;
|
|
25
|
-
}): Promise<SitePreviewHtml>;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Declare a theme's preview renderer. Default-export it from the module named by `previewModule`
|
|
29
|
-
* (default `/src/lib/render-preview.ts`). The model type ties the inputs to your section registry and site:
|
|
30
|
-
*
|
|
31
|
-
* ```ts
|
|
32
|
-
* export default defineThemePreview<typeof contentModel>({
|
|
33
|
-
* async page({ sections, motion }) { ... },
|
|
34
|
-
* async site({ site, pathname }) { ... },
|
|
35
|
-
* })
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
declare function defineThemePreview<TModel extends ContentModel = ContentModel>(preview: ThemePreview<TModel>): ThemePreview<TModel>;
|
|
39
|
-
/** A theme's preview, or a function that loads it on first use (so a server only pays for it when someone edits). */
|
|
40
|
-
type ThemePreviewSource = ThemePreview | (() => ThemePreview | Promise<ThemePreview>);
|
|
41
|
-
//#endregion
|
|
42
|
-
export { defineThemePreview as i, ThemePreview as n, ThemePreviewSource as r, SitePreviewHtml as t };
|