hyperbook 0.81.1 → 0.82.0
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 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -186917,11 +186917,12 @@ var remarkDirectiveOnlineIde_default = (ctx) => () => {
|
|
|
186917
186917
|
const data = node3.data || (node3.data = {});
|
|
186918
186918
|
const attributes4 = node3.attributes || {};
|
|
186919
186919
|
const {
|
|
186920
|
-
url = ctx.config.elements?.onlineide?.url || "https://
|
|
186920
|
+
url = ctx.config.elements?.onlineide?.url || "https://onlineide2.openpatch.org",
|
|
186921
186921
|
height = ctx.config.elements?.onlineide?.height || "600px",
|
|
186922
186922
|
fileList = true,
|
|
186923
186923
|
console: con = true,
|
|
186924
186924
|
pCode = false,
|
|
186925
|
+
libraries = "",
|
|
186925
186926
|
bottomPanel = true,
|
|
186926
186927
|
errorList = true,
|
|
186927
186928
|
speed = 1e3,
|
|
@@ -186961,7 +186962,7 @@ var remarkDirectiveOnlineIde_default = (ctx) => () => {
|
|
|
186961
186962
|
children: [
|
|
186962
186963
|
{
|
|
186963
186964
|
type: "raw",
|
|
186964
|
-
value: `{'id': '${id}', 'speed': ${speed}, 'withBottomPanel': ${bottomPanel},'withPCode': ${pCode},'withConsole': ${con},'withFileList': ${fileList},'withErrorList': ${errorList}}`
|
|
186965
|
+
value: `{'id': '${id}', 'speed': ${speed}, 'withBottomPanel': ${bottomPanel},'withPCode': ${pCode},'withConsole': ${con},'withFileList': ${fileList},'withErrorList': ${errorList}, 'libraries': [${libraries?.split(",").map((lib) => `'${lib.trim()}'`)}]}`
|
|
186965
186966
|
},
|
|
186966
186967
|
...codes,
|
|
186967
186968
|
{
|
|
@@ -202540,7 +202541,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"application/1d-interleaved-parityfec
|
|
|
202540
202541
|
/***/ ((module) => {
|
|
202541
202542
|
|
|
202542
202543
|
"use strict";
|
|
202543
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.
|
|
202544
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.82.0","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":">=18"},"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"}}');
|
|
202544
202545
|
|
|
202545
202546
|
/***/ })
|
|
202546
202547
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyperbook",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.82.0",
|
|
4
4
|
"author": "Mike Barkmin",
|
|
5
5
|
"homepage": "https://github.com/openpatch/hyperbook#readme",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"ws": "^8.18.0",
|
|
59
59
|
"create-hyperbook": "0.3.2",
|
|
60
60
|
"@hyperbook/fs": "0.24.2",
|
|
61
|
-
"@hyperbook/
|
|
62
|
-
"@hyperbook/
|
|
61
|
+
"@hyperbook/markdown": "0.53.0",
|
|
62
|
+
"@hyperbook/types": "0.20.0"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"version": "pnpm build",
|