mystmd 1.1.56__py3-none-any.whl → 1.2.1__py3-none-any.whl
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.
- {mystmd-1.1.56.dist-info → mystmd-1.2.1.dist-info}/METADATA +1 -1
- mystmd-1.2.1.dist-info/RECORD +8 -0
- mystmd_py/main.py +3 -3
- mystmd_py/myst.cjs +739 -260
- mystmd-1.1.56.dist-info/RECORD +0 -8
- {mystmd-1.1.56.dist-info → mystmd-1.2.1.dist-info}/WHEEL +0 -0
- {mystmd-1.1.56.dist-info → mystmd-1.2.1.dist-info}/entry_points.txt +0 -0
- {mystmd-1.1.56.dist-info → mystmd-1.2.1.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
mystmd_py/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
mystmd_py/main.py,sha256=AAcX3rJdJgYboCxwjHoCi1TdHSfBjNstbr562tjey44,1470
|
3
|
+
mystmd_py/myst.cjs,sha256=8oRyhO0eAclfpOw-5ToGz_jXOCoeDFf4FJZ0Gxa7Fd8,12845697
|
4
|
+
mystmd-1.2.1.dist-info/METADATA,sha256=HSvvsGSIStgFUDjAPv1K9Cyu8NuwzX2SLycpD_nL9X8,2968
|
5
|
+
mystmd-1.2.1.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
6
|
+
mystmd-1.2.1.dist-info/entry_points.txt,sha256=eC2ol2gqS2q5E-ktkMrBSvV0tckGUcNGS-c4hEQ-_V4,45
|
7
|
+
mystmd-1.2.1.dist-info/licenses/LICENSE,sha256=vgXlcTOVbxYpGiMuE9NqgguIBXAH0hJAktlaxiyZ2wg,1088
|
8
|
+
mystmd-1.2.1.dist-info/RECORD,,
|
mystmd_py/main.py
CHANGED
@@ -14,7 +14,7 @@ def main():
|
|
14
14
|
|
15
15
|
if not NODE_LOCATION:
|
16
16
|
raise SystemExit(
|
17
|
-
"You must install node >=
|
17
|
+
"You must install node >=18 to run MyST\n\n"
|
18
18
|
"We recommend installing the latest LTS release, using your preferred package manager\n"
|
19
19
|
"or following instructions here: https://nodejs.org/en/download"
|
20
20
|
)
|
@@ -27,9 +27,9 @@ def main():
|
|
27
27
|
raise SystemExit(f"MyST could not determine the version of Node.js: {_version}")
|
28
28
|
|
29
29
|
major_version = int(major_version_match[1])
|
30
|
-
if not (major_version in {
|
30
|
+
if not (major_version in {18, 20, 22} or major_version > 22):
|
31
31
|
raise SystemExit(
|
32
|
-
f"MyST requires node
|
32
|
+
f"MyST requires node 18, 20, or 22+; you are running node {version[1:3]}.\n\n"
|
33
33
|
"Please update to the latest LTS release, using your preferred package manager\n"
|
34
34
|
"or following instructions here: https://nodejs.org/en/download"
|
35
35
|
)
|