@learnpack/learnpack 5.0.81 → 5.0.85

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.
Files changed (30) hide show
  1. package/README.md +13 -13
  2. package/lib/creatorDist/assets/{index-WzdhAujs.js → index-D15TgYvM.js} +38777 -31507
  3. package/lib/creatorDist/assets/{index-BJ2JJzVC.css → index-ldEC0yWM.css} +148 -41
  4. package/lib/creatorDist/index.html +2 -2
  5. package/lib/utils/api.js +0 -8
  6. package/oclif.manifest.json +1 -1
  7. package/package.json +1 -1
  8. package/src/creator/package-lock.json +1229 -61
  9. package/src/creator/package.json +1 -0
  10. package/src/creator/src/App.tsx +6 -6
  11. package/src/creator/src/assets/svgs.tsx +18 -0
  12. package/src/creator/src/components/FileCard.tsx +22 -0
  13. package/src/creator/src/components/LessonItem.tsx +20 -9
  14. package/src/creator/src/components/Login.tsx +10 -24
  15. package/src/creator/src/components/MarkdownRenderer.tsx +11 -0
  16. package/src/creator/src/components/Message.tsx +4 -2
  17. package/src/creator/src/components/syllabus/ContentIndex.tsx +53 -42
  18. package/src/creator/src/components/syllabus/Sidebar.tsx +22 -20
  19. package/src/creator/src/components/syllabus/SyllabusEditor.tsx +63 -30
  20. package/src/creator/src/index.css +47 -0
  21. package/src/creator/src/utils/creatorUtils.ts +5 -1
  22. package/src/creator/src/utils/lib.ts +20 -10
  23. package/src/creator/src/utils/store.ts +31 -22
  24. package/src/creatorDist/assets/{index-WzdhAujs.js → index-D15TgYvM.js} +38777 -31507
  25. package/src/creatorDist/assets/{index-BJ2JJzVC.css → index-ldEC0yWM.css} +148 -41
  26. package/src/creatorDist/index.html +2 -2
  27. package/src/ui/_app/app.css +1 -1
  28. package/src/ui/_app/app.js +344 -344
  29. package/src/ui/app.tar.gz +0 -0
  30. package/src/utils/api.ts +0 -9
@@ -26,7 +26,6 @@
26
26
  --tw-gradient-from-position: 0%;
27
27
  --tw-gradient-via-position: 50%;
28
28
  --tw-gradient-to-position: 100%;
29
- --tw-leading: initial;
30
29
  --tw-font-weight: initial;
31
30
  --tw-shadow: 0 0 #0000;
32
31
  --tw-shadow-color: initial;
@@ -54,7 +53,6 @@
54
53
  "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
55
54
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
56
55
  "Liberation Mono", "Courier New", monospace;
57
- --color-red-300: oklch(80.8% 0.114 19.571);
58
56
  --color-red-500: oklch(63.7% 0.237 25.331);
59
57
  --color-red-700: oklch(50.5% 0.213 27.518);
60
58
  --color-sky-500: oklch(68.5% 0.169 237.323);
@@ -82,8 +80,12 @@
82
80
  --spacing: 0.25rem;
83
81
  --container-sm: 24rem;
84
82
  --container-xl: 36rem;
83
+ --text-xs: 0.75rem;
84
+ --text-xs--line-height: calc(1 / 0.75);
85
85
  --text-sm: 0.875rem;
86
86
  --text-sm--line-height: calc(1.25 / 0.875);
87
+ --text-base: 1rem;
88
+ --text-base--line-height: 1.5;
87
89
  --text-lg: 1.125rem;
88
90
  --text-lg--line-height: calc(1.75 / 1.125);
89
91
  --text-4xl: 2.25rem;
@@ -91,7 +93,6 @@
91
93
  --font-weight-medium: 500;
92
94
  --font-weight-semibold: 600;
93
95
  --font-weight-bold: 700;
94
- --leading-relaxed: 1.625;
95
96
  --radius-md: 0.375rem;
96
97
  --radius-lg: 0.5rem;
97
98
  --radius-xl: 0.75rem;
@@ -374,9 +375,6 @@
374
375
  .inset-0 {
375
376
  inset: calc(var(--spacing) * 0);
376
377
  }
377
- .-top-1 {
378
- top: calc(var(--spacing) * -1);
379
- }
380
378
  .-top-3 {
381
379
  top: calc(var(--spacing) * -3);
382
380
  }
@@ -386,9 +384,6 @@
386
384
  .top-2 {
387
385
  top: calc(var(--spacing) * 2);
388
386
  }
389
- .right-0 {
390
- right: calc(var(--spacing) * 0);
391
- }
392
387
  .right-2 {
393
388
  right: calc(var(--spacing) * 2);
394
389
  }
@@ -398,8 +393,14 @@
398
393
  .bottom-2 {
399
394
  bottom: calc(var(--spacing) * 2);
400
395
  }
401
- .bottom-3 {
402
- bottom: calc(var(--spacing) * 3);
396
+ .bottom-5 {
397
+ bottom: calc(var(--spacing) * 5);
398
+ }
399
+ .bottom-10 {
400
+ bottom: calc(var(--spacing) * 10);
401
+ }
402
+ .bottom-\[100\%\] {
403
+ bottom: 100%;
403
404
  }
404
405
  .left-0 {
405
406
  left: calc(var(--spacing) * 0);
@@ -480,6 +481,9 @@
480
481
  .mb-4 {
481
482
  margin-bottom: calc(var(--spacing) * 4);
482
483
  }
484
+ .mb-5 {
485
+ margin-bottom: calc(var(--spacing) * 5);
486
+ }
483
487
  .mb-6 {
484
488
  margin-bottom: calc(var(--spacing) * 6);
485
489
  }
@@ -498,18 +502,15 @@
498
502
  .inline-block {
499
503
  display: inline-block;
500
504
  }
501
- .inline-flex {
502
- display: inline-flex;
503
- }
504
505
  .h-2 {
505
506
  height: calc(var(--spacing) * 2);
506
507
  }
507
- .h-3 {
508
- height: calc(var(--spacing) * 3);
509
- }
510
508
  .h-6 {
511
509
  height: calc(var(--spacing) * 6);
512
510
  }
511
+ .h-15 {
512
+ height: calc(var(--spacing) * 15);
513
+ }
513
514
  .h-20 {
514
515
  height: calc(var(--spacing) * 20);
515
516
  }
@@ -531,14 +532,14 @@
531
532
  .h-screen {
532
533
  height: 100vh;
533
534
  }
534
- .max-h-\[80vh\] {
535
- max-height: 80vh;
535
+ .max-h-\[78vh\] {
536
+ max-height: 78vh;
536
537
  }
537
538
  .max-h-\[300px\] {
538
539
  max-height: 300px;
539
540
  }
540
- .min-h-\[70vh\] {
541
- min-height: 70vh;
541
+ .min-h-\[69vh\] {
542
+ min-height: 69vh;
542
543
  }
543
544
  .min-h-screen {
544
545
  min-height: 100vh;
@@ -546,18 +547,21 @@
546
547
  .w-2 {
547
548
  width: calc(var(--spacing) * 2);
548
549
  }
549
- .w-3 {
550
- width: calc(var(--spacing) * 3);
551
- }
552
550
  .w-4\/5 {
553
551
  width: 80%;
554
552
  }
555
553
  .w-6 {
556
554
  width: calc(var(--spacing) * 6);
557
555
  }
556
+ .w-15 {
557
+ width: calc(var(--spacing) * 15);
558
+ }
558
559
  .w-20 {
559
560
  width: calc(var(--spacing) * 20);
560
561
  }
562
+ .w-\[100px\] {
563
+ width: 100px;
564
+ }
561
565
  .w-full {
562
566
  width: 100%;
563
567
  }
@@ -670,15 +674,26 @@
670
674
  calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse))
671
675
  );
672
676
  }
677
+ .truncate {
678
+ text-overflow: ellipsis;
679
+ white-space: nowrap;
680
+ overflow: hidden;
681
+ }
673
682
  .overflow-hidden {
674
683
  overflow: hidden;
675
684
  }
685
+ .overflow-x-auto {
686
+ overflow-x: auto;
687
+ }
676
688
  .overflow-y-auto {
677
689
  overflow-y: auto;
678
690
  }
679
691
  .rounded {
680
692
  border-radius: 0.25rem;
681
693
  }
694
+ .rounded-\[50\%\] {
695
+ border-radius: 50%;
696
+ }
682
697
  .rounded-full {
683
698
  border-radius: 3.40282e38px;
684
699
  }
@@ -739,9 +754,6 @@
739
754
  .bg-blue-100 {
740
755
  background-color: var(--color-blue-100);
741
756
  }
742
- .bg-blue-200 {
743
- background-color: var(--color-blue-200);
744
- }
745
757
  .bg-blue-400 {
746
758
  background-color: var(--color-blue-400);
747
759
  }
@@ -751,6 +763,9 @@
751
763
  .bg-gray-50 {
752
764
  background-color: var(--color-gray-50);
753
765
  }
766
+ .bg-gray-200 {
767
+ background-color: var(--color-gray-200);
768
+ }
754
769
  .bg-gray-300 {
755
770
  background-color: var(--color-gray-300);
756
771
  }
@@ -815,8 +830,11 @@
815
830
  .pr-2 {
816
831
  padding-right: calc(var(--spacing) * 2);
817
832
  }
818
- .pb-5 {
819
- padding-bottom: calc(var(--spacing) * 5);
833
+ .pb-1 {
834
+ padding-bottom: calc(var(--spacing) * 1);
835
+ }
836
+ .pb-20 {
837
+ padding-bottom: calc(var(--spacing) * 20);
820
838
  }
821
839
  .pb-32 {
822
840
  padding-bottom: calc(var(--spacing) * 32);
@@ -842,12 +860,9 @@
842
860
  font-size: var(--text-sm);
843
861
  line-height: var(--tw-leading, var(--text-sm--line-height));
844
862
  }
845
- .text-\[10px\] {
846
- font-size: 10px;
847
- }
848
- .leading-relaxed {
849
- --tw-leading: var(--leading-relaxed);
850
- line-height: var(--leading-relaxed);
863
+ .text-xs {
864
+ font-size: var(--text-xs);
865
+ line-height: var(--tw-leading, var(--text-xs--line-height));
851
866
  }
852
867
  .font-bold {
853
868
  --tw-font-weight: var(--font-weight-bold);
@@ -861,6 +876,9 @@
861
876
  --tw-font-weight: var(--font-weight-semibold);
862
877
  font-weight: var(--font-weight-semibold);
863
878
  }
879
+ .break-words {
880
+ overflow-wrap: break-word;
881
+ }
864
882
  .whitespace-pre-line {
865
883
  white-space: pre-line;
866
884
  }
@@ -937,6 +955,16 @@
937
955
  );
938
956
  transition-duration: var(--tw-duration, var(--default-transition-duration));
939
957
  }
958
+ .transition-colors {
959
+ transition-property: color, background-color, border-color, outline-color,
960
+ text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via,
961
+ --tw-gradient-to;
962
+ transition-timing-function: var(
963
+ --tw-ease,
964
+ var(--default-transition-timing-function)
965
+ );
966
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
967
+ }
940
968
  .transition-transform {
941
969
  transition-property: transform, translate, scale, rotate;
942
970
  transition-timing-function: var(
@@ -963,8 +991,8 @@
963
991
  .hover\:bg-blue-700:hover {
964
992
  background-color: var(--color-blue-700);
965
993
  }
966
- .hover\:bg-red-300:hover {
967
- background-color: var(--color-red-300);
994
+ .hover\:bg-gray-300:hover {
995
+ background-color: var(--color-gray-300);
968
996
  }
969
997
  .hover\:text-blue-500:hover {
970
998
  color: var(--color-blue-500);
@@ -988,10 +1016,54 @@
988
1016
  .disabled\:opacity-40:disabled {
989
1017
  opacity: 0.4;
990
1018
  }
1019
+ @media (min-width: 40rem) {
1020
+ .sm\:w-auto {
1021
+ width: auto;
1022
+ }
1023
+ .sm\:flex-row {
1024
+ flex-direction: row;
1025
+ }
1026
+ :where(.sm\:space-y-0 > :not(:last-child)) {
1027
+ --tw-space-y-reverse: 0;
1028
+ margin-block-start: calc(
1029
+ calc(var(--spacing) * 0) * var(--tw-space-y-reverse)
1030
+ );
1031
+ margin-block-end: calc(
1032
+ calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse))
1033
+ );
1034
+ }
1035
+ :where(.sm\:space-x-4 > :not(:last-child)) {
1036
+ --tw-space-x-reverse: 0;
1037
+ margin-inline-start: calc(
1038
+ calc(var(--spacing) * 4) * var(--tw-space-x-reverse)
1039
+ );
1040
+ margin-inline-end: calc(
1041
+ calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse))
1042
+ );
1043
+ }
1044
+ .sm\:p-4 {
1045
+ padding: calc(var(--spacing) * 4);
1046
+ }
1047
+ .sm\:text-base {
1048
+ font-size: var(--text-base);
1049
+ line-height: var(--tw-leading, var(--text-base--line-height));
1050
+ }
1051
+ .sm\:text-sm {
1052
+ font-size: var(--text-sm);
1053
+ line-height: var(--tw-leading, var(--text-sm--line-height));
1054
+ }
1055
+ }
991
1056
  @media (min-width: 48rem) {
992
1057
  .md\:flex-row {
993
1058
  flex-direction: row;
994
1059
  }
1060
+ .md\:p-6 {
1061
+ padding: calc(var(--spacing) * 6);
1062
+ }
1063
+ .md\:text-lg {
1064
+ font-size: var(--text-lg);
1065
+ line-height: var(--tw-leading, var(--text-lg--line-height));
1066
+ }
995
1067
  }
996
1068
  @media (min-width: 64rem) {
997
1069
  .lg\:relative {
@@ -1010,6 +1082,9 @@
1010
1082
  .lg\:transform-none {
1011
1083
  transform: none;
1012
1084
  }
1085
+ .lg\:p-8 {
1086
+ padding: calc(var(--spacing) * 8);
1087
+ }
1013
1088
  }
1014
1089
  }
1015
1090
  :root {
@@ -1118,6 +1193,42 @@ h1 {
1118
1193
  top: -10px;
1119
1194
  left: 10px;
1120
1195
  }
1196
+ .fluid-svg > svg {
1197
+ width: 100%;
1198
+ height: 100%;
1199
+ }
1200
+ .outline-blue:focus {
1201
+ outline: 1px solid #51b3e5;
1202
+ }
1203
+ .border-C8DBFC {
1204
+ border-color: #c8dbfc;
1205
+ }
1206
+ .markdown-renderer ul {
1207
+ padding-left: 0;
1208
+ list-style-type: disc;
1209
+ list-style-position: inside;
1210
+ }
1211
+ .markdown-renderer ol {
1212
+ padding-left: 0;
1213
+ list-style-type: decimal;
1214
+ list-style-position: inside;
1215
+ }
1216
+ .appear {
1217
+ transform-origin: top;
1218
+ opacity: 0;
1219
+ animation: 0.5s ease-in-out forwards appear;
1220
+ transform: scaleY(0) translateY(20px);
1221
+ }
1222
+ @keyframes appear {
1223
+ 0% {
1224
+ opacity: 0;
1225
+ transform: scaleY(0) translateY(20px);
1226
+ }
1227
+ to {
1228
+ opacity: 1;
1229
+ transform: scaleY(1) translateY(0);
1230
+ }
1231
+ }
1121
1232
  @property --tw-translate-x {
1122
1233
  syntax: "*";
1123
1234
  inherits: false;
@@ -1215,10 +1326,6 @@ h1 {
1215
1326
  inherits: false;
1216
1327
  initial-value: 100%;
1217
1328
  }
1218
- @property --tw-leading {
1219
- syntax: "*";
1220
- inherits: false;
1221
- }
1222
1329
  @property --tw-font-weight {
1223
1330
  syntax: "*";
1224
1331
  inherits: false;
@@ -10,8 +10,8 @@
10
10
  />
11
11
 
12
12
  <title>Learnpack Creator: Craft tutorials in seconds!</title>
13
- <script type="module" crossorigin src="/creator/assets/index-WzdhAujs.js"></script>
14
- <link rel="stylesheet" crossorigin href="/creator/assets/index-BJ2JJzVC.css">
13
+ <script type="module" crossorigin src="/creator/assets/index-D15TgYvM.js"></script>
14
+ <link rel="stylesheet" crossorigin href="/creator/assets/index-ldEC0yWM.css">
15
15
  </head>
16
16
  <body>
17
17
  <div id="root"></div>
package/lib/utils/api.js CHANGED
@@ -273,14 +273,6 @@ const getConsumable = async (token, consumableSlug = "ai-generation") => {
273
273
  }
274
274
  };
275
275
  exports.getConsumable = getConsumable;
276
- const with_crud_asset_roles = new Set([
277
- "content_writer",
278
- "syllabus_coordinator",
279
- "country_manager",
280
- "carrer_support_head",
281
- "admin",
282
- "student",
283
- ]);
284
276
  const neededPermissions = [
285
277
  "add_asset",
286
278
  "change_asset",
@@ -1 +1 @@
1
- {"version":"5.0.81","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":[]}}}
1
+ {"version":"5.0.85","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.81",
4
+ "version": "5.0.85",
5
5
  "author": "Alejandro Sanchez @alesanchezr",
6
6
  "contributors": [
7
7
  {