@jutge.org/toolkit 4.2.2 → 4.2.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 +350 -348
- package/docs/getting-started-guide.md +0 -18
- package/docs/windows.md +0 -8
- package/package.json +1 -1
- package/toolkit/doctor.ts +0 -1
- package/toolkit/index.ts +1 -0
|
@@ -69,12 +69,6 @@ Choose the installation instructions for your operating system:
|
|
|
69
69
|
sudo apt-get install pandoc
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
- **ImageMagick** (for image processing):
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
sudo apt-get install imagemagick
|
|
76
|
-
```
|
|
77
|
-
|
|
78
72
|
- **Python 3** (if using Python in your problems):
|
|
79
73
|
|
|
80
74
|
```bash
|
|
@@ -141,12 +135,6 @@ Choose the installation instructions for your operating system:
|
|
|
141
135
|
brew install pandoc
|
|
142
136
|
```
|
|
143
137
|
|
|
144
|
-
- **ImageMagick** (for image processing):
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
brew install imagemagick
|
|
148
|
-
```
|
|
149
|
-
|
|
150
138
|
- **Python 3** (if using Python):
|
|
151
139
|
|
|
152
140
|
```bash
|
|
@@ -206,12 +194,6 @@ Choose the installation instructions for your operating system:
|
|
|
206
194
|
winget install --id JohnMacFarlane.Pandoc
|
|
207
195
|
```
|
|
208
196
|
|
|
209
|
-
- **ImageMagick** (for image processing):
|
|
210
|
-
|
|
211
|
-
```powershell
|
|
212
|
-
winget install --id ImageMagick.ImageMagick
|
|
213
|
-
```
|
|
214
|
-
|
|
215
197
|
- **Python 3** (if using Python):
|
|
216
198
|
|
|
217
199
|
Install from https://www.python.org/downloads/windows/. Make sure to check "Add Python to PATH" during installation.
|
package/docs/windows.md
CHANGED
|
@@ -59,14 +59,6 @@ jtk --version
|
|
|
59
59
|
winget install --id JohnMacFarlane.Pandoc
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
- Image Magick: ImageMagick is required to process images in problem statements. It is not necessary but recommended.
|
|
63
|
-
|
|
64
|
-
Install it easily using the Windows Package Manager (`winget`):
|
|
65
|
-
|
|
66
|
-
```powershell
|
|
67
|
-
winget install --id ImageMagick.ImageMagick
|
|
68
|
-
```
|
|
69
|
-
|
|
70
62
|
- Python 3: You only need Python 3 if you plan to use Python scripts in your problems.
|
|
71
63
|
|
|
72
64
|
Install Python from https://www.python.org/downloads/windows/. Make sure to check the option to add Python to the system PATH during installation. The toolkit uses `python3` command to run Python scripts.
|
package/package.json
CHANGED
package/toolkit/doctor.ts
CHANGED
|
@@ -15,7 +15,6 @@ export const doctorCmd = new Command('doctor')
|
|
|
15
15
|
await tui.section('Checking Rust installation', doc.checkRust)
|
|
16
16
|
await tui.section('Checking XeLaTeX installation', doc.checkXeLaTeX)
|
|
17
17
|
await tui.section('Checking Pandoc installation', doc.checkPandoc)
|
|
18
|
-
await tui.section('Checking ImageMagick installation', doc.checkImageMagick)
|
|
19
18
|
await tui.section('Checking AI models', doc.checkAIEnvVars)
|
|
20
19
|
await tui.section('Checking terminal', doc.checkTerminal)
|
|
21
20
|
})
|
package/toolkit/index.ts
CHANGED
|
@@ -25,6 +25,7 @@ program.alias(Object.keys(packageJson.bin as Record<string, string>)[1] as strin
|
|
|
25
25
|
program.version(packageJson.version)
|
|
26
26
|
program.description(packageJson.description!)
|
|
27
27
|
program.helpCommand('help [command]', 'Display help for command') // To get the message with uppercase :-)
|
|
28
|
+
program.addHelpText('after', '\nMore documentation:\n https://github.com/jutge-org/new-jutge-toolkit/tree/main/docs')
|
|
28
29
|
|
|
29
30
|
program.addCommand(configCmd)
|
|
30
31
|
program.addCommand(cloneCmd)
|