@learnpack/learnpack 2.1.40 → 2.1.41
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +10 -10
- package/lib/utils/checkNotInstalled.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/src/utils/checkNotInstalled.ts +1 -1
package/README.md
CHANGED
@@ -26,7 +26,7 @@ $ npm install -g @learnpack/learnpack
|
|
26
26
|
$ learnpack COMMAND
|
27
27
|
running command...
|
28
28
|
$ learnpack (-v|--version|version)
|
29
|
-
@learnpack/learnpack/2.1.
|
29
|
+
@learnpack/learnpack/2.1.41 win32-x64 node-v20.10.0
|
30
30
|
$ learnpack --help [COMMAND]
|
31
31
|
USAGE
|
32
32
|
$ learnpack COMMAND
|
@@ -93,7 +93,7 @@ DESCRIPTION
|
|
93
93
|
12. If there is a file within the exercises folder but not inside of any particular exercise's folder. (Warning)
|
94
94
|
```
|
95
95
|
|
96
|
-
_See code: [src\commands\audit.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.
|
96
|
+
_See code: [src\commands\audit.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.41/src\commands\audit.ts)_
|
97
97
|
|
98
98
|
## `learnpack clean`
|
99
99
|
|
@@ -108,7 +108,7 @@ DESCRIPTION
|
|
108
108
|
Extra documentation goes here
|
109
109
|
```
|
110
110
|
|
111
|
-
_See code: [src\commands\clean.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.
|
111
|
+
_See code: [src\commands\clean.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.41/src\commands\clean.ts)_
|
112
112
|
|
113
113
|
## `learnpack download [PACKAGE]`
|
114
114
|
|
@@ -126,7 +126,7 @@ DESCRIPTION
|
|
126
126
|
Extra documentation goes here
|
127
127
|
```
|
128
128
|
|
129
|
-
_See code: [src\commands\download.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.
|
129
|
+
_See code: [src\commands\download.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.41/src\commands\download.ts)_
|
130
130
|
|
131
131
|
## `learnpack help [COMMAND]`
|
132
132
|
|
@@ -157,7 +157,7 @@ OPTIONS
|
|
157
157
|
-h, --grading show CLI help
|
158
158
|
```
|
159
159
|
|
160
|
-
_See code: [src\commands\init.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.
|
160
|
+
_See code: [src\commands\init.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.41/src\commands\init.ts)_
|
161
161
|
|
162
162
|
## `learnpack login [PACKAGE]`
|
163
163
|
|
@@ -175,7 +175,7 @@ DESCRIPTION
|
|
175
175
|
Extra documentation goes here
|
176
176
|
```
|
177
177
|
|
178
|
-
_See code: [src\commands\login.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.
|
178
|
+
_See code: [src\commands\login.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.41/src\commands\login.ts)_
|
179
179
|
|
180
180
|
## `learnpack logout [PACKAGE]`
|
181
181
|
|
@@ -193,7 +193,7 @@ DESCRIPTION
|
|
193
193
|
Extra documentation goes here
|
194
194
|
```
|
195
195
|
|
196
|
-
_See code: [src\commands\logout.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.
|
196
|
+
_See code: [src\commands\logout.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.41/src\commands\logout.ts)_
|
197
197
|
|
198
198
|
## `learnpack plugins`
|
199
199
|
|
@@ -328,7 +328,7 @@ DESCRIPTION
|
|
328
328
|
Extra documentation goes here
|
329
329
|
```
|
330
330
|
|
331
|
-
_See code: [src\commands\publish.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.
|
331
|
+
_See code: [src\commands\publish.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.41/src\commands\publish.ts)_
|
332
332
|
|
333
333
|
## `learnpack start`
|
334
334
|
|
@@ -349,7 +349,7 @@ OPTIONS
|
|
349
349
|
-w, --watch Watch for file changes
|
350
350
|
```
|
351
351
|
|
352
|
-
_See code: [src\commands\start.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.
|
352
|
+
_See code: [src\commands\start.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.41/src\commands\start.ts)_
|
353
353
|
|
354
354
|
## `learnpack test [EXERCISESLUG]`
|
355
355
|
|
@@ -363,7 +363,7 @@ ARGUMENTS
|
|
363
363
|
EXERCISESLUG The name of the exercise to test
|
364
364
|
```
|
365
365
|
|
366
|
-
_See code: [src\commands\test.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.
|
366
|
+
_See code: [src\commands\test.ts](https://github.com/learnpack/learnpack-cli/blob/v2.1.41/src\commands\test.ts)_
|
367
367
|
<!-- commandsstop -->
|
368
368
|
|
369
369
|
- [`learnpack audit`](#learnpack-audit)
|
@@ -29,7 +29,7 @@ exports.checkNotInstalledPlugins = (exercises, installedPlugins) => {
|
|
29
29
|
neededPlugins.push("@learnpack/python");
|
30
30
|
}
|
31
31
|
if (foundExtensions.includes("js")) {
|
32
|
-
neededPlugins.push("@learnpack/
|
32
|
+
neededPlugins.push("@learnpack/node");
|
33
33
|
}
|
34
34
|
}
|
35
35
|
return neededPlugins.filter(item => !installedPlugins.includes(item));
|
package/oclif.manifest.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":"2.1.
|
1
|
+
{"version":"2.1.41","commands":{"audit":{"id":"audit","description":"learnpack audit is the command in charge of creating an auditory of the repository\n...\nlearnpack audit checks for the following information in a repository:\n 1. The configuration object has slug, repository and description. (Error)\n 2. The command learnpack clean has been run. (Error)\n 3. If a markdown or test file doesn't have any content. (Error)\n 4. The links are accessing to valid servers. (Error)\n 5. The relative images are working (If they have the shortest path to the image or if the images exists in the assets). (Error)\n 6. The external images are working (If they are pointing to a valid server). (Error)\n 7. The exercises directory names are valid. (Error)\n 8. If an exercise doesn't have a README file. (Error)\n 9. The exercises array (Of the config file) has content. (Error)\n 10. The exercses have the same translations. (Warning)\n 11. The .gitignore file exists. (Warning)\n 12. If there is a file within the exercises folder but not inside of any particular exercise's folder. (Warning)\n","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[]},"clean":{"id":"clean","description":"Clean the configuration object\n ...\n Extra documentation goes here\n ","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[]},"download":{"id":"download","description":"Describe the command here\n...\nExtra documentation goes here\n","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"package","description":"The unique string that identifies this package on learnpack","required":false,"hidden":false}]},"init":{"id":"init","description":"Create a new learning package: Book, Tutorial or Exercise","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"grading":{"name":"grading","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"login":{"id":"login","description":"Describe the command here\n ...\n Extra documentation goes here\n ","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"package","description":"The unique string that identifies this package on learnpack","required":false,"hidden":false}]},"logout":{"id":"logout","description":"Describe the command here\n ...\n Extra documentation goes here\n ","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"package","description":"The unique string that identifies this package on learnpack","required":false,"hidden":false}]},"publish":{"id":"publish","description":"Describe the command here\n ...\n Extra documentation goes here\n ","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"package","description":"The unique string that identifies this package on learnpack","required":false,"hidden":false}]},"start":{"id":"start","description":"Runs a small server with all the exercise instructions","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"port":{"name":"port","type":"option","char":"p","description":"server port"},"host":{"name":"host","type":"option","char":"h","description":"server host"},"disableGrading":{"name":"disableGrading","type":"boolean","char":"D","description":"disble grading functionality","allowNo":false},"watch":{"name":"watch","type":"boolean","char":"w","description":"Watch for file changes","allowNo":false},"editor":{"name":"editor","type":"option","char":"e","description":"[preview, extension]","options":["extension","preview"]},"version":{"name":"version","type":"option","char":"v","description":"E.g: 1.0.1"},"grading":{"name":"grading","type":"option","char":"g","description":"[isolated, incremental]","options":["isolated","incremental"]},"debug":{"name":"debug","type":"boolean","char":"d","description":"debugger mode for more verbage","allowNo":false}},"args":[]},"test":{"id":"test","description":"Test exercises","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"exerciseSlug","description":"The name of the exercise to test","required":false,"hidden":false}]}}}
|
package/package.json
CHANGED