@publish.os/nextjs 0.0.1-alpha.5 → 0.0.1-alpha.6
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 +1 -1
- package/dist/config/createNextConfig.js +3 -3
- package/dist/index.js +7 -5
- package/dist/kernel/components/blocks/color-palette.js +35 -4
- package/dist/kernel/components/blocks/logo-block.js +1 -1
- package/dist/kernel/components/blocks/nav-breadcrumb.js +2 -12
- package/dist/kernel/components/mdx/components/image.js +1 -1
- package/dist/kernel/components/ui/breadcrumb-trail.d.ts +3 -1
- package/dist/kernel/components/ui/breadcrumb-trail.js +1 -0
- package/dist/kernel/components/ui/breadcrumb.d.ts +1 -5
- package/dist/kernel/components/ui/breadcrumb.js +1 -16
- package/dist/kernel/components/ui/menu.js +5 -5
- package/dist/kernel/components/ui/navigation-menu.js +2 -2
- package/dist/kernel/components/ui/popover.js +5 -11
- package/dist/kernel/components/ui/select.js +5 -5
- package/dist/kernel/components/ui/text.js +109 -106
- package/dist/kernel/components/ui/tooltip.js +2 -2
- package/dist/kernel/defaults.registry.d.ts +60 -69
- package/dist/kernel/defaults.registry.js +59 -67
- package/dist/kernel/routes/agent/markdown.js +2 -2
- package/dist/kernel/routes/metadata/feed.js +2 -2
- package/dist/kernel/routes/metadata/llms.js +4 -2
- package/dist/kernel/routes/metadata/og-image.d.ts +1 -1
- package/dist/kernel/routes/metadata/robots.js +2 -2
- package/dist/kernel/routes/metadata/sitemap.js +2 -2
- package/dist/utils/cn.d.ts +1 -1
- package/package.json +2 -6
- package/release/package.json +3 -2
- package/release/release.json +5 -5
- package/release/{pnpm-lock.yaml → runtime-pnpm-lock.yaml} +135 -34
- package/dist/cache/tags.cjs +0 -79
- package/dist/cache/tags.d.cts +0 -13
- package/dist/config/createNextConfig.cjs +0 -52
- package/dist/config/createNextConfig.d.cts +0 -8
- package/dist/config.cjs +0 -78
- package/dist/config.d.cts +0 -101
- package/dist/config.d.ts +0 -101
- package/dist/config.js +0 -48
- package/dist/index.cjs +0 -1266
- package/dist/index.d.cts +0 -18
- package/dist/kernel/components/blocks/AgentActions.cjs +0 -425
- package/dist/kernel/components/blocks/AgentActions.d.cts +0 -52
- package/dist/kernel/components/blocks/animated-icon-swap.cjs +0 -101
- package/dist/kernel/components/blocks/animated-icon-swap.d.cts +0 -16
- package/dist/kernel/components/blocks/color-palette.cjs +0 -413
- package/dist/kernel/components/blocks/color-palette.d.cts +0 -7
- package/dist/kernel/components/blocks/design-system-preview.cjs +0 -593
- package/dist/kernel/components/blocks/design-system-preview.d.cts +0 -29
- package/dist/kernel/components/blocks/link-playground.cjs +0 -816
- package/dist/kernel/components/blocks/link-playground.d.cts +0 -5
- package/dist/kernel/components/blocks/logo-block.cjs +0 -156
- package/dist/kernel/components/blocks/logo-block.d.cts +0 -21
- package/dist/kernel/components/blocks/nav-breadcrumb.cjs +0 -122
- package/dist/kernel/components/blocks/nav-breadcrumb.d.cts +0 -11
- package/dist/kernel/components/blocks/navbar.cjs +0 -154
- package/dist/kernel/components/blocks/navbar.d.cts +0 -16
- package/dist/kernel/components/blocks/navigation-progress-playground.cjs +0 -735
- package/dist/kernel/components/blocks/navigation-progress-playground.d.cts +0 -5
- package/dist/kernel/components/blocks/navigation-progress.cjs +0 -270
- package/dist/kernel/components/blocks/navigation-progress.d.cts +0 -16
- package/dist/kernel/components/blocks/next-prev.cjs +0 -142
- package/dist/kernel/components/blocks/next-prev.d.cts +0 -11
- package/dist/kernel/components/blocks/page-list.cjs +0 -59
- package/dist/kernel/components/blocks/page-list.d.cts +0 -11
- package/dist/kernel/components/blocks/search.cjs +0 -717
- package/dist/kernel/components/blocks/search.d.cts +0 -77
- package/dist/kernel/components/blocks/sidebar-node.cjs +0 -309
- package/dist/kernel/components/blocks/sidebar-node.d.cts +0 -8
- package/dist/kernel/components/blocks/sidebar.cjs +0 -317
- package/dist/kernel/components/blocks/sidebar.d.cts +0 -33
- package/dist/kernel/components/blocks/theme-toggle.cjs +0 -31
- package/dist/kernel/components/blocks/theme-toggle.d.cts +0 -6
- package/dist/kernel/components/blocks/toc.cjs +0 -356
- package/dist/kernel/components/blocks/toc.d.cts +0 -10
- package/dist/kernel/components/mdx/components/blockquote.cjs +0 -66
- package/dist/kernel/components/mdx/components/blockquote.d.cts +0 -6
- package/dist/kernel/components/mdx/components/callout.cjs +0 -137
- package/dist/kernel/components/mdx/components/callout.d.cts +0 -18
- package/dist/kernel/components/mdx/components/code-block.cjs +0 -39
- package/dist/kernel/components/mdx/components/code-block.d.cts +0 -9
- package/dist/kernel/components/mdx/components/figure-caption.cjs +0 -63
- package/dist/kernel/components/mdx/components/figure-caption.d.cts +0 -6
- package/dist/kernel/components/mdx/components/figure.cjs +0 -78
- package/dist/kernel/components/mdx/components/figure.d.cts +0 -10
- package/dist/kernel/components/mdx/components/footnotes.cjs +0 -66
- package/dist/kernel/components/mdx/components/footnotes.d.cts +0 -6
- package/dist/kernel/components/mdx/components/heading-copy-link.cjs +0 -108
- package/dist/kernel/components/mdx/components/heading-copy-link.d.cts +0 -23
- package/dist/kernel/components/mdx/components/heading.cjs +0 -166
- package/dist/kernel/components/mdx/components/heading.d.cts +0 -8
- package/dist/kernel/components/mdx/components/hr.cjs +0 -34
- package/dist/kernel/components/mdx/components/hr.d.cts +0 -9
- package/dist/kernel/components/mdx/components/image-zoom.cjs +0 -49
- package/dist/kernel/components/mdx/components/image-zoom.d.cts +0 -10
- package/dist/kernel/components/mdx/components/image.cjs +0 -192
- package/dist/kernel/components/mdx/components/image.d.cts +0 -21
- package/dist/kernel/components/mdx/components/inline-code.cjs +0 -66
- package/dist/kernel/components/mdx/components/inline-code.d.cts +0 -6
- package/dist/kernel/components/mdx/components/kbd.cjs +0 -34
- package/dist/kernel/components/mdx/components/kbd.d.cts +0 -10
- package/dist/kernel/components/mdx/components/link.cjs +0 -49
- package/dist/kernel/components/mdx/components/link.d.cts +0 -11
- package/dist/kernel/components/mdx/components/paragraph.cjs +0 -87
- package/dist/kernel/components/mdx/components/paragraph.d.cts +0 -5
- package/dist/kernel/components/mdx/components/pre.cjs +0 -66
- package/dist/kernel/components/mdx/components/pre.d.cts +0 -6
- package/dist/kernel/components/mdx/components/strikethrough.cjs +0 -63
- package/dist/kernel/components/mdx/components/strikethrough.d.cts +0 -6
- package/dist/kernel/components/mdx/components/table.cjs +0 -59
- package/dist/kernel/components/mdx/components/table.d.cts +0 -10
- package/dist/kernel/components/mdx/components/task-list.cjs +0 -88
- package/dist/kernel/components/mdx/components/task-list.d.cts +0 -8
- package/dist/kernel/components/mdx/components/video-player.cjs +0 -173
- package/dist/kernel/components/mdx/components/video-player.d.cts +0 -18
- package/dist/kernel/components/mdx/components/video.cjs +0 -185
- package/dist/kernel/components/mdx/components/video.d.cts +0 -15
- package/dist/kernel/components/mdx/error-boundary.cjs +0 -62
- package/dist/kernel/components/mdx/error-boundary.d.cts +0 -8
- package/dist/kernel/components/mdx/error-fallback.cjs +0 -58
- package/dist/kernel/components/mdx/error-fallback.d.cts +0 -9
- package/dist/kernel/components/mdx/mdx.cjs +0 -141
- package/dist/kernel/components/mdx/mdx.d.cts +0 -22
- package/dist/kernel/components/mdx/rehype-heading-ids.cjs +0 -113
- package/dist/kernel/components/mdx/rehype-heading-ids.d.cts +0 -10
- package/dist/kernel/components/mdx/types.cjs +0 -18
- package/dist/kernel/components/mdx/types.d.cts +0 -18
- package/dist/kernel/components/ui/accordion.cjs +0 -104
- package/dist/kernel/components/ui/accordion.d.cts +0 -16
- package/dist/kernel/components/ui/breadcrumb-trail.cjs +0 -238
- package/dist/kernel/components/ui/breadcrumb-trail.d.cts +0 -13
- package/dist/kernel/components/ui/breadcrumb.cjs +0 -399
- package/dist/kernel/components/ui/breadcrumb.d.cts +0 -52
- package/dist/kernel/components/ui/button-group.cjs +0 -143
- package/dist/kernel/components/ui/button-group.d.cts +0 -19
- package/dist/kernel/components/ui/button.cjs +0 -139
- package/dist/kernel/components/ui/button.d.cts +0 -22
- package/dist/kernel/components/ui/card.cjs +0 -133
- package/dist/kernel/components/ui/card.d.cts +0 -17
- package/dist/kernel/components/ui/dialog.cjs +0 -149
- package/dist/kernel/components/ui/dialog.d.cts +0 -22
- package/dist/kernel/components/ui/drawer.cjs +0 -163
- package/dist/kernel/components/ui/drawer.d.cts +0 -24
- package/dist/kernel/components/ui/input.cjs +0 -96
- package/dist/kernel/components/ui/input.d.cts +0 -18
- package/dist/kernel/components/ui/kbd.cjs +0 -105
- package/dist/kernel/components/ui/kbd.d.cts +0 -13
- package/dist/kernel/components/ui/link.cjs +0 -253
- package/dist/kernel/components/ui/link.d.cts +0 -31
- package/dist/kernel/components/ui/menu.cjs +0 -301
- package/dist/kernel/components/ui/menu.d.cts +0 -70
- package/dist/kernel/components/ui/meta-key.cjs +0 -34
- package/dist/kernel/components/ui/meta-key.d.cts +0 -12
- package/dist/kernel/components/ui/navigation-menu.cjs +0 -253
- package/dist/kernel/components/ui/navigation-menu.d.cts +0 -47
- package/dist/kernel/components/ui/popover.cjs +0 -168
- package/dist/kernel/components/ui/popover.d.cts +0 -24
- package/dist/kernel/components/ui/progress.cjs +0 -112
- package/dist/kernel/components/ui/progress.d.cts +0 -16
- package/dist/kernel/components/ui/scroll-area.cjs +0 -413
- package/dist/kernel/components/ui/scroll-area.d.cts +0 -58
- package/dist/kernel/components/ui/select.cjs +0 -244
- package/dist/kernel/components/ui/select.d.cts +0 -40
- package/dist/kernel/components/ui/separator.cjs +0 -73
- package/dist/kernel/components/ui/separator.d.cts +0 -8
- package/dist/kernel/components/ui/table.cjs +0 -131
- package/dist/kernel/components/ui/table.d.cts +0 -11
- package/dist/kernel/components/ui/tabs.cjs +0 -450
- package/dist/kernel/components/ui/tabs.d.cts +0 -82
- package/dist/kernel/components/ui/tag.cjs +0 -104
- package/dist/kernel/components/ui/tag.d.cts +0 -14
- package/dist/kernel/components/ui/text.cjs +0 -184
- package/dist/kernel/components/ui/text.d.cts +0 -17
- package/dist/kernel/components/ui/theme-toggle.cjs +0 -108
- package/dist/kernel/components/ui/theme-toggle.d.cts +0 -10
- package/dist/kernel/components/ui/toast.cjs +0 -154
- package/dist/kernel/components/ui/toast.d.cts +0 -26
- package/dist/kernel/components/ui/tooltip.cjs +0 -127
- package/dist/kernel/components/ui/tooltip.d.cts +0 -20
- package/dist/kernel/defaults.registry.cjs +0 -541
- package/dist/kernel/defaults.registry.d.cts +0 -469
- package/dist/kernel/routes/agent/markdown.cjs +0 -202
- package/dist/kernel/routes/agent/markdown.d.cts +0 -58
- package/dist/kernel/routes/layouts/group.cjs +0 -181
- package/dist/kernel/routes/layouts/group.d.cts +0 -20
- package/dist/kernel/routes/metadata/feed.cjs +0 -293
- package/dist/kernel/routes/metadata/feed.d.cts +0 -20
- package/dist/kernel/routes/metadata/llms.cjs +0 -239
- package/dist/kernel/routes/metadata/llms.d.cts +0 -26
- package/dist/kernel/routes/metadata/og-image.cjs +0 -630
- package/dist/kernel/routes/metadata/og-image.d.cts +0 -62
- package/dist/kernel/routes/metadata/robots.cjs +0 -148
- package/dist/kernel/routes/metadata/robots.d.cts +0 -6
- package/dist/kernel/routes/metadata/sitemap.cjs +0 -192
- package/dist/kernel/routes/metadata/sitemap.d.cts +0 -8
- package/dist/kernel/routes/pages/group.cjs +0 -263
- package/dist/kernel/routes/pages/group.d.cts +0 -17
- package/dist/kernel/routes/pages/leaf.cjs +0 -421
- package/dist/kernel/routes/pages/leaf.d.cts +0 -36
- package/dist/kernel/routes/pages/root.cjs +0 -229
- package/dist/kernel/routes/pages/root.d.cts +0 -16
- package/dist/keyboard-shortcuts.cjs +0 -345
- package/dist/keyboard-shortcuts.d.cts +0 -34
- package/dist/resolvers/manifest-resolver.cjs +0 -111
- package/dist/resolvers/manifest-resolver.d.cts +0 -13
- package/dist/search.cjs +0 -411
- package/dist/search.d.cts +0 -20
- package/dist/types.cjs +0 -30
- package/dist/types.d.cts +0 -269
- package/dist/utils/cn.cjs +0 -49
- package/dist/utils/cn.d.cts +0 -15
- package/dist/utils/heading-ids.cjs +0 -119
- package/dist/utils/heading-ids.d.cts +0 -15
- package/dist/utils/pretty-date.cjs +0 -55
- package/dist/utils/pretty-date.d.cts +0 -6
package/release/release.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"runtime": "nextjs",
|
|
4
|
-
"version": "0.0.1-alpha.
|
|
4
|
+
"version": "0.0.1-alpha.6",
|
|
5
5
|
"cliProtocol": 1,
|
|
6
6
|
"builderProtocol": 1,
|
|
7
|
-
"node": "
|
|
8
|
-
"pnpm": "
|
|
7
|
+
"node": "24.x",
|
|
8
|
+
"pnpm": "12.3.0",
|
|
9
9
|
"installScripts": {
|
|
10
10
|
"minimumReleaseAge": 1440,
|
|
11
11
|
"minimumReleaseAgeExclude": ["@publish.os/cli", "@publish.os/nextjs"],
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"sharp": true
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
-
"packageJsonSha256": "
|
|
19
|
-
"lockfileSha256": "
|
|
18
|
+
"packageJsonSha256": "34d12797c5c3442540775b87dc9acc0a7b3475224a93df454840d3de03f9bc68",
|
|
19
|
+
"lockfileSha256": "8da7bcbf83298561bf817e19d0859ad55127ae4abb13d325bb66e1fe45f15918",
|
|
20
20
|
"configurableDependencies": {
|
|
21
21
|
"icons": {
|
|
22
22
|
"lucide": {
|
|
@@ -1,3 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
lockfileVersion: '9.0'
|
|
3
|
+
|
|
4
|
+
importers:
|
|
5
|
+
|
|
6
|
+
.:
|
|
7
|
+
configDependencies: {}
|
|
8
|
+
packageManagerDependencies:
|
|
9
|
+
pnpm:
|
|
10
|
+
specifier: 12.3.0
|
|
11
|
+
version: 12.3.0
|
|
12
|
+
|
|
13
|
+
packages:
|
|
14
|
+
|
|
15
|
+
'@pnpm/exe.darwin-arm64@12.3.0':
|
|
16
|
+
resolution: {integrity: sha512-4J0iSmjp028AMHeUiGkug5Rzo5mqvKo9QUxedYcRgPTLwmuuKZ/lMMnU9EBRrdFEJyWHlUMeGZRXXiqxQSU/2w==}
|
|
17
|
+
cpu: [arm64]
|
|
18
|
+
os: [darwin]
|
|
19
|
+
|
|
20
|
+
'@pnpm/exe.darwin-x64@12.3.0':
|
|
21
|
+
resolution: {integrity: sha512-3G8KveX3PTdZH3hSsaQRIlmrF6N8SK1Puce3cFg4Wx304z+SGssCVoATeUf6DKNZ2OorbmfXmTJtbu01r9uvnw==}
|
|
22
|
+
cpu: [x64]
|
|
23
|
+
os: [darwin]
|
|
24
|
+
|
|
25
|
+
'@pnpm/exe.linux-arm64-musl@12.3.0':
|
|
26
|
+
resolution: {integrity: sha512-dYGXDx/9RSjMuZfo9MFpCsUVsg1NzCmYTh5+NTPA5/QacK6s9jgjnL74gneYbTsrX5Hz8a8JFkbGsW4JESdRzA==}
|
|
27
|
+
cpu: [arm64]
|
|
28
|
+
os: [linux]
|
|
29
|
+
libc: [musl]
|
|
30
|
+
|
|
31
|
+
'@pnpm/exe.linux-arm64@12.3.0':
|
|
32
|
+
resolution: {integrity: sha512-GhgIr7mRJ3XT+YxelC1XcDW35RWGj2JNR5kEMxsV88SOUYdOgf1JNi6aC8Mg7S7oQsEOV5FCEKVolhUgmnyaPw==}
|
|
33
|
+
cpu: [arm64]
|
|
34
|
+
os: [linux]
|
|
35
|
+
libc: [glibc]
|
|
36
|
+
|
|
37
|
+
'@pnpm/exe.linux-x64-musl@12.3.0':
|
|
38
|
+
resolution: {integrity: sha512-mKatlNZyEGcUtYgVmJmVshkhq+In6PpdcSQ0aNw0lVn7Yob7Ifezmc7r4bf9nPo09B6GnF/ly5/Gx96fmFjVOw==}
|
|
39
|
+
cpu: [x64]
|
|
40
|
+
os: [linux]
|
|
41
|
+
libc: [musl]
|
|
42
|
+
|
|
43
|
+
'@pnpm/exe.linux-x64@12.3.0':
|
|
44
|
+
resolution: {integrity: sha512-cF1R+g/ixeFVqktpiGV5YHHdCvkqSMxRCcI4I0ujx2cE5EZQZAjgNN/q23DwjTz5sH8bRGbvns4Y/Gf/6nUkAg==}
|
|
45
|
+
cpu: [x64]
|
|
46
|
+
os: [linux]
|
|
47
|
+
libc: [glibc]
|
|
48
|
+
|
|
49
|
+
'@pnpm/exe.win32-arm64@12.3.0':
|
|
50
|
+
resolution: {integrity: sha512-TF2Shk5Cke2bMsW2H7muW22V4dJnoY+zY87YJLY31OcEyWXwHLIVP06jS1Zy1Si8Qf/VwNJFOlCc7O69viZvjQ==}
|
|
51
|
+
cpu: [arm64]
|
|
52
|
+
os: [win32]
|
|
53
|
+
|
|
54
|
+
'@pnpm/exe.win32-x64@12.3.0':
|
|
55
|
+
resolution: {integrity: sha512-JjcFPT2jiynbo0TPQ+WZlV/u0U0PKTcJFQI49H5teEYyqvn0XxgDdiVFTwzJi+6T15tKbiAH4wZmG+LyJdcy3A==}
|
|
56
|
+
cpu: [x64]
|
|
57
|
+
os: [win32]
|
|
58
|
+
|
|
59
|
+
pnpm@12.3.0:
|
|
60
|
+
resolution: {integrity: sha512-1705pIgTHeIAruwdvJyli4kEN/CbH5JbG/gg/cRj3wGjKeNpnD2Ke7GG1c8/dctozoIMadayyYNSW8CCHeTFKQ==}
|
|
61
|
+
engines: {node: '>=18.*'}
|
|
62
|
+
hasBin: true
|
|
63
|
+
|
|
64
|
+
snapshots:
|
|
65
|
+
|
|
66
|
+
'@pnpm/exe.darwin-arm64@12.3.0':
|
|
67
|
+
optional: true
|
|
68
|
+
|
|
69
|
+
'@pnpm/exe.darwin-x64@12.3.0':
|
|
70
|
+
optional: true
|
|
71
|
+
|
|
72
|
+
'@pnpm/exe.linux-arm64-musl@12.3.0':
|
|
73
|
+
optional: true
|
|
74
|
+
|
|
75
|
+
'@pnpm/exe.linux-arm64@12.3.0':
|
|
76
|
+
optional: true
|
|
77
|
+
|
|
78
|
+
'@pnpm/exe.linux-x64-musl@12.3.0':
|
|
79
|
+
optional: true
|
|
80
|
+
|
|
81
|
+
'@pnpm/exe.linux-x64@12.3.0':
|
|
82
|
+
optional: true
|
|
83
|
+
|
|
84
|
+
'@pnpm/exe.win32-arm64@12.3.0':
|
|
85
|
+
optional: true
|
|
86
|
+
|
|
87
|
+
'@pnpm/exe.win32-x64@12.3.0':
|
|
88
|
+
optional: true
|
|
89
|
+
|
|
90
|
+
pnpm@12.3.0:
|
|
91
|
+
optionalDependencies:
|
|
92
|
+
'@pnpm/exe.darwin-arm64': 12.3.0
|
|
93
|
+
'@pnpm/exe.darwin-x64': 12.3.0
|
|
94
|
+
'@pnpm/exe.linux-arm64': 12.3.0
|
|
95
|
+
'@pnpm/exe.linux-arm64-musl': 12.3.0
|
|
96
|
+
'@pnpm/exe.linux-x64': 12.3.0
|
|
97
|
+
'@pnpm/exe.linux-x64-musl': 12.3.0
|
|
98
|
+
'@pnpm/exe.win32-arm64': 12.3.0
|
|
99
|
+
'@pnpm/exe.win32-x64': 12.3.0
|
|
100
|
+
|
|
101
|
+
---
|
|
1
102
|
lockfileVersion: '9.0'
|
|
2
103
|
|
|
3
104
|
settings:
|
|
@@ -7,7 +108,7 @@ settings:
|
|
|
7
108
|
overrides:
|
|
8
109
|
js-yaml: 3.15.1
|
|
9
110
|
nanoid: 3.3.18
|
|
10
|
-
postcss: 8.5.
|
|
111
|
+
postcss: 8.5.23
|
|
11
112
|
sharp: 0.35.3
|
|
12
113
|
|
|
13
114
|
importers:
|
|
@@ -21,8 +122,8 @@ importers:
|
|
|
21
122
|
specifier: 4.3.0
|
|
22
123
|
version: 4.3.0
|
|
23
124
|
'@types/node':
|
|
24
|
-
specifier:
|
|
25
|
-
version:
|
|
125
|
+
specifier: 24.13.2
|
|
126
|
+
version: 24.13.2
|
|
26
127
|
'@types/react':
|
|
27
128
|
specifier: 19.2.2
|
|
28
129
|
version: 19.2.2
|
|
@@ -34,7 +135,7 @@ importers:
|
|
|
34
135
|
version: 0.7.1
|
|
35
136
|
next:
|
|
36
137
|
specifier: 16.2.11
|
|
37
|
-
version: 16.2.11(@types/node@
|
|
138
|
+
version: 16.2.11(@types/node@24.13.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
|
38
139
|
next-themes:
|
|
39
140
|
specifier: 0.4.6
|
|
40
141
|
version: 0.4.6(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
|
@@ -56,8 +157,8 @@ importers:
|
|
|
56
157
|
|
|
57
158
|
packages:
|
|
58
159
|
|
|
59
|
-
'@alloc/quick-lru@5.
|
|
60
|
-
resolution: {integrity: sha512-
|
|
160
|
+
'@alloc/quick-lru@5.3.0':
|
|
161
|
+
resolution: {integrity: sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==}
|
|
61
162
|
engines: {node: '>=10'}
|
|
62
163
|
|
|
63
164
|
'@babel/runtime@7.29.7':
|
|
@@ -281,8 +382,8 @@ packages:
|
|
|
281
382
|
resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
|
|
282
383
|
engines: {node: '>=6.0.0'}
|
|
283
384
|
|
|
284
|
-
'@jridgewell/sourcemap-codec@1.
|
|
285
|
-
resolution: {integrity: sha512-
|
|
385
|
+
'@jridgewell/sourcemap-codec@1.6.0':
|
|
386
|
+
resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==}
|
|
286
387
|
|
|
287
388
|
'@jridgewell/trace-mapping@0.3.31':
|
|
288
389
|
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
|
|
@@ -472,8 +573,8 @@ packages:
|
|
|
472
573
|
'@tailwindcss/postcss@4.3.0':
|
|
473
574
|
resolution: {integrity: sha512-Jm05Tjx+9yCLGv5qw1c+84Psds8MnyrEQYCB+FFk2lgGiUjlRqdxke4mVTuYrj2xnVZqKim2Apr5ySuQRYAw/w==}
|
|
474
575
|
|
|
475
|
-
'@types/node@
|
|
476
|
-
resolution: {integrity: sha512-
|
|
576
|
+
'@types/node@24.13.2':
|
|
577
|
+
resolution: {integrity: sha512-fRa09kZTgu8o71KFcDjUFuc7F+dEbZYZmkI0mg5YBTRs0yMKjYHsq/c0urDKeDb+D5qVgXOdFcuu+DZPKOITwA==}
|
|
477
578
|
|
|
478
579
|
'@types/react-dom@19.2.2':
|
|
479
580
|
resolution: {integrity: sha512-9KQPoO6mZCi7jcIStSnlOWn2nEF3mNmyr3rIAsGnAbQKYbRLyqmeSc39EVgtxXVia+LMT8j3knZLAZAh+xLmrw==}
|
|
@@ -483,8 +584,8 @@ packages:
|
|
|
483
584
|
'@types/react@19.2.2':
|
|
484
585
|
resolution: {integrity: sha512-6mDvHUFSjyT2B2yeNx2nUgMxh9LtOWvkhIU3uePn2I2oyNymUAX1NIsdgviM4CH+JSrp2D2hsMvJOkxY+0wNRA==}
|
|
485
586
|
|
|
486
|
-
baseline-browser-mapping@2.11.
|
|
487
|
-
resolution: {integrity: sha512-
|
|
587
|
+
baseline-browser-mapping@2.11.20:
|
|
588
|
+
resolution: {integrity: sha512-H0ulySigv6icDJ1F7SjtdCD6PrhTpdYCmP0CactWy1+ekh0AFd0o1Wn5T8b+hnTmdBx19u9yhL6wvCylXMY7zw==}
|
|
488
589
|
engines: {node: '>=6.0.0'}
|
|
489
590
|
hasBin: true
|
|
490
591
|
|
|
@@ -635,8 +736,8 @@ packages:
|
|
|
635
736
|
picocolors@1.1.1:
|
|
636
737
|
resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
|
|
637
738
|
|
|
638
|
-
postcss@8.5.
|
|
639
|
-
resolution: {integrity: sha512-
|
|
739
|
+
postcss@8.5.23:
|
|
740
|
+
resolution: {integrity: sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==}
|
|
640
741
|
engines: {node: ^10 || ^12 || >=14}
|
|
641
742
|
|
|
642
743
|
react-dom@19.2.0:
|
|
@@ -700,8 +801,8 @@ packages:
|
|
|
700
801
|
engines: {node: '>=14.17'}
|
|
701
802
|
hasBin: true
|
|
702
803
|
|
|
703
|
-
undici-types@
|
|
704
|
-
resolution: {integrity: sha512-
|
|
804
|
+
undici-types@7.18.2:
|
|
805
|
+
resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==}
|
|
705
806
|
|
|
706
807
|
use-sync-external-store@1.6.0:
|
|
707
808
|
resolution: {integrity: sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==}
|
|
@@ -710,7 +811,7 @@ packages:
|
|
|
710
811
|
|
|
711
812
|
snapshots:
|
|
712
813
|
|
|
713
|
-
'@alloc/quick-lru@5.
|
|
814
|
+
'@alloc/quick-lru@5.3.0': {}
|
|
714
815
|
|
|
715
816
|
'@babel/runtime@7.29.7': {}
|
|
716
817
|
|
|
@@ -868,7 +969,7 @@ snapshots:
|
|
|
868
969
|
|
|
869
970
|
'@jridgewell/gen-mapping@0.3.13':
|
|
870
971
|
dependencies:
|
|
871
|
-
'@jridgewell/sourcemap-codec': 1.
|
|
972
|
+
'@jridgewell/sourcemap-codec': 1.6.0
|
|
872
973
|
'@jridgewell/trace-mapping': 0.3.31
|
|
873
974
|
|
|
874
975
|
'@jridgewell/remapping@2.3.5':
|
|
@@ -878,12 +979,12 @@ snapshots:
|
|
|
878
979
|
|
|
879
980
|
'@jridgewell/resolve-uri@3.1.2': {}
|
|
880
981
|
|
|
881
|
-
'@jridgewell/sourcemap-codec@1.
|
|
982
|
+
'@jridgewell/sourcemap-codec@1.6.0': {}
|
|
882
983
|
|
|
883
984
|
'@jridgewell/trace-mapping@0.3.31':
|
|
884
985
|
dependencies:
|
|
885
986
|
'@jridgewell/resolve-uri': 3.1.2
|
|
886
|
-
'@jridgewell/sourcemap-codec': 1.
|
|
987
|
+
'@jridgewell/sourcemap-codec': 1.6.0
|
|
887
988
|
|
|
888
989
|
'@next/env@16.2.11': {}
|
|
889
990
|
|
|
@@ -999,15 +1100,15 @@ snapshots:
|
|
|
999
1100
|
|
|
1000
1101
|
'@tailwindcss/postcss@4.3.0':
|
|
1001
1102
|
dependencies:
|
|
1002
|
-
'@alloc/quick-lru': 5.
|
|
1103
|
+
'@alloc/quick-lru': 5.3.0
|
|
1003
1104
|
'@tailwindcss/node': 4.3.0
|
|
1004
1105
|
'@tailwindcss/oxide': 4.3.0
|
|
1005
|
-
postcss: 8.5.
|
|
1106
|
+
postcss: 8.5.23
|
|
1006
1107
|
tailwindcss: 4.3.0
|
|
1007
1108
|
|
|
1008
|
-
'@types/node@
|
|
1109
|
+
'@types/node@24.13.2':
|
|
1009
1110
|
dependencies:
|
|
1010
|
-
undici-types:
|
|
1111
|
+
undici-types: 7.18.2
|
|
1011
1112
|
|
|
1012
1113
|
'@types/react-dom@19.2.2(@types/react@19.2.2)':
|
|
1013
1114
|
dependencies:
|
|
@@ -1017,7 +1118,7 @@ snapshots:
|
|
|
1017
1118
|
dependencies:
|
|
1018
1119
|
csstype: 3.2.3
|
|
1019
1120
|
|
|
1020
|
-
baseline-browser-mapping@2.11.
|
|
1121
|
+
baseline-browser-mapping@2.11.20: {}
|
|
1021
1122
|
|
|
1022
1123
|
caniuse-lite@1.0.30001810: {}
|
|
1023
1124
|
|
|
@@ -1093,7 +1194,7 @@ snapshots:
|
|
|
1093
1194
|
|
|
1094
1195
|
magic-string@0.30.21:
|
|
1095
1196
|
dependencies:
|
|
1096
|
-
'@jridgewell/sourcemap-codec': 1.
|
|
1197
|
+
'@jridgewell/sourcemap-codec': 1.6.0
|
|
1097
1198
|
|
|
1098
1199
|
nanoid@3.3.18: {}
|
|
1099
1200
|
|
|
@@ -1102,13 +1203,13 @@ snapshots:
|
|
|
1102
1203
|
react: 19.2.0
|
|
1103
1204
|
react-dom: 19.2.0(react@19.2.0)
|
|
1104
1205
|
|
|
1105
|
-
next@16.2.11(@types/node@
|
|
1206
|
+
next@16.2.11(@types/node@24.13.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0):
|
|
1106
1207
|
dependencies:
|
|
1107
1208
|
'@next/env': 16.2.11
|
|
1108
1209
|
'@swc/helpers': 0.5.15
|
|
1109
|
-
baseline-browser-mapping: 2.11.
|
|
1210
|
+
baseline-browser-mapping: 2.11.20
|
|
1110
1211
|
caniuse-lite: 1.0.30001810
|
|
1111
|
-
postcss: 8.5.
|
|
1212
|
+
postcss: 8.5.23
|
|
1112
1213
|
react: 19.2.0
|
|
1113
1214
|
react-dom: 19.2.0(react@19.2.0)
|
|
1114
1215
|
styled-jsx: 5.1.6(react@19.2.0)
|
|
@@ -1121,7 +1222,7 @@ snapshots:
|
|
|
1121
1222
|
'@next/swc-linux-x64-musl': 16.2.11
|
|
1122
1223
|
'@next/swc-win32-arm64-msvc': 16.2.11
|
|
1123
1224
|
'@next/swc-win32-x64-msvc': 16.2.11
|
|
1124
|
-
sharp: 0.35.3(@types/node@
|
|
1225
|
+
sharp: 0.35.3(@types/node@24.13.2)
|
|
1125
1226
|
transitivePeerDependencies:
|
|
1126
1227
|
- '@babel/core'
|
|
1127
1228
|
- '@types/node'
|
|
@@ -1139,7 +1240,7 @@ snapshots:
|
|
|
1139
1240
|
|
|
1140
1241
|
picocolors@1.1.1: {}
|
|
1141
1242
|
|
|
1142
|
-
postcss@8.5.
|
|
1243
|
+
postcss@8.5.23:
|
|
1143
1244
|
dependencies:
|
|
1144
1245
|
nanoid: 3.3.18
|
|
1145
1246
|
picocolors: 1.1.1
|
|
@@ -1159,7 +1260,7 @@ snapshots:
|
|
|
1159
1260
|
semver@7.8.5:
|
|
1160
1261
|
optional: true
|
|
1161
1262
|
|
|
1162
|
-
sharp@0.35.3(@types/node@
|
|
1263
|
+
sharp@0.35.3(@types/node@24.13.2):
|
|
1163
1264
|
dependencies:
|
|
1164
1265
|
'@img/colour': 1.1.0
|
|
1165
1266
|
detect-libc: 2.1.2
|
|
@@ -1190,7 +1291,7 @@ snapshots:
|
|
|
1190
1291
|
'@img/sharp-win32-arm64': 0.35.3
|
|
1191
1292
|
'@img/sharp-win32-ia32': 0.35.3
|
|
1192
1293
|
'@img/sharp-win32-x64': 0.35.3
|
|
1193
|
-
'@types/node':
|
|
1294
|
+
'@types/node': 24.13.2
|
|
1194
1295
|
optional: true
|
|
1195
1296
|
|
|
1196
1297
|
source-map-js@1.2.1: {}
|
|
@@ -1208,7 +1309,7 @@ snapshots:
|
|
|
1208
1309
|
|
|
1209
1310
|
typescript@5.9.2: {}
|
|
1210
1311
|
|
|
1211
|
-
undici-types@
|
|
1312
|
+
undici-types@7.18.2: {}
|
|
1212
1313
|
|
|
1213
1314
|
use-sync-external-store@1.6.0(react@19.2.0):
|
|
1214
1315
|
dependencies:
|
package/dist/cache/tags.cjs
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/cache/tags.ts
|
|
21
|
-
var tags_exports = {};
|
|
22
|
-
__export(tags_exports, {
|
|
23
|
-
tags: () => tags
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(tags_exports);
|
|
26
|
-
var import_node_crypto = require("crypto");
|
|
27
|
-
var MAX_TAG_LEN = 256;
|
|
28
|
-
var MAX_SEGMENT_LEN = 80;
|
|
29
|
-
var TAG_PATTERN = /^[a-z0-9:_./-]+$/;
|
|
30
|
-
function sha256(value) {
|
|
31
|
-
return (0, import_node_crypto.createHash)("sha256").update(value).digest("hex").slice(0, 16);
|
|
32
|
-
}
|
|
33
|
-
function safeSegment(value) {
|
|
34
|
-
const raw = value.trim().toLowerCase() || "root";
|
|
35
|
-
const normalized = raw.replace(/\\/g, "/").replace(/\/+/g, "/").replace(/^\//, "").replace(/\/$/, "").replace(/[^a-z0-9:_./-]+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
36
|
-
const segment = normalized || "root";
|
|
37
|
-
if (segment.length <= MAX_SEGMENT_LEN) return segment;
|
|
38
|
-
return `${segment.slice(0, 48)}.${sha256(segment)}`;
|
|
39
|
-
}
|
|
40
|
-
function assertTag(tag) {
|
|
41
|
-
if (tag.length > MAX_TAG_LEN || !TAG_PATTERN.test(tag)) {
|
|
42
|
-
return `tag:${sha256(tag)}`;
|
|
43
|
-
}
|
|
44
|
-
return tag;
|
|
45
|
-
}
|
|
46
|
-
var tags = {
|
|
47
|
-
site() {
|
|
48
|
-
return "site";
|
|
49
|
-
},
|
|
50
|
-
pages() {
|
|
51
|
-
return "pages";
|
|
52
|
-
},
|
|
53
|
-
group(group) {
|
|
54
|
-
return assertTag(`group:${safeSegment(group)}`);
|
|
55
|
-
},
|
|
56
|
-
page(group, slug) {
|
|
57
|
-
const path = Array.isArray(slug) ? slug.join("/") : slug;
|
|
58
|
-
return assertTag(`page:${safeSegment(group)}:${safeSegment(path)}`);
|
|
59
|
-
},
|
|
60
|
-
manifest(contentHash) {
|
|
61
|
-
return assertTag(`manifest:${safeSegment(contentHash)}`);
|
|
62
|
-
},
|
|
63
|
-
sitemap() {
|
|
64
|
-
return "sitemap";
|
|
65
|
-
},
|
|
66
|
-
robots() {
|
|
67
|
-
return "robots";
|
|
68
|
-
},
|
|
69
|
-
llms(scope = "root") {
|
|
70
|
-
return assertTag(`llms:${safeSegment(scope)}`);
|
|
71
|
-
},
|
|
72
|
-
feed(format, scope = "site") {
|
|
73
|
-
return assertTag(`feed:${safeSegment(format)}:${safeSegment(scope)}`);
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
77
|
-
0 && (module.exports = {
|
|
78
|
-
tags
|
|
79
|
-
});
|
package/dist/cache/tags.d.cts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const tags: {
|
|
2
|
-
site(): string;
|
|
3
|
-
pages(): string;
|
|
4
|
-
group(group: string): string;
|
|
5
|
-
page(group: string, slug: string | string[]): string;
|
|
6
|
-
manifest(contentHash: string): string;
|
|
7
|
-
sitemap(): string;
|
|
8
|
-
robots(): string;
|
|
9
|
-
llms(scope?: string): string;
|
|
10
|
-
feed(format: string, scope?: string): string;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export { tags };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/config/createNextConfig.ts
|
|
21
|
-
var createNextConfig_exports = {};
|
|
22
|
-
__export(createNextConfig_exports, {
|
|
23
|
-
createNextConfig: () => createNextConfig
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(createNextConfig_exports);
|
|
26
|
-
function createNextConfig(_options) {
|
|
27
|
-
return {
|
|
28
|
-
transpilePackages: ["@publish.os/nextjs"],
|
|
29
|
-
cacheComponents: true,
|
|
30
|
-
cacheLife: {
|
|
31
|
-
page: {
|
|
32
|
-
stale: 60 * 60 * 24,
|
|
33
|
-
revalidate: 60 * 60 * 24 * 30,
|
|
34
|
-
expire: 60 * 60 * 24 * 365
|
|
35
|
-
},
|
|
36
|
-
feed: {
|
|
37
|
-
stale: 60 * 60,
|
|
38
|
-
revalidate: 60 * 60 * 6,
|
|
39
|
-
expire: 60 * 60 * 24 * 7
|
|
40
|
-
},
|
|
41
|
-
sitemap: {
|
|
42
|
-
stale: 60 * 60,
|
|
43
|
-
revalidate: 60 * 60 * 24,
|
|
44
|
-
expire: 60 * 60 * 24 * 30
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
50
|
-
0 && (module.exports = {
|
|
51
|
-
createNextConfig
|
|
52
|
-
});
|
package/dist/config.cjs
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/config.ts
|
|
21
|
-
var config_exports = {};
|
|
22
|
-
__export(config_exports, {
|
|
23
|
-
defineConfig: () => defineConfig,
|
|
24
|
-
defineGroup: () => defineGroup,
|
|
25
|
-
folder: () => folder,
|
|
26
|
-
link: () => link,
|
|
27
|
-
page: () => page,
|
|
28
|
-
section: () => section
|
|
29
|
-
});
|
|
30
|
-
module.exports = __toCommonJS(config_exports);
|
|
31
|
-
function titleFromKey(value) {
|
|
32
|
-
return value.split(/[-_/]+/g).filter(Boolean).map((part) => `${part.slice(0, 1).toUpperCase()}${part.slice(1)}`).join(" ");
|
|
33
|
-
}
|
|
34
|
-
function defineConfig(config) {
|
|
35
|
-
return config;
|
|
36
|
-
}
|
|
37
|
-
function defineGroup(config) {
|
|
38
|
-
return config;
|
|
39
|
-
}
|
|
40
|
-
function page(file, options = {}) {
|
|
41
|
-
return {
|
|
42
|
-
type: "page",
|
|
43
|
-
file,
|
|
44
|
-
...options
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function folder(group, options = {}) {
|
|
48
|
-
return {
|
|
49
|
-
type: "folder",
|
|
50
|
-
id: options.id ?? group,
|
|
51
|
-
title: options.title ?? titleFromKey(group),
|
|
52
|
-
group,
|
|
53
|
-
...options
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function section(id, options) {
|
|
57
|
-
return {
|
|
58
|
-
type: "section",
|
|
59
|
-
id,
|
|
60
|
-
...options
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
function link(id, options) {
|
|
64
|
-
return {
|
|
65
|
-
type: "link",
|
|
66
|
-
id,
|
|
67
|
-
...options
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
71
|
-
0 && (module.exports = {
|
|
72
|
-
defineConfig,
|
|
73
|
-
defineGroup,
|
|
74
|
-
folder,
|
|
75
|
-
link,
|
|
76
|
-
page,
|
|
77
|
-
section
|
|
78
|
-
});
|
package/dist/config.d.cts
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
type OutputScope = "site" | "group" | "self";
|
|
2
|
-
type PageStatus = "published" | "draft" | "archived";
|
|
3
|
-
type OutputDeclaration = {
|
|
4
|
-
path: string;
|
|
5
|
-
scope?: OutputScope;
|
|
6
|
-
description?: string;
|
|
7
|
-
limit?: number;
|
|
8
|
-
};
|
|
9
|
-
type OutputDefaultsDeclaration = {
|
|
10
|
-
scope?: OutputScope;
|
|
11
|
-
limit?: number;
|
|
12
|
-
status?: PageStatus[];
|
|
13
|
-
includeDescriptions?: boolean;
|
|
14
|
-
};
|
|
15
|
-
type OutputsConfig = {
|
|
16
|
-
llms?: OutputDeclaration;
|
|
17
|
-
feeds?: {
|
|
18
|
-
rss?: OutputDeclaration;
|
|
19
|
-
atom?: OutputDeclaration;
|
|
20
|
-
json?: OutputDeclaration;
|
|
21
|
-
};
|
|
22
|
-
robots?: OutputDeclaration;
|
|
23
|
-
sitemap?: OutputDeclaration;
|
|
24
|
-
};
|
|
25
|
-
type OutputDefaultsConfig = {
|
|
26
|
-
llms?: OutputDefaultsDeclaration;
|
|
27
|
-
feeds?: OutputDefaultsDeclaration & {
|
|
28
|
-
rss?: OutputDefaultsDeclaration;
|
|
29
|
-
atom?: OutputDefaultsDeclaration;
|
|
30
|
-
json?: OutputDefaultsDeclaration;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
type PageTreeNode = {
|
|
34
|
-
type: "page";
|
|
35
|
-
file: string;
|
|
36
|
-
title?: string;
|
|
37
|
-
slug?: string;
|
|
38
|
-
};
|
|
39
|
-
type SectionTreeNode = {
|
|
40
|
-
type: "section";
|
|
41
|
-
id: string;
|
|
42
|
-
title: string;
|
|
43
|
-
children: TreeNode[];
|
|
44
|
-
};
|
|
45
|
-
type FolderTreeNode = {
|
|
46
|
-
type: "folder";
|
|
47
|
-
id: string;
|
|
48
|
-
title: string;
|
|
49
|
-
group?: string;
|
|
50
|
-
children?: TreeNode[];
|
|
51
|
-
};
|
|
52
|
-
type LinkTreeNode = {
|
|
53
|
-
type: "link";
|
|
54
|
-
id: string;
|
|
55
|
-
title: string;
|
|
56
|
-
url: string;
|
|
57
|
-
};
|
|
58
|
-
type TreeNode = PageTreeNode | SectionTreeNode | FolderTreeNode | LinkTreeNode;
|
|
59
|
-
type GroupConfig = {
|
|
60
|
-
title?: string;
|
|
61
|
-
slug?: string;
|
|
62
|
-
path?: `/${string}`;
|
|
63
|
-
mode?: "tree" | "list";
|
|
64
|
-
layout?: {
|
|
65
|
-
inherit?: boolean;
|
|
66
|
-
};
|
|
67
|
-
meta?: Record<string, unknown>;
|
|
68
|
-
tree?: TreeNode[];
|
|
69
|
-
list?: {
|
|
70
|
-
source: "content" | "ids";
|
|
71
|
-
ids?: string[];
|
|
72
|
-
sort?: {
|
|
73
|
-
by: string;
|
|
74
|
-
direction?: "asc" | "desc";
|
|
75
|
-
};
|
|
76
|
-
prevNext?: boolean;
|
|
77
|
-
};
|
|
78
|
-
outputs?: OutputsConfig;
|
|
79
|
-
outputDefaults?: OutputDefaultsConfig;
|
|
80
|
-
children?: Record<string, GroupConfig>;
|
|
81
|
-
};
|
|
82
|
-
type PublishOsConfig = {
|
|
83
|
-
$schema?: string;
|
|
84
|
-
version: 1;
|
|
85
|
-
site?: {
|
|
86
|
-
name?: string;
|
|
87
|
-
description?: string;
|
|
88
|
-
};
|
|
89
|
-
meta?: Record<string, unknown>;
|
|
90
|
-
outputs?: OutputsConfig;
|
|
91
|
-
outputDefaults?: OutputDefaultsConfig;
|
|
92
|
-
groups: Record<string, GroupConfig>;
|
|
93
|
-
};
|
|
94
|
-
declare function defineConfig(config: PublishOsConfig): PublishOsConfig;
|
|
95
|
-
declare function defineGroup(config: GroupConfig): GroupConfig;
|
|
96
|
-
declare function page(file: string, options?: Omit<PageTreeNode, "file" | "type">): PageTreeNode;
|
|
97
|
-
declare function folder(group: string, options?: Omit<FolderTreeNode, "group" | "id" | "title" | "type"> & Partial<Pick<FolderTreeNode, "id" | "title">>): FolderTreeNode;
|
|
98
|
-
declare function section(id: string, options: Omit<SectionTreeNode, "id" | "type">): SectionTreeNode;
|
|
99
|
-
declare function link(id: string, options: Omit<LinkTreeNode, "id" | "type">): LinkTreeNode;
|
|
100
|
-
|
|
101
|
-
export { type FolderTreeNode, type GroupConfig, type LinkTreeNode, type OutputDeclaration, type OutputDefaultsConfig, type OutputDefaultsDeclaration, type OutputsConfig, type PageTreeNode, type PublishOsConfig, type SectionTreeNode, type TreeNode, defineConfig, defineGroup, folder, link, page, section };
|