@abraca/junis 2.87.0 → 2.90.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/dist/module.d.mts +43 -4
- package/dist/module.json +1 -1
- package/dist/module.mjs +121 -6
- package/dist/runtime/assets/css/jun.css +2 -2
- package/dist/runtime/components/JunDocSurface.d.vue.ts +20 -2
- package/dist/runtime/components/JunDocSurface.vue +27 -2
- package/dist/runtime/components/JunDocSurface.vue.d.ts +20 -2
- package/dist/runtime/components/JunHead.vue +16 -4
- package/dist/runtime/components/JunNavDock.d.vue.ts +15 -0
- package/dist/runtime/components/JunNavDock.vue +94 -0
- package/dist/runtime/components/JunNavDock.vue.d.ts +15 -0
- package/dist/runtime/components/JunNavMenu.client.d.vue.ts +15 -0
- package/dist/runtime/components/JunNavMenu.client.vue +501 -0
- package/dist/runtime/components/JunNavMenu.client.vue.d.ts +15 -0
- package/dist/runtime/components/JunNavPreview.d.vue.ts +17 -0
- package/dist/runtime/components/JunNavPreview.vue +169 -0
- package/dist/runtime/components/JunNavPreview.vue.d.ts +17 -0
- package/dist/runtime/components/JunNavigation.d.vue.ts +4 -11
- package/dist/runtime/components/JunNavigation.vue +813 -138
- package/dist/runtime/components/JunNavigation.vue.d.ts +4 -11
- package/dist/runtime/components/JunNoteLinks.vue +1 -1
- package/dist/runtime/components/JunOfflinePanel.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunOfflinePanel.client.vue +293 -0
- package/dist/runtime/components/JunOfflinePanel.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunPageHero.vue +3 -3
- package/dist/runtime/components/JunSectionBar.d.vue.ts +41 -0
- package/dist/runtime/components/JunSectionBar.vue +144 -0
- package/dist/runtime/components/JunSectionBar.vue.d.ts +41 -0
- package/dist/runtime/components/renderers/JunConfigRenderer.vue +618 -6
- package/dist/runtime/components/renderers/JunEntryRenderer.vue +48 -0
- package/dist/runtime/composables/useJunCommands.d.ts +1 -1
- package/dist/runtime/composables/useJunCommands.js +14 -1
- package/dist/runtime/composables/useJunCreatePage.js +7 -1
- package/dist/runtime/composables/useJunDocPage.d.ts +28 -0
- package/dist/runtime/composables/useJunDocPage.js +111 -20
- package/dist/runtime/composables/useJunGarden.d.ts +1 -1
- package/dist/runtime/composables/useJunGarden.js +3 -2
- package/dist/runtime/composables/useJunGestures.d.ts +53 -0
- package/dist/runtime/composables/useJunGestures.js +89 -0
- package/dist/runtime/composables/useJunMenuState.d.ts +4 -0
- package/dist/runtime/composables/useJunMenuState.js +5 -0
- package/dist/runtime/composables/useJunNavItems.d.ts +50 -0
- package/dist/runtime/composables/useJunNavItems.js +188 -0
- package/dist/runtime/composables/useJunNavSettings.d.ts +58 -1
- package/dist/runtime/composables/useJunNavSettings.js +110 -8
- package/dist/runtime/composables/useJunOffline.d.ts +109 -0
- package/dist/runtime/composables/useJunOffline.js +294 -0
- package/dist/runtime/composables/useJunOptions.d.ts +1 -0
- package/dist/runtime/composables/useJunSettings.d.ts +1 -1
- package/dist/runtime/composables/useJunSettings.js +2 -0
- package/dist/runtime/composables/useJunSiblings.d.ts +30 -0
- package/dist/runtime/composables/useJunSiblings.js +38 -0
- package/dist/runtime/composables/useJunSiteConfig.d.ts +70 -3
- package/dist/runtime/composables/useJunTheme.js +4 -1
- package/dist/runtime/composables/useJunViewingAccent.js +10 -0
- package/dist/runtime/layouts/jun.vue +32 -2
- package/dist/runtime/pages/doc.vue +2 -0
- package/dist/runtime/pages/index.vue +2 -0
- package/dist/runtime/server/api/health.get.d.ts +15 -0
- package/dist/runtime/server/api/health.get.js +7 -2
- package/dist/runtime/server/api/links.get.js +27 -3
- package/dist/runtime/server/api/offline.get.d.ts +10 -0
- package/dist/runtime/server/api/offline.get.js +13 -0
- package/dist/runtime/server/api/resolve/[...slug].get.d.ts +20 -0
- package/dist/runtime/server/api/resolve/[...slug].get.js +31 -0
- package/dist/runtime/server/api/search.get.d.ts +1 -1
- package/dist/runtime/server/api/search.get.js +42 -39
- package/dist/runtime/server/api/tree.get.js +3 -1
- package/dist/runtime/server/janitor/junJanitorChores.d.ts +14 -7
- package/dist/runtime/server/janitor/junJanitorChores.js +21 -3
- package/dist/runtime/server/janitor/junJanitorMachine.js +36 -4
- package/dist/runtime/server/janitor/junJanitorPerform.d.ts +15 -1
- package/dist/runtime/server/janitor/junJanitorPerform.js +13 -5
- package/dist/runtime/server/janitor/junJanitorYText.d.ts +40 -3
- package/dist/runtime/server/janitor/junJanitorYText.js +60 -14
- package/dist/runtime/server/plugins/jun-compress.d.ts +2 -0
- package/dist/runtime/server/plugins/jun-compress.js +76 -0
- package/dist/runtime/server/plugins/jun-janitor.js +132 -81
- package/dist/runtime/server/routes/jun-card.png.get.d.ts +2 -0
- package/dist/runtime/server/routes/jun-card.png.get.js +40 -0
- package/dist/runtime/server/routes/jun-sw.js.get.js +66 -13
- package/dist/runtime/server/routes/sitemap.xml.get.js +5 -18
- package/dist/runtime/server/utils/junCard.d.ts +39 -0
- package/dist/runtime/server/utils/junCard.js +159 -0
- package/dist/runtime/server/utils/junIcon.d.ts +27 -2
- package/dist/runtime/server/utils/junIcon.js +5 -5
- package/dist/runtime/server/utils/junJanitorStatus.d.ts +59 -0
- package/dist/runtime/server/utils/junJanitorStatus.js +27 -0
- package/dist/runtime/server/utils/junPages.d.ts +51 -0
- package/dist/runtime/server/utils/junPages.js +70 -0
- package/dist/runtime/types.d.ts +295 -0
- package/dist/runtime/utils/junAdopt.d.ts +43 -0
- package/dist/runtime/utils/junAdopt.js +7 -0
- package/dist/runtime/utils/junGesture.d.ts +84 -0
- package/dist/runtime/utils/junGesture.js +40 -0
- package/dist/runtime/utils/junLetters.d.ts +86 -0
- package/dist/runtime/utils/junLetters.js +173 -0
- package/dist/runtime/utils/junNavValue.d.ts +56 -0
- package/dist/runtime/utils/junNavValue.js +36 -0
- package/dist/runtime/utils/junOffline.d.ts +138 -0
- package/dist/runtime/utils/junOffline.js +73 -0
- package/dist/runtime/utils/junSearchRank.d.ts +79 -0
- package/dist/runtime/utils/junSearchRank.js +73 -0
- package/dist/runtime/utils/junSocial.d.ts +59 -0
- package/dist/runtime/utils/junSocial.js +56 -0
- package/dist/runtime/utils/junViewSpecs.d.ts +39 -1
- package/dist/runtime/utils/junViewSpecs.js +92 -1
- package/dist/types.d.mts +1 -1
- package/package.json +13 -9
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The arithmetic behind a page's link preview.
|
|
3
|
+
*
|
|
4
|
+
* Zero imports on purpose — the same shape as `junNavValue` and
|
|
5
|
+
* `junViewValues`. Every rule here is invisible on a rendered page: what a
|
|
6
|
+
* crawler receives is decided in the `<head>`, which nothing in a browser shows
|
|
7
|
+
* you and no screenshot can catch. So it gets unit tests instead.
|
|
8
|
+
*
|
|
9
|
+
* The starting point was a measurement: `og:title` was the SITE's title on
|
|
10
|
+
* every URL in the site, while `og:description` had been per-page since round
|
|
11
|
+
* five — so a shared journal entry showed the site's name over the entry's own
|
|
12
|
+
* summary, which is worse than either of them being wrong alone.
|
|
13
|
+
*/
|
|
14
|
+
export declare function junOgType(schemaType?: unknown): string;
|
|
15
|
+
/**
|
|
16
|
+
* Whether `article:*` tags belong on this page.
|
|
17
|
+
*
|
|
18
|
+
* Only the article family takes them. Emitting `article:published_time` beside
|
|
19
|
+
* `og:type: website` is not harmless — it is the shape a scraper reads to
|
|
20
|
+
* decide a site's pages are one undated blob.
|
|
21
|
+
*/
|
|
22
|
+
export declare function junIsArticleOg(ogType: string): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The first candidate that is a usable absolute origin.
|
|
25
|
+
*
|
|
26
|
+
* Call it with the site's own answer first and the request's last:
|
|
27
|
+
*
|
|
28
|
+
* junOrigin(config.seoSiteUrl, options.siteUrl, requestUrl.origin)
|
|
29
|
+
*
|
|
30
|
+
* Why an owner's setting outranks the request: a site reachable at several
|
|
31
|
+
* addresses (a preview domain, an IP, `www.` and bare) has to name ONE of them
|
|
32
|
+
* canonical, and only its owner knows which. Why the request outranks nothing:
|
|
33
|
+
* a deployment that never set it still emits its real address rather than
|
|
34
|
+
* `http://localhost:3003`, which is the one wrong answer a crawler can neither
|
|
35
|
+
* ignore nor recover from.
|
|
36
|
+
*
|
|
37
|
+
* A trailing slash is stripped so `junAbsoluteUrl` can join with one.
|
|
38
|
+
*/
|
|
39
|
+
export declare function junOrigin(...candidates: unknown[]): string;
|
|
40
|
+
/**
|
|
41
|
+
* An absolute URL for a site-relative path.
|
|
42
|
+
*
|
|
43
|
+
* Returns the path unchanged when there is no origin. Deliberate: a relative
|
|
44
|
+
* `og:url` is ignored by every consumer, while an absolute URL built on a
|
|
45
|
+
* guessed origin is FOLLOWED — and points somewhere else. Silence beats a
|
|
46
|
+
* confident wrong answer here.
|
|
47
|
+
*/
|
|
48
|
+
export declare function junAbsoluteUrl(origin: string, path: string): string;
|
|
49
|
+
/**
|
|
50
|
+
* An ISO-8601 instant from whatever a document's meta happens to hold.
|
|
51
|
+
*
|
|
52
|
+
* Three shapes reach this and all three are real here: an epoch in
|
|
53
|
+
* milliseconds (`createdAt`), an epoch in SECONDS (seeded content), and a date
|
|
54
|
+
* string an owner typed. The magnitude check is why the second one works —
|
|
55
|
+
* `new Date(1785000000)` is 1970 read as milliseconds and 2026 read as
|
|
56
|
+
* seconds, and the wrong branch dates every post to the Nixon administration
|
|
57
|
+
* without failing anywhere.
|
|
58
|
+
*/
|
|
59
|
+
export declare function junIsoTime(value: unknown): string | undefined;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
const OG_BY_SCHEMA = {
|
|
2
|
+
// The article family — anything read once, from a moment in time.
|
|
3
|
+
Article: "article",
|
|
4
|
+
BlogPosting: "article",
|
|
5
|
+
NewsArticle: "article",
|
|
6
|
+
TechArticle: "article",
|
|
7
|
+
ScholarlyArticle: "article",
|
|
8
|
+
Report: "article",
|
|
9
|
+
DiscussionForumPosting: "article",
|
|
10
|
+
LearningResource: "article",
|
|
11
|
+
Course: "article",
|
|
12
|
+
Recipe: "article",
|
|
13
|
+
// The richer vocabularies Open Graph actually defines.
|
|
14
|
+
Book: "book",
|
|
15
|
+
Movie: "video.movie",
|
|
16
|
+
TVEpisode: "video.episode",
|
|
17
|
+
VideoObject: "video.other",
|
|
18
|
+
MusicRecording: "music.song",
|
|
19
|
+
MusicAlbum: "music.album",
|
|
20
|
+
MusicPlaylist: "music.playlist",
|
|
21
|
+
// A page ABOUT a person, which is what a CV is.
|
|
22
|
+
Person: "profile",
|
|
23
|
+
ProfilePage: "profile"
|
|
24
|
+
};
|
|
25
|
+
export function junOgType(schemaType) {
|
|
26
|
+
if (typeof schemaType !== "string" || !schemaType) return "website";
|
|
27
|
+
return OG_BY_SCHEMA[schemaType] ?? "website";
|
|
28
|
+
}
|
|
29
|
+
export function junIsArticleOg(ogType) {
|
|
30
|
+
return ogType === "article";
|
|
31
|
+
}
|
|
32
|
+
export function junOrigin(...candidates) {
|
|
33
|
+
for (const candidate of candidates) {
|
|
34
|
+
if (typeof candidate !== "string") continue;
|
|
35
|
+
const trimmed = candidate.trim().replace(/\/+$/, "");
|
|
36
|
+
if (/^https?:\/\/\S+$/i.test(trimmed)) return trimmed;
|
|
37
|
+
}
|
|
38
|
+
return "";
|
|
39
|
+
}
|
|
40
|
+
export function junAbsoluteUrl(origin, path) {
|
|
41
|
+
const p = path.startsWith("/") ? path : `/${path}`;
|
|
42
|
+
if (!origin) return p;
|
|
43
|
+
return `${origin}${p === "/" ? "/" : p.replace(/\/+$/, "")}`;
|
|
44
|
+
}
|
|
45
|
+
export function junIsoTime(value) {
|
|
46
|
+
if (typeof value === "number" && Number.isFinite(value)) {
|
|
47
|
+
const ms = value < 1e11 ? value * 1e3 : value;
|
|
48
|
+
const d = new Date(ms);
|
|
49
|
+
return Number.isNaN(d.getTime()) ? void 0 : d.toISOString();
|
|
50
|
+
}
|
|
51
|
+
if (typeof value === "string" && value.trim()) {
|
|
52
|
+
const d = new Date(value.trim());
|
|
53
|
+
return Number.isNaN(d.getTime()) ? void 0 : d.toISOString();
|
|
54
|
+
}
|
|
55
|
+
return void 0;
|
|
56
|
+
}
|
|
@@ -363,7 +363,7 @@ export declare const JUN_VIEW_SPECS: {
|
|
|
363
363
|
metaKey: string;
|
|
364
364
|
default: string[];
|
|
365
365
|
choices: {
|
|
366
|
-
value: "links" | "now" | "prose" | "
|
|
366
|
+
value: "links" | "now" | "prose" | "pages" | "hero" | "latest" | "projects";
|
|
367
367
|
label: "Hero" | "Latest writing" | "Projects" | "Now" | "Links" | "Pages" | "Page content";
|
|
368
368
|
icon: "i-lucide-text" | "i-lucide-box" | "i-lucide-link" | "i-lucide-feather" | "i-lucide-radio" | "i-lucide-user-round" | "i-lucide-layout-grid";
|
|
369
369
|
}[];
|
|
@@ -669,3 +669,41 @@ export declare function junViewSpecFor(typeKey: string): JunViewOption[];
|
|
|
669
669
|
* a hydration mismatch on every page that used one. See `useJunDocPage`.
|
|
670
670
|
*/
|
|
671
671
|
export declare const JUN_CHROME_OPTIONS: JunViewOption[];
|
|
672
|
+
/**
|
|
673
|
+
* The NAVBAR, per page — appended to every type's spec beside the chrome ones.
|
|
674
|
+
*
|
|
675
|
+
* Hiding the navbar was already a per-document choice; how it LOOKS was not, and
|
|
676
|
+
* the two are the same question asked at different strengths. A deck wants the
|
|
677
|
+
* bar at the bottom and out of the way, a globe wants it to auto-hide over the
|
|
678
|
+
* canvas, and a long article might want that on a site whose owner left it off
|
|
679
|
+
* everywhere else. Turning any of those into a site-wide setting is how a site
|
|
680
|
+
* ends up configured for its most demanding page.
|
|
681
|
+
*
|
|
682
|
+
* **Every one of them defaults to `inherit`, and that is what makes it safe.**
|
|
683
|
+
* `useJunViewOptions` resolves the DOCUMENT, then the site's per-type default,
|
|
684
|
+
* then this — so a plain default of `top` would mean every page overriding the
|
|
685
|
+
* site's own placement with `top`, forever. `inherit` is the value that means
|
|
686
|
+
* "do not answer this question here", and `useJunNavSettings` skips it.
|
|
687
|
+
*
|
|
688
|
+
* They are `select`s rather than toggles for the same reason: a boolean has no
|
|
689
|
+
* way to spell "I have no opinion", and two-thirds of these are booleans in the
|
|
690
|
+
* site config.
|
|
691
|
+
*/
|
|
692
|
+
/**
|
|
693
|
+
* How a page WEARS its title.
|
|
694
|
+
*
|
|
695
|
+
* `<JunPageHero>` is the interior header for 26 files and 42 call sites, and it
|
|
696
|
+
* has rendered exactly one shape since it was written: a large headline over a
|
|
697
|
+
* wide-tracked subtitle. That is a good shape and it is not the only one — a
|
|
698
|
+
* reference page wants a quiet line, a photograph wants a band, a wide feed
|
|
699
|
+
* wants the subtitle beside the title rather than under it.
|
|
700
|
+
*
|
|
701
|
+
* Applied as CSS from a `data-jun-hero` attribute on `<html>`, NOT as a prop:
|
|
702
|
+
* the hero is mounted by every renderer and threading a variant through all of
|
|
703
|
+
* them would be 42 edits and a permanent tax on the next one. The attribute is
|
|
704
|
+
* set by `useJunDocPage` in `htmlAttrs`, which is collected after the whole
|
|
705
|
+
* tree has rendered — the same mechanism `data-jun-chrome` uses, for the same
|
|
706
|
+
* reason.
|
|
707
|
+
*/
|
|
708
|
+
export declare const JUN_HERO_OPTIONS: JunViewOption[];
|
|
709
|
+
export declare const JUN_NAV_OPTIONS: JunViewOption[];
|
|
@@ -525,10 +525,101 @@ export const JUN_VIEW_SPECS = {
|
|
|
525
525
|
};
|
|
526
526
|
export function junViewSpecFor(typeKey) {
|
|
527
527
|
const own = JUN_VIEW_SPECS[typeKey];
|
|
528
|
-
|
|
528
|
+
const base = own ? [...own, ...JUN_CHROME_OPTIONS] : [...JUN_CHROME_OPTIONS];
|
|
529
|
+
return [...base, ...JUN_HERO_OPTIONS, ...JUN_NAV_OPTIONS];
|
|
529
530
|
}
|
|
530
531
|
export const JUN_CHROME_OPTIONS = [
|
|
531
532
|
{ key: "chromeNav", kind: "toggle", label: "Navbar", icon: "i-lucide-navigation", default: true },
|
|
532
533
|
{ key: "chromeFooter", kind: "toggle", label: "Footer", icon: "i-lucide-panel-bottom", default: true },
|
|
533
534
|
{ key: "chromeBackdrop", kind: "toggle", label: "Backdrop", icon: "i-lucide-image", default: true }
|
|
534
535
|
];
|
|
536
|
+
export const JUN_HERO_OPTIONS = [
|
|
537
|
+
{
|
|
538
|
+
key: "heroStyle",
|
|
539
|
+
kind: "select",
|
|
540
|
+
label: "Page header",
|
|
541
|
+
icon: "i-lucide-heading-1",
|
|
542
|
+
default: "classic",
|
|
543
|
+
choices: [
|
|
544
|
+
{ value: "classic", label: "Classic", hint: "Large headline, subtitle under" },
|
|
545
|
+
{ value: "minimal", label: "Minimal", hint: "One quiet line" },
|
|
546
|
+
{ value: "banner", label: "Banner", hint: "A band in the accent" },
|
|
547
|
+
{ value: "split", label: "Split", hint: "Subtitle beside, on wide screens" }
|
|
548
|
+
]
|
|
549
|
+
}
|
|
550
|
+
];
|
|
551
|
+
export const JUN_NAV_OPTIONS = [
|
|
552
|
+
{
|
|
553
|
+
key: "navPlacement",
|
|
554
|
+
kind: "select",
|
|
555
|
+
label: "Navbar placement",
|
|
556
|
+
icon: "i-lucide-navigation",
|
|
557
|
+
default: "inherit",
|
|
558
|
+
choices: [
|
|
559
|
+
{ value: "inherit", label: "Site default" },
|
|
560
|
+
{ value: "top", label: "Top" },
|
|
561
|
+
{ value: "top-bar", label: "Top bar" },
|
|
562
|
+
{ value: "bottom", label: "Bottom" },
|
|
563
|
+
{ value: "rail-left", label: "Left rail" },
|
|
564
|
+
{ value: "rail-right", label: "Right rail" }
|
|
565
|
+
]
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
key: "navItemMode",
|
|
569
|
+
kind: "select",
|
|
570
|
+
label: "Navbar items",
|
|
571
|
+
icon: "i-lucide-type",
|
|
572
|
+
default: "inherit",
|
|
573
|
+
choices: [
|
|
574
|
+
{ value: "inherit", label: "Site default" },
|
|
575
|
+
{ value: "text", label: "Text" },
|
|
576
|
+
{ value: "icon", label: "Icons" },
|
|
577
|
+
{ value: "icon-focus", label: "Icon + focus" },
|
|
578
|
+
{ value: "icon-text", label: "Icon + title" },
|
|
579
|
+
{ value: "icon-stack", label: "Stacked" }
|
|
580
|
+
]
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
key: "navMobileMode",
|
|
584
|
+
kind: "select",
|
|
585
|
+
label: "Navbar on a phone",
|
|
586
|
+
icon: "i-lucide-smartphone",
|
|
587
|
+
default: "inherit",
|
|
588
|
+
choices: [
|
|
589
|
+
{ value: "inherit", label: "Site default" },
|
|
590
|
+
{ value: "track", label: "Track" },
|
|
591
|
+
{ value: "sheet", label: "Sheet" },
|
|
592
|
+
{ value: "drawer-left", label: "Drawer left" },
|
|
593
|
+
{ value: "drawer-right", label: "Drawer right" },
|
|
594
|
+
{ value: "fullscreen", label: "Full screen" },
|
|
595
|
+
{ value: "grid", label: "Grid" },
|
|
596
|
+
{ value: "dock", label: "Dock" }
|
|
597
|
+
]
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
key: "navSection",
|
|
601
|
+
kind: "select",
|
|
602
|
+
label: "Section bar",
|
|
603
|
+
icon: "i-lucide-rows-3",
|
|
604
|
+
default: "inherit",
|
|
605
|
+
choices: [
|
|
606
|
+
{ value: "inherit", label: "Site default" },
|
|
607
|
+
{ value: "off", label: "None" },
|
|
608
|
+
{ value: "row", label: "Row", hint: "Scrolls, any length" },
|
|
609
|
+
{ value: "segmented", label: "Segmented", hint: "Pills \u2014 three or four" },
|
|
610
|
+
{ value: "tabs", label: "Tabs", hint: "Underlined, docs-shaped" }
|
|
611
|
+
]
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
key: "navAutoHide",
|
|
615
|
+
kind: "select",
|
|
616
|
+
label: "Navbar auto-hide",
|
|
617
|
+
icon: "i-lucide-eye-off",
|
|
618
|
+
default: "inherit",
|
|
619
|
+
choices: [
|
|
620
|
+
{ value: "inherit", label: "Site default" },
|
|
621
|
+
{ value: "on", label: "Hide on scroll" },
|
|
622
|
+
{ value: "off", label: "Always visible" }
|
|
623
|
+
]
|
|
624
|
+
}
|
|
625
|
+
];
|
package/dist/types.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { type JunBackdropKind, type JunBrand, type JunCampfireOptions, type JunCampfirePillMode, type JunCampfirePlacement, type JunCampfireRosterStyle, type JunCampfireSize, type JunCampfireTab, type JunContextMenuOptions, type JunEmbedOptions, type JunFeatures, type JunGuestNames, type JunJanitorBaselineMode, type JunJanitorIdentity, type JunJanitorIdentityMode, type JunJanitorMode, type JunJanitorOptions, type JunJsonLdSpec, type JunLayoutPolicy, type JunMosaicOptions, type JunNavActiveStyle, type JunNavItemMode, type JunNavPlacement, type JunNavShape, type JunNavSize, type JunNavigationOptions, type JunPageTypeKey, type JunPageTypeOverride, type JunPageTypesOption, type JunPalette, type JunPaletteSet, type JunRendererDefaults, type JunRuntimeOptions, type JunSeedNode, type JunSeedOptions, type JunServicesOptions, type JunSiteConfigDefaults } from '../dist/runtime/types.js'
|
|
1
|
+
export { type JunBackdropKind, type JunBrand, type JunCampfireOptions, type JunCampfirePillMode, type JunCampfirePlacement, type JunCampfireRosterStyle, type JunCampfireSize, type JunCampfireTab, type JunContextMenuOptions, type JunEmbedOptions, type JunFeatures, type JunGuestNames, type JunJanitorBaselineMode, type JunJanitorIdentity, type JunJanitorIdentityMode, type JunJanitorMode, type JunJanitorOptions, type JunJsonLdSpec, type JunLayoutPolicy, type JunMosaicOptions, type JunNavActiveStyle, type JunNavItemMode, type JunNavPlacement, type JunNavShape, type JunNavSize, type JunNavigationOptions, type JunOfflineOptions, type JunPageTypeKey, type JunPageTypeOverride, type JunPageTypesOption, type JunPalette, type JunPaletteSet, type JunPrefetchPolicy, type JunRendererDefaults, type JunRuntimeOptions, type JunSeedNode, type JunSeedOptions, type JunServicesOptions, type JunSiteConfigDefaults } from '../dist/runtime/types.js'
|
|
2
2
|
|
|
3
3
|
export { default } from './module.mjs'
|
|
4
4
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abraca/junis",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.90.0",
|
|
4
4
|
"description": "Website-builder Nuxt module for the Abracadabra CRDT platform — page-type renderers, presence chrome, studio editing and SSR, all driven by documents",
|
|
5
5
|
"repository": "abracadabra/jun-is",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"//deps": "SINGLETONS ARE PEERS, NEVER DEPENDENCIES. @abraca/convert was a dependency until 2.79.0 and had to move: it peers on yjs, and a nested second copy of it means a Y.XmlElement built by one yjs crossing into a fragment owned by another — 'Unexpected content type in insert operation', which no bundler config fixes. Same reason @tiptap/core, vue and yjs are peers. Anything holding global identity or editor/CRDT state belongs here so the app resolves exactly one copy; wand.toml [pins] + `wand doctor` enforce the versions.",
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@abraca/convert": "^2.
|
|
37
|
-
"@abraca/dabra": "^2.
|
|
38
|
-
"@abraca/nuxt": "^2.
|
|
36
|
+
"@abraca/convert": "^2.88.0",
|
|
37
|
+
"@abraca/dabra": "^2.88.0",
|
|
38
|
+
"@abraca/nuxt": "^2.88.0",
|
|
39
39
|
"@nuxt/fonts": "^0.14.0",
|
|
40
40
|
"@nuxt/icon": "^2.0.0",
|
|
41
41
|
"@nuxt/image": "^2.0.0",
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@abraca/convert": "^2.
|
|
68
|
-
"@abraca/dabra": "^2.
|
|
69
|
-
"@abraca/nuxt": "^2.
|
|
67
|
+
"@abraca/convert": "^2.88.0",
|
|
68
|
+
"@abraca/dabra": "^2.88.0",
|
|
69
|
+
"@abraca/nuxt": "^2.88.0",
|
|
70
70
|
"@iconify-json/lucide": "^1.2.108",
|
|
71
71
|
"@iconify-json/simple-icons": "^1.2.83",
|
|
72
72
|
"@nuxt/eslint-config": "^1.15.2",
|
|
@@ -105,14 +105,18 @@
|
|
|
105
105
|
"parity:nav": "node scripts/parity-nav.mjs",
|
|
106
106
|
"parity:follow": "node scripts/parity-follow.mjs",
|
|
107
107
|
"parity:studio": "node scripts/parity-studio.mjs",
|
|
108
|
+
"parity:touch": "node scripts/parity-touch.mjs",
|
|
109
|
+
"parity:offline": "node scripts/parity-offline.mjs",
|
|
110
|
+
"parity:weight": "node scripts/parity-weight.mjs",
|
|
108
111
|
"deploy:check": "node scripts/deploy-check.mjs",
|
|
109
112
|
"pins:check": "node scripts/pins-check.mjs",
|
|
110
113
|
"typecheck": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
|
|
111
|
-
"release": "npm run lint && npm run prepack",
|
|
114
|
+
"release": "npm run lint && npm run deps:check && npm run pins:check && npm run prepack",
|
|
112
115
|
"docker:up": "docker compose up -d --build",
|
|
113
116
|
"docker:down": "docker compose down",
|
|
114
117
|
"docker:logs": "docker compose logs -f",
|
|
115
118
|
"docker:reset": "node scripts/docker-reset.mjs",
|
|
116
|
-
"janitor:inspect": "node scripts/janitor-inspect.mjs"
|
|
119
|
+
"janitor:inspect": "node scripts/janitor-inspect.mjs",
|
|
120
|
+
"deps:check": "node scripts/deps-check.mjs"
|
|
117
121
|
}
|
|
118
122
|
}
|