@brillout/docpress 0.4.3 → 0.4.5
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.
|
@@ -133,9 +133,9 @@ var remarkPlugins = [remarkGfm];
|
|
|
133
133
|
var config = {
|
|
134
134
|
root,
|
|
135
135
|
plugins: [
|
|
136
|
-
react(),
|
|
137
136
|
markdownHeadingsVitePlugin(),
|
|
138
137
|
mdx({ rehypePlugins, remarkPlugins }),
|
|
138
|
+
react(),
|
|
139
139
|
ssr({
|
|
140
140
|
prerender: {
|
|
141
141
|
noExtraDir: true
|
|
@@ -154,7 +154,7 @@ var config = {
|
|
|
154
154
|
disableAutoFullBuild: true
|
|
155
155
|
})
|
|
156
156
|
],
|
|
157
|
-
optimizeDeps: { include: ["@mdx-js/react", "react
|
|
157
|
+
optimizeDeps: { include: ["@mdx-js/react", "react-dom"] },
|
|
158
158
|
ssr: {
|
|
159
159
|
noExternal: ["@brillout/docpress"]
|
|
160
160
|
},
|
package/dist/cli/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vite_config_default
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-PWCIRBXY.js";
|
|
4
4
|
import "../chunk-OFUQWIQL.js";
|
|
5
5
|
import "../chunk-2ZTPUQGS.js";
|
|
6
6
|
import "../chunk-3QC7HYIF.js";
|
|
@@ -16,7 +16,7 @@ Error.stackTraceLimit = Infinity;
|
|
|
16
16
|
cli();
|
|
17
17
|
async function cli() {
|
|
18
18
|
if (isDev) {
|
|
19
|
-
await import("../devServer-
|
|
19
|
+
await import("../devServer-P3BMS7IP.js");
|
|
20
20
|
} else if (isBuild) {
|
|
21
21
|
await build(vite_config_default);
|
|
22
22
|
await build({ ...vite_config_default, build: { ssr: true } });
|
package/dist/index.js
CHANGED
|
@@ -54,7 +54,8 @@ function getTitle({
|
|
|
54
54
|
href,
|
|
55
55
|
noBreadcrumb,
|
|
56
56
|
pageContext,
|
|
57
|
-
doNotInferSectionTitle
|
|
57
|
+
doNotInferSectionTitle,
|
|
58
|
+
titleNormalCase
|
|
58
59
|
}) {
|
|
59
60
|
let urlHash = null;
|
|
60
61
|
let hrefWithoutHash = href;
|
|
@@ -96,7 +97,9 @@ function getTitle({
|
|
|
96
97
|
!doNotInferSectionTitle,
|
|
97
98
|
`Page section title not found for <Link href="\`${href}\`" doNotInferSectionTitle={true} />.`
|
|
98
99
|
);
|
|
99
|
-
|
|
100
|
+
if (titleNormalCase === void 0)
|
|
101
|
+
titleNormalCase = pageContext.config.titleNormalCase;
|
|
102
|
+
sectionTitle = determineSectionTitle(href, titleNormalCase);
|
|
100
103
|
}
|
|
101
104
|
breadcrumbs.push(sectionTitle);
|
|
102
105
|
}
|
|
@@ -267,6 +270,18 @@ var inlang_default = "/assets/inlang-GFRWND6X.png";
|
|
|
267
270
|
|
|
268
271
|
// src/components/Sponsors/sponsorsList.ts
|
|
269
272
|
var individuals = [
|
|
273
|
+
{
|
|
274
|
+
username: "alexturpin"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
username: "gu-stav"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
username: "YannBirba"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
username: "fi3ework"
|
|
284
|
+
},
|
|
270
285
|
{
|
|
271
286
|
username: "EJM-Company"
|
|
272
287
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brillout/docpress",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"// Check types while developing": "",
|
|
6
6
|
"types": "tsc --noEmit --watch",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@mdx-js/mdx": "^2.0.0",
|
|
17
17
|
"@mdx-js/react": "^2.0.0",
|
|
18
18
|
"@mdx-js/rollup": "^2.0.0",
|
|
19
|
-
"@vitejs/plugin-react-swc": "^3.
|
|
19
|
+
"@vitejs/plugin-react-swc": "^3.3.0",
|
|
20
20
|
"balloon-css": "^1.2.0",
|
|
21
21
|
"express": "^4.17.1",
|
|
22
22
|
"rehype-pretty-code": "^0.3.2",
|