hyperbook 0.73.2 → 0.73.4
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/index.js +4 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -55547,7 +55547,8 @@ async function runBuild(root, rootProject, basePath, prefix, out, filter) {
|
|
|
55547
55547
|
currentPageDir = path_1.posix.dirname(page.href || "/");
|
|
55548
55548
|
}
|
|
55549
55549
|
// Resolve the relative path and normalize
|
|
55550
|
-
|
|
55550
|
+
const resolvedPath = path_1.posix.normalize(path_1.posix.resolve(currentPageDir, path));
|
|
55551
|
+
return resolvedPath;
|
|
55551
55552
|
};
|
|
55552
55553
|
const baseCtx = {
|
|
55553
55554
|
root,
|
|
@@ -93466,7 +93467,7 @@ var getPagesAndSections = async (root) => {
|
|
|
93466
93467
|
});
|
|
93467
93468
|
}
|
|
93468
93469
|
}
|
|
93469
|
-
if (index
|
|
93470
|
+
if (index) {
|
|
93470
93471
|
files.push(index);
|
|
93471
93472
|
}
|
|
93472
93473
|
for (const file of files) {
|
|
@@ -93525,7 +93526,6 @@ var getPageList = (sections, pages) => {
|
|
|
93525
93526
|
for (const section of sections) {
|
|
93526
93527
|
pageList = [
|
|
93527
93528
|
...pageList,
|
|
93528
|
-
section,
|
|
93529
93529
|
...getPageList(section.sections, section.pages)
|
|
93530
93530
|
];
|
|
93531
93531
|
}
|
|
@@ -165167,7 +165167,6 @@ var getPageList = (sections, pages) => {
|
|
|
165167
165167
|
for (const section of sections) {
|
|
165168
165168
|
pageList = [
|
|
165169
165169
|
...pageList,
|
|
165170
|
-
section,
|
|
165171
165170
|
...getPageList(section.sections, section.pages)
|
|
165172
165171
|
];
|
|
165173
165172
|
}
|
|
@@ -173953,7 +173952,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"application/1d-interleaved-parityfec
|
|
|
173953
173952
|
/***/ ((module) => {
|
|
173954
173953
|
|
|
173955
173954
|
"use strict";
|
|
173956
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.73.
|
|
173955
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.73.4","author":"Mike Barkmin","homepage":"https://github.com/openpatch/hyperbook#readme","license":"MIT","bin":{"hyperbook":"./dist/index.js"},"files":["dist"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/openpatch/hyperbook.git","directory":"packages/hyperbook"},"bugs":{"url":"https://github.com/openpatch/hyperbook/issues"},"engines":{"node":">=12.22.0"},"scripts":{"version":"pnpm build","lint":"tsc --noEmit","dev":"ncc build ./index.ts -w -o dist/","build":"rimraf dist && ncc build ./index.ts -o ./dist/ --no-cache --no-source-map-register --external favicons --external sharp && node postbuild.mjs"},"dependencies":{"favicons":"^7.2.0"},"devDependencies":{"create-hyperbook":"workspace:*","@hyperbook/fs":"workspace:*","@hyperbook/markdown":"workspace:*","@hyperbook/types":"workspace:*","@pnpm/exportable-manifest":"1000.0.6","@types/archiver":"6.0.3","@types/async-retry":"1.4.9","@types/cross-spawn":"6.0.6","@types/lunr":"^2.3.7","@types/prompts":"2.4.9","@types/tar":"6.1.13","@types/ws":"^8.5.14","@vercel/ncc":"0.38.3","archiver":"7.0.1","async-retry":"1.3.3","chalk":"5.4.1","chokidar":"4.0.3","commander":"12.1.0","cpy":"11.1.0","cross-spawn":"7.0.6","domutils":"^3.2.2","extract-zip":"^2.0.1","got":"12.6.0","htmlparser2":"^10.0.0","lunr":"^2.3.9","lunr-languages":"^1.14.0","mime":"^4.0.6","prompts":"2.4.2","rimraf":"6.0.1","tar":"7.4.3","update-check":"1.5.4","ws":"^8.18.0"}}');
|
|
173957
173956
|
|
|
173958
173957
|
/***/ })
|
|
173959
173958
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyperbook",
|
|
3
|
-
"version": "0.73.
|
|
3
|
+
"version": "0.73.4",
|
|
4
4
|
"author": "Mike Barkmin",
|
|
5
5
|
"homepage": "https://github.com/openpatch/hyperbook#readme",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"update-check": "1.5.4",
|
|
58
58
|
"ws": "^8.18.0",
|
|
59
59
|
"create-hyperbook": "0.3.0",
|
|
60
|
-
"@hyperbook/fs": "0.21.
|
|
61
|
-
"@hyperbook/markdown": "0.46.
|
|
60
|
+
"@hyperbook/fs": "0.21.2",
|
|
61
|
+
"@hyperbook/markdown": "0.46.2",
|
|
62
62
|
"@hyperbook/types": "0.18.0"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|