@myst-theme/common 0.18.0 → 1.0.1
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.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/utils.js +2 -2
- package/package.json +5 -1
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAE3B,eAAO,MAAM,iBAAiB,IAAI,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/utils.js
CHANGED
|
@@ -94,9 +94,9 @@ function updateMdastStaticLinksInplace(mdast, updateUrl) {
|
|
|
94
94
|
});
|
|
95
95
|
const outputs = selectAll('output', mdast);
|
|
96
96
|
outputs.forEach((node) => {
|
|
97
|
-
if (!node.
|
|
97
|
+
if (!node.jupyter_data)
|
|
98
98
|
return;
|
|
99
|
-
walkOutputs(node.
|
|
99
|
+
walkOutputs([node.jupyter_data], (obj) => {
|
|
100
100
|
// The path will be defined from output of myst
|
|
101
101
|
// Here we are re-assigning it to the current domain
|
|
102
102
|
if (!obj.path)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myst-theme/common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"license": "MIT",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/jupyter-book/myst-theme.git"
|
|
14
|
+
},
|
|
11
15
|
"sideEffects": false,
|
|
12
16
|
"scripts": {
|
|
13
17
|
"clean": "rimraf dist",
|