@learnpack/learnpack 5.0.146 → 5.0.148
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-DSOj0E0h.css → index-DUPYM87B.css} +25 -8
- package/lib/creatorDist/assets/{index-CzMCewx6.js → index-ETBXfIew.js} +3325 -3277
- package/lib/creatorDist/index.html +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/src/creator/src/App.tsx +3 -4
- package/src/creator/src/components/ConsumablesManager.tsx +1 -0
- package/src/creator/src/components/ContentCard.tsx +28 -7
- package/src/creator/src/components/FileUploader.tsx +44 -17
- package/src/creator/src/components/Loader.tsx +1 -1
- package/src/creator/src/components/PreviewGenerator.tsx +13 -11
- package/src/creator/src/components/syllabus/ContentIndex.tsx +2 -2
- package/src/creator/src/components/syllabus/Sidebar.tsx +23 -23
- package/src/creator/src/components/syllabus/SyllabusEditor.tsx +4 -1
- package/src/creator/src/index.css +0 -5
- package/src/creatorDist/assets/{index-DSOj0E0h.css → index-DUPYM87B.css} +25 -8
- package/src/creatorDist/assets/{index-CzMCewx6.js → index-ETBXfIew.js} +3325 -3277
- package/src/creatorDist/index.html +2 -2
- package/src/ui/_app/app.css +1 -1
- package/src/ui/_app/app.js +22 -22
- package/src/ui/app.tar.gz +0 -0
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.148 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.148/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.148/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.148/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.148/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.148/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.148/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.148/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.148/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.148/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.148/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.148/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.148/src\commands\translate.ts)_
|
402
402
|
<!-- commandsstop -->
|
403
403
|
|
404
404
|
> > > > > > > 0cb3e56d84c197f9d008836bb573eade212b7e57
|
@@ -98,6 +98,8 @@
|
|
98
98
|
--text-2xl--line-height: calc(2 / 1.5);
|
99
99
|
--text-4xl: 2.25rem;
|
100
100
|
--text-4xl--line-height: calc(2.5 / 2.25);
|
101
|
+
--text-7xl: 4.5rem;
|
102
|
+
--text-7xl--line-height: 1;
|
101
103
|
--font-weight-medium: 500;
|
102
104
|
--font-weight-semibold: 600;
|
103
105
|
--font-weight-bold: 700;
|
@@ -426,11 +428,11 @@
|
|
426
428
|
.z-10 {
|
427
429
|
z-index: 10;
|
428
430
|
}
|
429
|
-
.z-
|
430
|
-
z-index:
|
431
|
+
.z-30 {
|
432
|
+
z-index: 30;
|
431
433
|
}
|
432
|
-
.z-
|
433
|
-
z-index:
|
434
|
+
.z-31 {
|
435
|
+
z-index: 31;
|
434
436
|
}
|
435
437
|
.z-50 {
|
436
438
|
z-index: 50;
|
@@ -496,6 +498,12 @@
|
|
496
498
|
.mt-6 {
|
497
499
|
margin-top: calc(var(--spacing) * 6);
|
498
500
|
}
|
501
|
+
.mt-10 {
|
502
|
+
margin-top: calc(var(--spacing) * 10);
|
503
|
+
}
|
504
|
+
.mt-14 {
|
505
|
+
margin-top: calc(var(--spacing) * 14);
|
506
|
+
}
|
499
507
|
.mr-1 {
|
500
508
|
margin-right: calc(var(--spacing) * 1);
|
501
509
|
}
|
@@ -613,6 +621,9 @@
|
|
613
621
|
.w-\[100px\] {
|
614
622
|
width: 100px;
|
615
623
|
}
|
624
|
+
.w-\[280px\] {
|
625
|
+
width: 280px;
|
626
|
+
}
|
616
627
|
.w-full {
|
617
628
|
width: 100%;
|
618
629
|
}
|
@@ -899,6 +910,9 @@
|
|
899
910
|
.p-8 {
|
900
911
|
padding: calc(var(--spacing) * 8);
|
901
912
|
}
|
913
|
+
.p-10 {
|
914
|
+
padding: calc(var(--spacing) * 10);
|
915
|
+
}
|
902
916
|
.px-2 {
|
903
917
|
padding-inline: calc(var(--spacing) * 2);
|
904
918
|
}
|
@@ -908,6 +922,9 @@
|
|
908
922
|
.px-4 {
|
909
923
|
padding-inline: calc(var(--spacing) * 4);
|
910
924
|
}
|
925
|
+
.px-20 {
|
926
|
+
padding-inline: calc(var(--spacing) * 20);
|
927
|
+
}
|
911
928
|
.py-1 {
|
912
929
|
padding-block: calc(var(--spacing) * 1);
|
913
930
|
}
|
@@ -943,6 +960,10 @@
|
|
943
960
|
font-size: var(--text-4xl);
|
944
961
|
line-height: var(--tw-leading, var(--text-4xl--line-height));
|
945
962
|
}
|
963
|
+
.text-7xl {
|
964
|
+
font-size: var(--text-7xl);
|
965
|
+
line-height: var(--tw-leading, var(--text-7xl--line-height));
|
966
|
+
}
|
946
967
|
.text-lg {
|
947
968
|
font-size: var(--text-lg);
|
948
969
|
line-height: var(--tw-leading, var(--text-lg--line-height));
|
@@ -1257,10 +1278,6 @@ body {
|
|
1257
1278
|
min-height: 100vh;
|
1258
1279
|
margin: 0;
|
1259
1280
|
}
|
1260
|
-
h1 {
|
1261
|
-
font-size: 3.2em;
|
1262
|
-
line-height: 1.1;
|
1263
|
-
}
|
1264
1281
|
.bg-learnpack-blue {
|
1265
1282
|
background-color: var(--soft-blue);
|
1266
1283
|
}
|