@jpetit/toolkit 3.0.11 → 3.0.13
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.
|
Binary file
|
package/assets/sty/judgeit.sty
CHANGED
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
% \usepackage{html}
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
\usepackage{
|
|
5
|
-
\
|
|
3
|
+
% added for xelatex
|
|
4
|
+
\usepackage{fontspec}
|
|
5
|
+
\setmainfont{texgyrepagella-regular.otf}[
|
|
6
|
+
BoldFont=texgyrepagella-bold.otf,
|
|
7
|
+
ItalicFont=texgyrepagella-italic.otf,
|
|
8
|
+
BoldItalicFont=texgyrepagella-bolditalic.otf
|
|
9
|
+
]
|
|
10
|
+
\setsansfont{texgyreheros-regular.otf}[
|
|
11
|
+
BoldFont=texgyreheros-bold.otf,
|
|
12
|
+
ItalicFont=texgyreheros-italic.otf,
|
|
13
|
+
BoldItalicFont=texgyreheros-bolditalic.otf
|
|
14
|
+
]
|
|
15
|
+
\setmonofont{texgyrecursor-regular.otf}[
|
|
16
|
+
BoldFont=texgyrecursor-bold.otf,
|
|
17
|
+
ItalicFont=texgyrecursor-italic.otf,
|
|
18
|
+
BoldItalicFont=texgyrecursor-bolditalic.otf
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
%remove for xelatex
|
|
22
|
+
%\usepackage{mathpazo}
|
|
23
|
+
%\usepackage{helvet}
|
|
24
|
+
%\usepackage{courier}
|
|
6
25
|
|
|
7
26
|
\usepackage{mdwlist}
|
|
8
27
|
\usepackage{shortvrb}
|
|
@@ -14,7 +33,7 @@
|
|
|
14
33
|
\usepackage{geometry}
|
|
15
34
|
\usepackage{moreverb}
|
|
16
35
|
\usepackage{multicol}
|
|
17
|
-
|
|
36
|
+
%\usepackage[utf8]{inputenc} %remove for xelatex
|
|
18
37
|
\usepackage{listings}
|
|
19
38
|
\usepackage{textcomp}
|
|
20
39
|
\usepackage{chessboard}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jpetit/toolkit",
|
|
3
3
|
"description": "Toolkit to prepare problems for Jutge.org",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.13",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"human-id": "^4.1.3",
|
|
33
33
|
"image-size": "^2.0.2",
|
|
34
34
|
"install": "^0.13.0",
|
|
35
|
+
"jdenticon": "^3.3.0",
|
|
35
36
|
"marked": "^17.0.1",
|
|
36
37
|
"marked-terminal": "^7.3.0",
|
|
37
38
|
"multi-llm-ts": "^4.6.2",
|
|
@@ -43,6 +44,7 @@
|
|
|
43
44
|
"radash": "^12.1.1",
|
|
44
45
|
"slug": "^11.0.1",
|
|
45
46
|
"terminal-image": "^4.1.0",
|
|
47
|
+
"terminal-link": "^5.0.0",
|
|
46
48
|
"typescript-eslint": "^8.50.0",
|
|
47
49
|
"yaml": "^2.8.2",
|
|
48
50
|
"zod": "^4.2.1"
|
package/toolkit/index.ts
CHANGED
|
@@ -33,7 +33,8 @@ program.addCommand(ai)
|
|
|
33
33
|
try {
|
|
34
34
|
await program.parseAsync()
|
|
35
35
|
} catch (error) {
|
|
36
|
-
console.
|
|
36
|
+
console.log()
|
|
37
|
+
console.error('An error occurred:')
|
|
37
38
|
if (error instanceof Error) {
|
|
38
39
|
if (error.name === 'ExitPromptError') {
|
|
39
40
|
console.error('Operation cancelled by the user')
|