@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.
- package/README.md +409 -409
- package/lib/commands/audit.js +15 -15
- package/lib/commands/breakToken.js +19 -19
- package/lib/commands/clean.js +3 -3
- package/lib/commands/logout.js +3 -3
- package/lib/commands/serve.js +31 -11
- package/lib/creatorDist/assets/{index-D25zkBaN.js → index-DoYRptnk.js} +11875 -11992
- package/lib/creatorDist/index.html +1 -1
- package/lib/managers/config/index.js +77 -77
- package/lib/utils/creatorUtilities.js +14 -14
- package/lib/utils/templates/isolated/exercises/01-hello-world/README.es.md +26 -26
- package/lib/utils/templates/isolated/exercises/01-hello-world/README.md +26 -26
- package/lib/utils/templates/scorm/adlcp_rootv1p2.xsd +110 -110
- package/lib/utils/templates/scorm/config/index.html +209 -209
- package/lib/utils/templates/scorm/ims_xml.xsd +1 -1
- package/lib/utils/templates/scorm/imscp_rootv1p1p2.xsd +345 -345
- package/lib/utils/templates/scorm/imsmanifest.xml +38 -38
- package/lib/utils/templates/scorm/imsmd_rootv1p2p1.xsd +573 -573
- package/package.json +1 -1
- package/src/commands/audit.ts +487 -487
- package/src/commands/breakToken.ts +67 -67
- package/src/commands/clean.ts +30 -30
- package/src/commands/logout.ts +38 -38
- package/src/commands/serve.ts +47 -25
- package/src/commands/start.ts +333 -333
- package/src/commands/translate.ts +123 -123
- package/src/creator/README.md +54 -54
- package/src/creator/package-lock.json +6621 -6621
- package/src/creator/package.json +55 -55
- package/src/creator/src/App.tsx +569 -569
- package/src/creator/src/components/FileUploader.tsx +302 -302
- package/src/creator/src/components/Icon.tsx +18 -18
- package/src/creator/src/components/LessonItem.tsx +152 -152
- package/src/creator/src/components/Login.tsx +259 -259
- package/src/creator/src/components/syllabus/ContentIndex.tsx +323 -323
- package/src/creator/src/components/syllabus/SyllabusEditor.tsx +337 -337
- package/src/creator/src/i18n.ts +28 -28
- package/src/creator/src/locales/en.json +127 -127
- package/src/creator/src/locales/es.json +127 -127
- package/src/creator/src/utils/configTypes.ts +122 -122
- package/src/creator/src/utils/constants.ts +13 -13
- package/src/creator/src/utils/creatorUtils.ts +46 -46
- package/src/creator/src/utils/eventBus.ts +2 -2
- package/src/creator/src/utils/socket.ts +61 -61
- package/src/creator/src/utils/store.ts +222 -222
- package/src/creator/src/vite-env.d.ts +1 -1
- package/src/creator/vite.config.ts +13 -13
- package/src/creatorDist/assets/{index-D25zkBaN.js → index-DoYRptnk.js} +11875 -11992
- package/src/creatorDist/index.html +1 -1
- package/src/managers/config/defaults.ts +49 -49
- package/src/managers/config/exercise.ts +364 -364
- package/src/managers/config/index.ts +775 -775
- package/src/managers/file.ts +236 -236
- package/src/managers/server/routes.ts +554 -554
- package/src/managers/telemetry.ts +188 -188
- package/src/models/action.ts +13 -13
- package/src/models/config-manager.ts +28 -28
- package/src/models/config.ts +106 -106
- package/src/models/exercise-obj.ts +30 -30
- package/src/models/session.ts +39 -39
- package/src/models/socket.ts +61 -61
- package/src/models/status.ts +16 -16
- package/src/utils/BaseCommand.ts +56 -56
- package/src/utils/audit.ts +392 -392
- package/src/utils/checkNotInstalled.ts +267 -267
- package/src/utils/convertCreds.js +34 -34
- package/src/utils/creatorUtilities.ts +504 -504
- package/src/utils/export/README.md +178 -178
- package/src/utils/incrementVersion.js +74 -74
- package/src/utils/misc.ts +58 -58
- package/src/utils/sidebarGenerator.ts +195 -195
- package/src/utils/templates/isolated/exercises/01-hello-world/README.es.md +26 -26
- package/src/utils/templates/isolated/exercises/01-hello-world/README.md +26 -26
- package/src/utils/templates/scorm/adlcp_rootv1p2.xsd +110 -110
- package/src/utils/templates/scorm/config/index.html +209 -209
- package/src/utils/templates/scorm/ims_xml.xsd +1 -1
- package/src/utils/templates/scorm/imscp_rootv1p1p2.xsd +345 -345
- package/src/utils/templates/scorm/imsmanifest.xml +38 -38
- package/src/utils/templates/scorm/imsmd_rootv1p2p1.xsd +573 -573
package/src/creator/package.json
CHANGED
@@ -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
|
+
}
|