@learnpack/learnpack 5.0.298 → 5.0.300

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 (79) hide show
  1. package/README.md +409 -409
  2. package/lib/commands/audit.js +15 -15
  3. package/lib/commands/breakToken.js +19 -19
  4. package/lib/commands/clean.js +3 -3
  5. package/lib/commands/logout.js +3 -3
  6. package/lib/commands/serve.js +31 -11
  7. package/lib/creatorDist/assets/{index-D25zkBaN.js → index-DoYRptnk.js} +11875 -11992
  8. package/lib/creatorDist/index.html +1 -1
  9. package/lib/managers/config/index.js +77 -77
  10. package/lib/utils/creatorUtilities.js +14 -14
  11. package/lib/utils/templates/isolated/exercises/01-hello-world/README.es.md +26 -26
  12. package/lib/utils/templates/isolated/exercises/01-hello-world/README.md +26 -26
  13. package/lib/utils/templates/scorm/adlcp_rootv1p2.xsd +110 -110
  14. package/lib/utils/templates/scorm/config/index.html +209 -209
  15. package/lib/utils/templates/scorm/ims_xml.xsd +1 -1
  16. package/lib/utils/templates/scorm/imscp_rootv1p1p2.xsd +345 -345
  17. package/lib/utils/templates/scorm/imsmanifest.xml +38 -38
  18. package/lib/utils/templates/scorm/imsmd_rootv1p2p1.xsd +573 -573
  19. package/package.json +1 -1
  20. package/src/commands/audit.ts +487 -487
  21. package/src/commands/breakToken.ts +67 -67
  22. package/src/commands/clean.ts +30 -30
  23. package/src/commands/logout.ts +38 -38
  24. package/src/commands/serve.ts +47 -25
  25. package/src/commands/start.ts +333 -333
  26. package/src/commands/translate.ts +123 -123
  27. package/src/creator/README.md +54 -54
  28. package/src/creator/package-lock.json +6621 -6621
  29. package/src/creator/package.json +55 -55
  30. package/src/creator/src/App.tsx +569 -569
  31. package/src/creator/src/components/FileUploader.tsx +302 -302
  32. package/src/creator/src/components/Icon.tsx +18 -18
  33. package/src/creator/src/components/LessonItem.tsx +152 -152
  34. package/src/creator/src/components/Login.tsx +259 -259
  35. package/src/creator/src/components/syllabus/ContentIndex.tsx +323 -323
  36. package/src/creator/src/components/syllabus/SyllabusEditor.tsx +337 -337
  37. package/src/creator/src/i18n.ts +28 -28
  38. package/src/creator/src/locales/en.json +127 -127
  39. package/src/creator/src/locales/es.json +127 -127
  40. package/src/creator/src/utils/configTypes.ts +122 -122
  41. package/src/creator/src/utils/constants.ts +13 -13
  42. package/src/creator/src/utils/creatorUtils.ts +46 -46
  43. package/src/creator/src/utils/eventBus.ts +2 -2
  44. package/src/creator/src/utils/socket.ts +61 -61
  45. package/src/creator/src/utils/store.ts +222 -222
  46. package/src/creator/src/vite-env.d.ts +1 -1
  47. package/src/creator/vite.config.ts +13 -13
  48. package/src/creatorDist/assets/{index-D25zkBaN.js → index-DoYRptnk.js} +11875 -11992
  49. package/src/creatorDist/index.html +1 -1
  50. package/src/managers/config/defaults.ts +49 -49
  51. package/src/managers/config/exercise.ts +364 -364
  52. package/src/managers/config/index.ts +775 -775
  53. package/src/managers/file.ts +236 -236
  54. package/src/managers/server/routes.ts +554 -554
  55. package/src/managers/telemetry.ts +188 -188
  56. package/src/models/action.ts +13 -13
  57. package/src/models/config-manager.ts +28 -28
  58. package/src/models/config.ts +106 -106
  59. package/src/models/exercise-obj.ts +30 -30
  60. package/src/models/session.ts +39 -39
  61. package/src/models/socket.ts +61 -61
  62. package/src/models/status.ts +16 -16
  63. package/src/utils/BaseCommand.ts +56 -56
  64. package/src/utils/audit.ts +392 -392
  65. package/src/utils/checkNotInstalled.ts +267 -267
  66. package/src/utils/convertCreds.js +34 -34
  67. package/src/utils/creatorUtilities.ts +504 -504
  68. package/src/utils/export/README.md +178 -178
  69. package/src/utils/incrementVersion.js +74 -74
  70. package/src/utils/misc.ts +58 -58
  71. package/src/utils/sidebarGenerator.ts +195 -195
  72. package/src/utils/templates/isolated/exercises/01-hello-world/README.es.md +26 -26
  73. package/src/utils/templates/isolated/exercises/01-hello-world/README.md +26 -26
  74. package/src/utils/templates/scorm/adlcp_rootv1p2.xsd +110 -110
  75. package/src/utils/templates/scorm/config/index.html +209 -209
  76. package/src/utils/templates/scorm/ims_xml.xsd +1 -1
  77. package/src/utils/templates/scorm/imscp_rootv1p1p2.xsd +345 -345
  78. package/src/utils/templates/scorm/imsmanifest.xml +38 -38
  79. package/src/utils/templates/scorm/imsmd_rootv1p2p1.xsd +573 -573
@@ -1,55 +1,55 @@
1
- {
2
- "name": "creator",
3
- "private": true,
4
- "version": "0.0.0",
5
- "type": "module",
6
- "scripts": {
7
- "dev": "vite",
8
- "build": "tsc -b && vite build",
9
- "lint": "eslint .",
10
- "preview": "vite preview",
11
- "watch": "vite build --watch"
12
- },
13
- "dependencies": {
14
- "@google-cloud/storage": "^7.16.0",
15
- "@tailwindcss/vite": "^4.1.3",
16
- "axios": "^1.8.4",
17
- "framer-motion": "^12.9.2",
18
- "franc": "^6.2.0",
19
- "front-matter": "^4.0.2",
20
- "html2canvas": "^1.4.1",
21
- "i18next": "^25.2.1",
22
- "i18next-browser-languagedetector": "^8.2.0",
23
- "js-yaml": "^4.1.0",
24
- "lucide-react": "^0.545.0",
25
- "mammoth": "^1.9.0",
26
- "mitt": "^3.0.1",
27
- "pdfjs-dist": "^5.1.91",
28
- "react": "^19.0.0",
29
- "react-dom": "^19.0.0",
30
- "react-hot-toast": "^2.5.2",
31
- "react-i18next": "^15.5.2",
32
- "react-markdown": "^10.1.0",
33
- "react-router": "^7.5.0",
34
- "socket.io-client": "^4.8.1",
35
- "syllable": "^5.0.1",
36
- "youtube-transcript": "^1.2.1",
37
- "zustand": "^5.0.3"
38
- },
39
- "devDependencies": {
40
- "@eslint/js": "^9.21.0",
41
- "@types/react": "^19.0.10",
42
- "@types/react-dom": "^19.0.4",
43
- "@vitejs/plugin-react-swc": "^3.8.0",
44
- "autoprefixer": "^10.4.21",
45
- "eslint": "^9.21.0",
46
- "eslint-plugin-react-hooks": "^5.1.0",
47
- "eslint-plugin-react-refresh": "^0.4.19",
48
- "globals": "^15.15.0",
49
- "postcss": "^8.5.3",
50
- "tailwindcss": "^4.1.3",
51
- "typescript": "~5.7.2",
52
- "typescript-eslint": "^8.24.1",
53
- "vite": "^6.2.0"
54
- }
55
- }
1
+ {
2
+ "name": "creator",
3
+ "private": true,
4
+ "version": "0.0.0",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "tsc -b && vite build",
9
+ "lint": "eslint .",
10
+ "preview": "vite preview",
11
+ "watch": "vite build --watch"
12
+ },
13
+ "dependencies": {
14
+ "@google-cloud/storage": "^7.16.0",
15
+ "@tailwindcss/vite": "^4.1.3",
16
+ "axios": "^1.8.4",
17
+ "framer-motion": "^12.9.2",
18
+ "franc": "^6.2.0",
19
+ "front-matter": "^4.0.2",
20
+ "html2canvas": "^1.4.1",
21
+ "i18next": "^25.2.1",
22
+ "i18next-browser-languagedetector": "^8.2.0",
23
+ "js-yaml": "^4.1.0",
24
+ "lucide-react": "^0.545.0",
25
+ "mammoth": "^1.9.0",
26
+ "mitt": "^3.0.1",
27
+ "pdfjs-dist": "^5.1.91",
28
+ "react": "^19.0.0",
29
+ "react-dom": "^19.0.0",
30
+ "react-hot-toast": "^2.5.2",
31
+ "react-i18next": "^15.5.2",
32
+ "react-markdown": "^10.1.0",
33
+ "react-router": "^7.5.0",
34
+ "socket.io-client": "^4.8.1",
35
+ "syllable": "^5.0.1",
36
+ "youtube-transcript": "^1.2.1",
37
+ "zustand": "^5.0.3"
38
+ },
39
+ "devDependencies": {
40
+ "@eslint/js": "^9.21.0",
41
+ "@types/react": "^19.0.10",
42
+ "@types/react-dom": "^19.0.4",
43
+ "@vitejs/plugin-react-swc": "^3.8.0",
44
+ "autoprefixer": "^10.4.21",
45
+ "eslint": "^9.21.0",
46
+ "eslint-plugin-react-hooks": "^5.1.0",
47
+ "eslint-plugin-react-refresh": "^0.4.19",
48
+ "globals": "^15.15.0",
49
+ "postcss": "^8.5.3",
50
+ "tailwindcss": "^4.1.3",
51
+ "typescript": "~5.7.2",
52
+ "typescript-eslint": "^8.24.1",
53
+ "vite": "^6.2.0"
54
+ }
55
+ }