hyperbook 0.61.1 → 0.61.3
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 +14 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -175787,6 +175787,17 @@ var remarkDirectiveGeogebra_default = (ctx) => () => {
|
|
|
175787
175787
|
class: "directive-geogebra",
|
|
175788
175788
|
style: `max-height: ${height}px; max-width: ${width}px; aspect-ratio: ${width}/${height};`
|
|
175789
175789
|
};
|
|
175790
|
+
let material = void 0;
|
|
175791
|
+
let filename = void 0;
|
|
175792
|
+
if (src && src.startsWith("https://www.geogebra.org/") && !src.endsWith(".ggb")) {
|
|
175793
|
+
material = src;
|
|
175794
|
+
} else if (src) {
|
|
175795
|
+
filename = ctx.makeUrl(
|
|
175796
|
+
src,
|
|
175797
|
+
"public",
|
|
175798
|
+
ctx.navigation.current || void 0
|
|
175799
|
+
);
|
|
175800
|
+
}
|
|
175790
175801
|
const value = toText2(node3);
|
|
175791
175802
|
data.hChildren = [
|
|
175792
175803
|
{
|
|
@@ -175797,11 +175808,8 @@ var remarkDirectiveGeogebra_default = (ctx) => () => {
|
|
|
175797
175808
|
height,
|
|
175798
175809
|
width,
|
|
175799
175810
|
borderRadius: 8,
|
|
175800
|
-
material
|
|
175801
|
-
|
|
175802
|
-
"public",
|
|
175803
|
-
ctx.navigation.current || void 0
|
|
175804
|
-
) : void 0,
|
|
175811
|
+
material,
|
|
175812
|
+
filename,
|
|
175805
175813
|
language: ctx.config.language || "en",
|
|
175806
175814
|
"data-id": id,
|
|
175807
175815
|
showFullscreenButton,
|
|
@@ -183318,7 +183326,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"application/1d-interleaved-parityfec
|
|
|
183318
183326
|
/***/ ((module) => {
|
|
183319
183327
|
|
|
183320
183328
|
"use strict";
|
|
183321
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.61.
|
|
183329
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.61.3","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":{"@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"}}');
|
|
183322
183330
|
|
|
183323
183331
|
/***/ })
|
|
183324
183332
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyperbook",
|
|
3
|
-
"version": "0.61.
|
|
3
|
+
"version": "0.61.3",
|
|
4
4
|
"author": "Mike Barkmin",
|
|
5
5
|
"homepage": "https://github.com/openpatch/hyperbook#readme",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"update-check": "1.5.4",
|
|
58
58
|
"ws": "^8.18.0",
|
|
59
59
|
"@hyperbook/fs": "0.20.0",
|
|
60
|
-
"@hyperbook/markdown": "0.36.
|
|
60
|
+
"@hyperbook/markdown": "0.36.2",
|
|
61
61
|
"@hyperbook/types": "0.17.0"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|