@learnpack/learnpack 5.0.83 → 5.0.87

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 (29) hide show
  1. package/README.md +13 -13
  2. package/lib/creatorDist/assets/{index-CwPh6b6M.js → index-BuYPhmTd.js} +38848 -31631
  3. package/lib/creatorDist/assets/{index-DSLkFVbA.css → index-ldEC0yWM.css} +125 -46
  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 +12 -6
  11. package/src/creator/src/components/FileCard.tsx +22 -0
  12. package/src/creator/src/components/LessonItem.tsx +20 -9
  13. package/src/creator/src/components/Login.tsx +6 -24
  14. package/src/creator/src/components/MarkdownRenderer.tsx +11 -0
  15. package/src/creator/src/components/Message.tsx +4 -2
  16. package/src/creator/src/components/syllabus/ContentIndex.tsx +46 -64
  17. package/src/creator/src/components/syllabus/Sidebar.tsx +21 -19
  18. package/src/creator/src/components/syllabus/SyllabusEditor.tsx +62 -33
  19. package/src/creator/src/index.css +40 -0
  20. package/src/creator/src/utils/creatorUtils.ts +5 -1
  21. package/src/creator/src/utils/lib.ts +20 -10
  22. package/src/creator/src/utils/store.ts +31 -22
  23. package/src/creatorDist/assets/{index-CwPh6b6M.js → index-BuYPhmTd.js} +38848 -31631
  24. package/src/creatorDist/assets/{index-DSLkFVbA.css → index-ldEC0yWM.css} +125 -46
  25. package/src/creatorDist/index.html +2 -2
  26. package/src/ui/_app/app.css +1 -1
  27. package/src/ui/_app/app.js +344 -344
  28. package/src/ui/app.tar.gz +0 -0
  29. 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,12 +393,15 @@
398
393
  .bottom-2 {
399
394
  bottom: calc(var(--spacing) * 2);
400
395
  }
401
- .bottom-3 {
402
- bottom: calc(var(--spacing) * 3);
403
- }
404
396
  .bottom-5 {
405
397
  bottom: calc(var(--spacing) * 5);
406
398
  }
399
+ .bottom-10 {
400
+ bottom: calc(var(--spacing) * 10);
401
+ }
402
+ .bottom-\[100\%\] {
403
+ bottom: 100%;
404
+ }
407
405
  .left-0 {
408
406
  left: calc(var(--spacing) * 0);
409
407
  }
@@ -477,9 +475,6 @@
477
475
  .mr-1 {
478
476
  margin-right: calc(var(--spacing) * 1);
479
477
  }
480
- .mr-4 {
481
- margin-right: calc(var(--spacing) * 4);
482
- }
483
478
  .mb-2 {
484
479
  margin-bottom: calc(var(--spacing) * 2);
485
480
  }
@@ -507,15 +502,9 @@
507
502
  .inline-block {
508
503
  display: inline-block;
509
504
  }
510
- .inline-flex {
511
- display: inline-flex;
512
- }
513
505
  .h-2 {
514
506
  height: calc(var(--spacing) * 2);
515
507
  }
516
- .h-3 {
517
- height: calc(var(--spacing) * 3);
518
- }
519
508
  .h-6 {
520
509
  height: calc(var(--spacing) * 6);
521
510
  }
@@ -543,14 +532,14 @@
543
532
  .h-screen {
544
533
  height: 100vh;
545
534
  }
546
- .max-h-\[75vh\] {
547
- max-height: 75vh;
535
+ .max-h-\[78vh\] {
536
+ max-height: 78vh;
548
537
  }
549
538
  .max-h-\[300px\] {
550
539
  max-height: 300px;
551
540
  }
552
- .min-h-\[70vh\] {
553
- min-height: 70vh;
541
+ .min-h-\[69vh\] {
542
+ min-height: 69vh;
554
543
  }
555
544
  .min-h-screen {
556
545
  min-height: 100vh;
@@ -558,9 +547,6 @@
558
547
  .w-2 {
559
548
  width: calc(var(--spacing) * 2);
560
549
  }
561
- .w-3 {
562
- width: calc(var(--spacing) * 3);
563
- }
564
550
  .w-4\/5 {
565
551
  width: 80%;
566
552
  }
@@ -573,6 +559,9 @@
573
559
  .w-20 {
574
560
  width: calc(var(--spacing) * 20);
575
561
  }
562
+ .w-\[100px\] {
563
+ width: 100px;
564
+ }
576
565
  .w-full {
577
566
  width: 100%;
578
567
  }
@@ -685,9 +674,17 @@
685
674
  calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse))
686
675
  );
687
676
  }
677
+ .truncate {
678
+ text-overflow: ellipsis;
679
+ white-space: nowrap;
680
+ overflow: hidden;
681
+ }
688
682
  .overflow-hidden {
689
683
  overflow: hidden;
690
684
  }
685
+ .overflow-x-auto {
686
+ overflow-x: auto;
687
+ }
691
688
  .overflow-y-auto {
692
689
  overflow-y: auto;
693
690
  }
@@ -757,9 +754,6 @@
757
754
  .bg-blue-100 {
758
755
  background-color: var(--color-blue-100);
759
756
  }
760
- .bg-blue-200 {
761
- background-color: var(--color-blue-200);
762
- }
763
757
  .bg-blue-400 {
764
758
  background-color: var(--color-blue-400);
765
759
  }
@@ -836,8 +830,11 @@
836
830
  .pr-2 {
837
831
  padding-right: calc(var(--spacing) * 2);
838
832
  }
839
- .pb-5 {
840
- 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);
841
838
  }
842
839
  .pb-32 {
843
840
  padding-bottom: calc(var(--spacing) * 32);
@@ -863,12 +860,9 @@
863
860
  font-size: var(--text-sm);
864
861
  line-height: var(--tw-leading, var(--text-sm--line-height));
865
862
  }
866
- .text-\[10px\] {
867
- font-size: 10px;
868
- }
869
- .leading-relaxed {
870
- --tw-leading: var(--leading-relaxed);
871
- 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));
872
866
  }
873
867
  .font-bold {
874
868
  --tw-font-weight: var(--font-weight-bold);
@@ -882,6 +876,9 @@
882
876
  --tw-font-weight: var(--font-weight-semibold);
883
877
  font-weight: var(--font-weight-semibold);
884
878
  }
879
+ .break-words {
880
+ overflow-wrap: break-word;
881
+ }
885
882
  .whitespace-pre-line {
886
883
  white-space: pre-line;
887
884
  }
@@ -958,6 +955,16 @@
958
955
  );
959
956
  transition-duration: var(--tw-duration, var(--default-transition-duration));
960
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
+ }
961
968
  .transition-transform {
962
969
  transition-property: transform, translate, scale, rotate;
963
970
  transition-timing-function: var(
@@ -987,9 +994,6 @@
987
994
  .hover\:bg-gray-300:hover {
988
995
  background-color: var(--color-gray-300);
989
996
  }
990
- .hover\:bg-red-300:hover {
991
- background-color: var(--color-red-300);
992
- }
993
997
  .hover\:text-blue-500:hover {
994
998
  color: var(--color-blue-500);
995
999
  }
@@ -1012,10 +1016,54 @@
1012
1016
  .disabled\:opacity-40:disabled {
1013
1017
  opacity: 0.4;
1014
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
+ }
1015
1056
  @media (min-width: 48rem) {
1016
1057
  .md\:flex-row {
1017
1058
  flex-direction: row;
1018
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
+ }
1019
1067
  }
1020
1068
  @media (min-width: 64rem) {
1021
1069
  .lg\:relative {
@@ -1034,6 +1082,9 @@
1034
1082
  .lg\:transform-none {
1035
1083
  transform: none;
1036
1084
  }
1085
+ .lg\:p-8 {
1086
+ padding: calc(var(--spacing) * 8);
1087
+ }
1037
1088
  }
1038
1089
  }
1039
1090
  :root {
@@ -1146,6 +1197,38 @@ h1 {
1146
1197
  width: 100%;
1147
1198
  height: 100%;
1148
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
+ }
1149
1232
  @property --tw-translate-x {
1150
1233
  syntax: "*";
1151
1234
  inherits: false;
@@ -1243,10 +1326,6 @@ h1 {
1243
1326
  inherits: false;
1244
1327
  initial-value: 100%;
1245
1328
  }
1246
- @property --tw-leading {
1247
- syntax: "*";
1248
- inherits: false;
1249
- }
1250
1329
  @property --tw-font-weight {
1251
1330
  syntax: "*";
1252
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-CwPh6b6M.js"></script>
14
- <link rel="stylesheet" crossorigin href="/creator/assets/index-DSLkFVbA.css">
13
+ <script type="module" crossorigin src="/creator/assets/index-BuYPhmTd.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.83","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.87","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.83",
4
+ "version": "5.0.87",
5
5
  "author": "Alejandro Sanchez @alesanchezr",
6
6
  "contributors": [
7
7
  {