@learnpack/learnpack 5.0.209 → 5.0.211
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/README.md +13 -13
- package/lib/creatorDist/assets/{index-DzQGLCWt.js → index-DxwqeFD3.js} +11 -6
- package/lib/creatorDist/index.html +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/src/creator/src/components/Login.tsx +2 -1
- package/src/creator/src/locales/en.json +6 -6
- package/src/creatorDist/assets/{index-DzQGLCWt.js → index-DxwqeFD3.js} +11 -6
- package/src/creatorDist/index.html +1 -1
package/README.md
CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @learnpack/learnpack
|
|
21
21
|
$ learnpack COMMAND
|
22
22
|
running command...
|
23
23
|
$ learnpack (-v|--version|version)
|
24
|
-
@learnpack/learnpack/5.0.
|
24
|
+
@learnpack/learnpack/5.0.211 win32-x64 node-v22.15.0
|
25
25
|
$ learnpack --help [COMMAND]
|
26
26
|
USAGE
|
27
27
|
$ learnpack COMMAND
|
@@ -80,7 +80,7 @@ DESCRIPTION
|
|
80
80
|
12. If there is a file within the exercises folder but not inside of any particular exercise's folder. (Warning)
|
81
81
|
```
|
82
82
|
|
83
|
-
_See code: [src\commands\audit.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
83
|
+
_See code: [src\commands\audit.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\audit.ts)_
|
84
84
|
|
85
85
|
## `learnpack breakToken`
|
86
86
|
|
@@ -95,7 +95,7 @@ OPTIONS
|
|
95
95
|
-y, --yes Skip all prompts and initialize an empty project
|
96
96
|
```
|
97
97
|
|
98
|
-
_See code: [src\commands\breakToken.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
98
|
+
_See code: [src\commands\breakToken.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\breakToken.ts)_
|
99
99
|
|
100
100
|
## `learnpack clean`
|
101
101
|
|
@@ -110,7 +110,7 @@ DESCRIPTION
|
|
110
110
|
Extra documentation goes here
|
111
111
|
```
|
112
112
|
|
113
|
-
_See code: [src\commands\clean.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
113
|
+
_See code: [src\commands\clean.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\clean.ts)_
|
114
114
|
|
115
115
|
## `learnpack download [PACKAGE]`
|
116
116
|
|
@@ -128,7 +128,7 @@ DESCRIPTION
|
|
128
128
|
Extra documentation goes here
|
129
129
|
```
|
130
130
|
|
131
|
-
_See code: [src\commands\download.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
131
|
+
_See code: [src\commands\download.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\download.ts)_
|
132
132
|
|
133
133
|
## `learnpack help [COMMAND]`
|
134
134
|
|
@@ -160,7 +160,7 @@ OPTIONS
|
|
160
160
|
-y, --yes Skip all prompts and initialize an empty project
|
161
161
|
```
|
162
162
|
|
163
|
-
_See code: [src\commands\init.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
163
|
+
_See code: [src\commands\init.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\init.ts)_
|
164
164
|
|
165
165
|
## `learnpack login [PACKAGE]`
|
166
166
|
|
@@ -178,7 +178,7 @@ DESCRIPTION
|
|
178
178
|
Extra documentation goes here
|
179
179
|
```
|
180
180
|
|
181
|
-
_See code: [src\commands\login.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
181
|
+
_See code: [src\commands\login.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\login.ts)_
|
182
182
|
|
183
183
|
## `learnpack logout [PACKAGE]`
|
184
184
|
|
@@ -196,7 +196,7 @@ DESCRIPTION
|
|
196
196
|
Extra documentation goes here
|
197
197
|
```
|
198
198
|
|
199
|
-
_See code: [src\commands\logout.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
199
|
+
_See code: [src\commands\logout.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\logout.ts)_
|
200
200
|
|
201
201
|
## `learnpack plugins`
|
202
202
|
|
@@ -328,7 +328,7 @@ OPTIONS
|
|
328
328
|
-s, --strict strict mode
|
329
329
|
```
|
330
330
|
|
331
|
-
_See code: [src\commands\publish.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
331
|
+
_See code: [src\commands\publish.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\publish.ts)_
|
332
332
|
|
333
333
|
## `learnpack serve`
|
334
334
|
|
@@ -345,7 +345,7 @@ OPTIONS
|
|
345
345
|
-y, --yes Skip all prompts and initialize an empty project
|
346
346
|
```
|
347
347
|
|
348
|
-
_See code: [src\commands\serve.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
348
|
+
_See code: [src\commands\serve.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\serve.ts)_
|
349
349
|
|
350
350
|
## `learnpack start`
|
351
351
|
|
@@ -367,7 +367,7 @@ OPTIONS
|
|
367
367
|
-y, --yes Skip all prompts and initialize an empty project
|
368
368
|
```
|
369
369
|
|
370
|
-
_See code: [src\commands\start.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
370
|
+
_See code: [src\commands\start.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\start.ts)_
|
371
371
|
|
372
372
|
## `learnpack test [EXERCISESLUG]`
|
373
373
|
|
@@ -384,7 +384,7 @@ OPTIONS
|
|
384
384
|
-y, --yes Skip all prompts and initialize an empty project
|
385
385
|
```
|
386
386
|
|
387
|
-
_See code: [src\commands\test.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
387
|
+
_See code: [src\commands\test.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\test.ts)_
|
388
388
|
|
389
389
|
## `learnpack translate`
|
390
390
|
|
@@ -398,7 +398,7 @@ OPTIONS
|
|
398
398
|
-y, --yes Skip all prompts and initialize an empty project
|
399
399
|
```
|
400
400
|
|
401
|
-
_See code: [src\commands\translate.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
401
|
+
_See code: [src\commands\translate.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.211/src\commands\translate.ts)_
|
402
402
|
<!-- commandsstop -->
|
403
403
|
|
404
404
|
> > > > > > > 0cb3e56d84c197f9d008836bb573eade212b7e57
|
@@ -37624,8 +37624,11 @@ function R_({ onFinish: e }) {
|
|
37624
37624
|
children: t("login.youDontHaveAnAccount"),
|
37625
37625
|
}),
|
37626
37626
|
R.jsx("a", {
|
37627
|
-
href:
|
37627
|
+
href: `https://www.learnpack.co/register?callback=${encodeURIComponent(
|
37628
|
+
window.location.href
|
37629
|
+
)}`,
|
37628
37630
|
target: "_blank",
|
37631
|
+
rel: "noopener noreferrer",
|
37629
37632
|
className: "text-blue-600 font-medium",
|
37630
37633
|
children: t("login.registerHere"),
|
37631
37634
|
}),
|
@@ -38231,7 +38234,7 @@ const q_ = {
|
|
38231
38234
|
60: "Around 1 hour",
|
38232
38235
|
120: "Around 2 hours",
|
38233
38236
|
},
|
38234
|
-
purpose: "
|
38237
|
+
purpose: "What’s your primary learning goal for this tutorial?",
|
38235
38238
|
verifyHuman: "Please verify you are a human",
|
38236
38239
|
humanSuccess: "You are a human! 👌🏻",
|
38237
38240
|
hasContentIndex: "Any materials to get this course started?",
|
@@ -38244,20 +38247,22 @@ const q_ = {
|
|
38244
38247
|
"learnpack-lesson-writer": {
|
38245
38248
|
label: "Understand a new topic",
|
38246
38249
|
description:
|
38247
|
-
"Learn about a new concept (e.g.,
|
38250
|
+
"Learn about a new concept (e.g., What is compound interest?).",
|
38248
38251
|
},
|
38249
38252
|
"homework-and-exam-preparation-aid": {
|
38250
38253
|
label: "Practice for an exam or homework",
|
38251
|
-
description:
|
38254
|
+
description:
|
38255
|
+
"Timed problems with instant feedback in math, STEM or any other topic",
|
38252
38256
|
},
|
38253
38257
|
"skill-building-facilitator": {
|
38254
38258
|
label: "Build real-world skills",
|
38255
38259
|
description:
|
38256
|
-
"
|
38260
|
+
"Step-by-step projects that mirror real tasks (data-science notebooks, security audits…)",
|
38257
38261
|
},
|
38258
38262
|
"certification-preparation-specialist": {
|
38259
38263
|
label: "Prepare for a certification",
|
38260
|
-
description:
|
38264
|
+
description:
|
38265
|
+
"Full mock exams for standard certifications & study sheets. E.g: TOEFL®, CompTIA, etc",
|
38261
38266
|
},
|
38262
38267
|
},
|
38263
38268
|
G_ = {
|
@@ -10,7 +10,7 @@
|
|
10
10
|
/>
|
11
11
|
|
12
12
|
<title>Learnpack Creator: Craft tutorials in seconds!</title>
|
13
|
-
<script type="module" crossorigin src="/creator/assets/index-
|
13
|
+
<script type="module" crossorigin src="/creator/assets/index-DxwqeFD3.js"></script>
|
14
14
|
<link rel="stylesheet" crossorigin href="/creator/assets/index-Bnq3eZ3T.css">
|
15
15
|
</head>
|
16
16
|
<body>
|
package/oclif.manifest.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":"5.0.
|
1
|
+
{"version":"5.0.211","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":{"strict":{"name":"strict","type":"boolean","char":"s","description":"strict mode","allowNo":false}},"args":[]},"breakToken":{"id":"breakToken","description":"Break the token","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false},"grading":{"name":"grading","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"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":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false},"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":"Builds the project by copying necessary files and directories into a zip file","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"strict":{"name":"strict","type":"boolean","char":"s","description":"strict mode","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Runs a small server to build tutorials","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false},"port":{"name":"port","type":"option","char":"p","description":"server port"},"host":{"name":"host","type":"option","char":"h","description":"server host"},"debug":{"name":"debug","type":"boolean","char":"d","description":"debugger mode for more verbage","allowNo":false}},"args":[]},"start":{"id":"start","description":"Runs a small server with all the exercise instructions","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false},"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":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false}},"args":[{"name":"exerciseSlug","description":"The name of the exercise to test","required":false,"hidden":false}]},"translate":{"id":"translate","description":"List all the lessons, the user is able of select many of them to translate to the given languages","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false}},"args":[]}}}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@learnpack/learnpack",
|
3
3
|
"description": "Seamlessly build, sell and/or take interactive & auto-graded tutorials, start learning now or build a new tutorial to your audience.",
|
4
|
-
"version": "5.0.
|
4
|
+
"version": "5.0.211",
|
5
5
|
"author": "Alejandro Sanchez @alesanchezr",
|
6
6
|
"contributors": [
|
7
7
|
{
|
@@ -248,8 +248,9 @@ export default function Login({ onFinish }: { onFinish: () => void }) {
|
|
248
248
|
Register here.
|
249
249
|
</button> */}
|
250
250
|
<a
|
251
|
-
href={`https://www.learnpack.co/register`}
|
251
|
+
href={`https://www.learnpack.co/register?callback=${encodeURIComponent(window.location.href)}`}
|
252
252
|
target="_blank"
|
253
|
+
rel="noopener noreferrer"
|
253
254
|
className="text-blue-600 font-medium"
|
254
255
|
>
|
255
256
|
{t("login.registerHere")}
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"60": "Around 1 hour",
|
18
18
|
"120": "Around 2 hours"
|
19
19
|
},
|
20
|
-
"purpose": "
|
20
|
+
"purpose": "What’s your primary learning goal for this tutorial?",
|
21
21
|
"verifyHuman": "Please verify you are a human",
|
22
22
|
"humanSuccess": "You are a human! 👌🏻",
|
23
23
|
"hasContentIndex": "Any materials to get this course started?",
|
@@ -31,19 +31,19 @@
|
|
31
31
|
"purposeSelector": {
|
32
32
|
"learnpack-lesson-writer": {
|
33
33
|
"label": "Understand a new topic",
|
34
|
-
"description": "Learn about a new concept (e.g.,
|
34
|
+
"description": "Learn about a new concept (e.g., What is compound interest?)."
|
35
35
|
},
|
36
36
|
"homework-and-exam-preparation-aid": {
|
37
37
|
"label": "Practice for an exam or homework",
|
38
|
-
"description": "
|
38
|
+
"description": "Timed problems with instant feedback in math, STEM or any other topic"
|
39
39
|
},
|
40
40
|
"skill-building-facilitator": {
|
41
41
|
"label": "Build real-world skills",
|
42
|
-
"description": "
|
42
|
+
"description": "Step-by-step projects that mirror real tasks (data-science notebooks, security audits…)"
|
43
43
|
},
|
44
44
|
"certification-preparation-specialist": {
|
45
45
|
"label": "Prepare for a certification",
|
46
|
-
"description": "
|
46
|
+
"description": "Full mock exams for standard certifications & study sheets. E.g: TOEFL®, CompTIA, etc"
|
47
47
|
}
|
48
48
|
},
|
49
49
|
"uploader": {
|
@@ -110,4 +110,4 @@
|
|
110
110
|
"youDontHaveAnAccount": "You don't have an account?",
|
111
111
|
"registerHere": "Register here."
|
112
112
|
}
|
113
|
-
}
|
113
|
+
}
|
@@ -37624,8 +37624,11 @@ function R_({ onFinish: e }) {
|
|
37624
37624
|
children: t("login.youDontHaveAnAccount"),
|
37625
37625
|
}),
|
37626
37626
|
R.jsx("a", {
|
37627
|
-
href:
|
37627
|
+
href: `https://www.learnpack.co/register?callback=${encodeURIComponent(
|
37628
|
+
window.location.href
|
37629
|
+
)}`,
|
37628
37630
|
target: "_blank",
|
37631
|
+
rel: "noopener noreferrer",
|
37629
37632
|
className: "text-blue-600 font-medium",
|
37630
37633
|
children: t("login.registerHere"),
|
37631
37634
|
}),
|
@@ -38231,7 +38234,7 @@ const q_ = {
|
|
38231
38234
|
60: "Around 1 hour",
|
38232
38235
|
120: "Around 2 hours",
|
38233
38236
|
},
|
38234
|
-
purpose: "
|
38237
|
+
purpose: "What’s your primary learning goal for this tutorial?",
|
38235
38238
|
verifyHuman: "Please verify you are a human",
|
38236
38239
|
humanSuccess: "You are a human! 👌🏻",
|
38237
38240
|
hasContentIndex: "Any materials to get this course started?",
|
@@ -38244,20 +38247,22 @@ const q_ = {
|
|
38244
38247
|
"learnpack-lesson-writer": {
|
38245
38248
|
label: "Understand a new topic",
|
38246
38249
|
description:
|
38247
|
-
"Learn about a new concept (e.g.,
|
38250
|
+
"Learn about a new concept (e.g., What is compound interest?).",
|
38248
38251
|
},
|
38249
38252
|
"homework-and-exam-preparation-aid": {
|
38250
38253
|
label: "Practice for an exam or homework",
|
38251
|
-
description:
|
38254
|
+
description:
|
38255
|
+
"Timed problems with instant feedback in math, STEM or any other topic",
|
38252
38256
|
},
|
38253
38257
|
"skill-building-facilitator": {
|
38254
38258
|
label: "Build real-world skills",
|
38255
38259
|
description:
|
38256
|
-
"
|
38260
|
+
"Step-by-step projects that mirror real tasks (data-science notebooks, security audits…)",
|
38257
38261
|
},
|
38258
38262
|
"certification-preparation-specialist": {
|
38259
38263
|
label: "Prepare for a certification",
|
38260
|
-
description:
|
38264
|
+
description:
|
38265
|
+
"Full mock exams for standard certifications & study sheets. E.g: TOEFL®, CompTIA, etc",
|
38261
38266
|
},
|
38262
38267
|
},
|
38263
38268
|
G_ = {
|
@@ -10,7 +10,7 @@
|
|
10
10
|
/>
|
11
11
|
|
12
12
|
<title>Learnpack Creator: Craft tutorials in seconds!</title>
|
13
|
-
<script type="module" crossorigin src="/creator/assets/index-
|
13
|
+
<script type="module" crossorigin src="/creator/assets/index-DxwqeFD3.js"></script>
|
14
14
|
<link rel="stylesheet" crossorigin href="/creator/assets/index-Bnq3eZ3T.css">
|
15
15
|
</head>
|
16
16
|
<body>
|