@dogsbay/ssg 0.2.0-beta.138 → 0.2.0-beta.140
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,31 +1,31 @@
|
|
|
1
1
|
Third-party software in @dogsbay/ssg (dist/package/)
|
|
2
2
|
|
|
3
3
|
========================================================================
|
|
4
|
-
@dogsbay/elements@0.2.0-beta.
|
|
4
|
+
@dogsbay/elements@0.2.0-beta.140 (MIT)
|
|
5
5
|
https://github.com/dogsbay/dogsbay.git
|
|
6
6
|
|
|
7
7
|
Licensed under MIT; the package ships no licence file.
|
|
8
8
|
|
|
9
9
|
========================================================================
|
|
10
|
-
@dogsbay/primitives@0.2.0-beta.
|
|
10
|
+
@dogsbay/primitives@0.2.0-beta.140 (MIT)
|
|
11
11
|
https://github.com/dogsbay/dogsbay.git
|
|
12
12
|
|
|
13
13
|
Licensed under MIT; the package ships no licence file.
|
|
14
14
|
|
|
15
15
|
========================================================================
|
|
16
|
-
@dogsbay/render-html@0.2.0-beta.
|
|
16
|
+
@dogsbay/render-html@0.2.0-beta.140 (MIT)
|
|
17
17
|
https://github.com/dogsbay/dogsbay.git
|
|
18
18
|
|
|
19
19
|
Licensed under MIT; the package ships no licence file.
|
|
20
20
|
|
|
21
21
|
========================================================================
|
|
22
|
-
@dogsbay/search@0.2.0-beta.
|
|
22
|
+
@dogsbay/search@0.2.0-beta.140 (MIT)
|
|
23
23
|
https://github.com/dogsbay/dogsbay.git
|
|
24
24
|
|
|
25
25
|
Licensed under MIT; the package ships no licence file.
|
|
26
26
|
|
|
27
27
|
========================================================================
|
|
28
|
-
@dogsbay/ui@0.2.0-beta.
|
|
28
|
+
@dogsbay/ui@0.2.0-beta.140 (MIT)
|
|
29
29
|
https://github.com/dogsbay/dogsbay.git
|
|
30
30
|
|
|
31
31
|
Licensed under MIT; the package ships no licence file.
|
package/dist/package/browser.mjs
CHANGED
|
@@ -1085,31 +1085,31 @@ var CLIENT_CANDIDATES = ['""', '"&"', '"\\\\$&")).join("|")})', '"\\\\$&")}"', '
|
|
|
1085
1085
|
var SITE_NOTICES = `Third-party software in this site's _dogsbay/ files (dogsbay.js, site.css) and pages
|
|
1086
1086
|
|
|
1087
1087
|
========================================================================
|
|
1088
|
-
@dogsbay/elements@0.2.0-beta.
|
|
1088
|
+
@dogsbay/elements@0.2.0-beta.140 (MIT)
|
|
1089
1089
|
https://github.com/dogsbay/dogsbay.git
|
|
1090
1090
|
|
|
1091
1091
|
Licensed under MIT; the package ships no licence file.
|
|
1092
1092
|
|
|
1093
1093
|
========================================================================
|
|
1094
|
-
@dogsbay/primitives@0.2.0-beta.
|
|
1094
|
+
@dogsbay/primitives@0.2.0-beta.140 (MIT)
|
|
1095
1095
|
https://github.com/dogsbay/dogsbay.git
|
|
1096
1096
|
|
|
1097
1097
|
Licensed under MIT; the package ships no licence file.
|
|
1098
1098
|
|
|
1099
1099
|
========================================================================
|
|
1100
|
-
@dogsbay/render-html@0.2.0-beta.
|
|
1100
|
+
@dogsbay/render-html@0.2.0-beta.140 (MIT)
|
|
1101
1101
|
https://github.com/dogsbay/dogsbay.git
|
|
1102
1102
|
|
|
1103
1103
|
Licensed under MIT; the package ships no licence file.
|
|
1104
1104
|
|
|
1105
1105
|
========================================================================
|
|
1106
|
-
@dogsbay/search@0.2.0-beta.
|
|
1106
|
+
@dogsbay/search@0.2.0-beta.140 (MIT)
|
|
1107
1107
|
https://github.com/dogsbay/dogsbay.git
|
|
1108
1108
|
|
|
1109
1109
|
Licensed under MIT; the package ships no licence file.
|
|
1110
1110
|
|
|
1111
1111
|
========================================================================
|
|
1112
|
-
@dogsbay/ui@0.2.0-beta.
|
|
1112
|
+
@dogsbay/ui@0.2.0-beta.140 (MIT)
|
|
1113
1113
|
https://github.com/dogsbay/dogsbay.git
|
|
1114
1114
|
|
|
1115
1115
|
Licensed under MIT; the package ships no licence file.
|
|
@@ -3561,7 +3561,8 @@ ${marker}${title}${marker}`, path, attributesOf(path), includesFor(path, read2),
|
|
|
3561
3561
|
for (const f of memo2.deps ?? []) includedProject.add(f);
|
|
3562
3562
|
} else {
|
|
3563
3563
|
const keep = memo2 && !templatesOf(p).isTemplatePage(fm);
|
|
3564
|
-
|
|
3564
|
+
const titled = `${str(fm.title) ?? ""} ${fm.description ?? ""}`;
|
|
3565
|
+
if (templatesOf(p).isTemplatePage(fm) && /\{[{%]/.test(titled) && /\bdata\s*(\.[A-Za-z_]|\[)/.test(titled)) dataInTitles = true;
|
|
3565
3566
|
const reads = keep ? (f) => state.scan.read(abs(p), f) : void 0;
|
|
3566
3567
|
const skippedBefore = state.templateBudget.skipped.titles;
|
|
3567
3568
|
title = detach(await resolveTitle(str(fm.title) ?? firstH1(await source()) ?? humanize2(slug.split("/").pop() || cfg.name), await source(), p, fm, reads));
|
|
@@ -4863,6 +4864,8 @@ function hreflangFor(cfg, unit, all, languages, slug) {
|
|
|
4863
4864
|
var CONFIG_FILES = /* @__PURE__ */ new Set(["dogsbay.config.yml", "dogsbay.config.yaml"]);
|
|
4864
4865
|
var NAV_FILES2 = /(^|\/)nav\.(ya?ml|json)$/;
|
|
4865
4866
|
var START_ONLY = /(^|\/)(_dogsbay\/search\/|llms(-full)?\.txt$)/;
|
|
4867
|
+
var SITE_WIDE = /^(_dogsbay\/assets\/|_dogsbay\/site\.js$|robots\.txt$|_headers$|_redirects$|sitemap-index\.xml$)/;
|
|
4868
|
+
var UNIT_CSS = /(^|\/)_dogsbay\/site\.css$/;
|
|
4866
4869
|
async function openDevSession(input, o = {}) {
|
|
4867
4870
|
let out = /* @__PURE__ */ new Map();
|
|
4868
4871
|
let units = /* @__PURE__ */ new Map();
|
|
@@ -5150,7 +5153,7 @@ async function openDevSession(input, o = {}) {
|
|
|
5150
5153
|
for (const prefix of lazy) {
|
|
5151
5154
|
const u = units.get(prefix);
|
|
5152
5155
|
for (const key of [...out.keys()]) {
|
|
5153
|
-
if (START_ONLY.test(key)) continue;
|
|
5156
|
+
if (START_ONLY.test(key) || SITE_WIDE.test(key) || UNIT_CSS.test(key)) continue;
|
|
5154
5157
|
if (unitForSitePath(key) === u) out.delete(key);
|
|
5155
5158
|
}
|
|
5156
5159
|
for (const s of [...stale]) if (unitForSitePath(s) === u) stale.delete(s);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dogsbay/ssg",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.140",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Documentation static site generator for Dogsbay-MD that builds inside Cloudflare Workers and publishes sites that work offline",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,38 +49,38 @@
|
|
|
49
49
|
"tailwindcss": "^4.3.2"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@dogsbay/elements": "0.2.0-beta.
|
|
53
|
-
"@dogsbay/format-dogsbay-md": "0.2.0-beta.
|
|
54
|
-
"@dogsbay/format-openapi": "0.2.0-beta.
|
|
55
|
-
"@dogsbay/format-topicmap": "0.2.0-beta.
|
|
56
|
-
"@dogsbay/highlight": "0.2.0-beta.
|
|
57
|
-
"@dogsbay/minja": "0.2.0-beta.
|
|
58
|
-
"@dogsbay/primitives": "0.2.0-beta.
|
|
59
|
-
"@dogsbay/render-html": "0.2.0-beta.
|
|
60
|
-
"@dogsbay/search": "0.2.0-beta.
|
|
61
|
-
"@dogsbay/serialize-core": "0.2.0-beta.
|
|
62
|
-
"@dogsbay/site-check": "0.2.0-beta.
|
|
63
|
-
"@dogsbay/site-files": "0.2.0-beta.
|
|
64
|
-
"@dogsbay/types": "0.2.0-beta.
|
|
52
|
+
"@dogsbay/elements": "0.2.0-beta.140",
|
|
53
|
+
"@dogsbay/format-dogsbay-md": "0.2.0-beta.140",
|
|
54
|
+
"@dogsbay/format-openapi": "0.2.0-beta.140",
|
|
55
|
+
"@dogsbay/format-topicmap": "0.2.0-beta.140",
|
|
56
|
+
"@dogsbay/highlight": "0.2.0-beta.140",
|
|
57
|
+
"@dogsbay/minja": "0.2.0-beta.140",
|
|
58
|
+
"@dogsbay/primitives": "0.2.0-beta.140",
|
|
59
|
+
"@dogsbay/render-html": "0.2.0-beta.140",
|
|
60
|
+
"@dogsbay/search": "0.2.0-beta.140",
|
|
61
|
+
"@dogsbay/serialize-core": "0.2.0-beta.140",
|
|
62
|
+
"@dogsbay/site-check": "0.2.0-beta.140",
|
|
63
|
+
"@dogsbay/site-files": "0.2.0-beta.140",
|
|
64
|
+
"@dogsbay/types": "0.2.0-beta.140"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@axe-core/playwright": "^4.12.1",
|
|
68
68
|
"@cloudflare/workers-types": "^5.20260921.1",
|
|
69
|
-
"@dogsbay/elements": "0.2.0-beta.
|
|
70
|
-
"@dogsbay/format-dogsbay-md": "0.2.0-beta.
|
|
71
|
-
"@dogsbay/format-openapi": "0.2.0-beta.
|
|
72
|
-
"@dogsbay/format-topicmap": "0.2.0-beta.
|
|
73
|
-
"@dogsbay/highlight": "0.2.0-beta.
|
|
74
|
-
"@dogsbay/icons": "0.2.0-beta.
|
|
75
|
-
"@dogsbay/minja": "0.2.0-beta.
|
|
76
|
-
"@dogsbay/primitives": "0.2.0-beta.
|
|
77
|
-
"@dogsbay/render-html": "0.2.0-beta.
|
|
78
|
-
"@dogsbay/search": "0.2.0-beta.
|
|
79
|
-
"@dogsbay/serialize-core": "0.2.0-beta.
|
|
80
|
-
"@dogsbay/site-check": "0.2.0-beta.
|
|
81
|
-
"@dogsbay/site-files": "0.2.0-beta.
|
|
82
|
-
"@dogsbay/types": "0.2.0-beta.
|
|
83
|
-
"@dogsbay/ui": "0.2.0-beta.
|
|
69
|
+
"@dogsbay/elements": "0.2.0-beta.140",
|
|
70
|
+
"@dogsbay/format-dogsbay-md": "0.2.0-beta.140",
|
|
71
|
+
"@dogsbay/format-openapi": "0.2.0-beta.140",
|
|
72
|
+
"@dogsbay/format-topicmap": "0.2.0-beta.140",
|
|
73
|
+
"@dogsbay/highlight": "0.2.0-beta.140",
|
|
74
|
+
"@dogsbay/icons": "0.2.0-beta.140",
|
|
75
|
+
"@dogsbay/minja": "0.2.0-beta.140",
|
|
76
|
+
"@dogsbay/primitives": "0.2.0-beta.140",
|
|
77
|
+
"@dogsbay/render-html": "0.2.0-beta.140",
|
|
78
|
+
"@dogsbay/search": "0.2.0-beta.140",
|
|
79
|
+
"@dogsbay/serialize-core": "0.2.0-beta.140",
|
|
80
|
+
"@dogsbay/site-check": "0.2.0-beta.140",
|
|
81
|
+
"@dogsbay/site-files": "0.2.0-beta.140",
|
|
82
|
+
"@dogsbay/types": "0.2.0-beta.140",
|
|
83
|
+
"@dogsbay/ui": "0.2.0-beta.140",
|
|
84
84
|
"@mermanjs/web": "0.7.0",
|
|
85
85
|
"@playwright/test": "1.61.1",
|
|
86
86
|
"@types/node": "^22.10.0",
|