openlearn-next 0.3.1 → 0.3.2
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/cli.mjs +2 -0
- package/dist/assets/{BatchPickerModal-of9a5EJz.js → BatchPickerModal-VYKUF5TC.js} +1 -1
- package/dist/assets/{ClassesView-CefnsjZ8.js → ClassesView-dDPegGIu.js} +1 -1
- package/dist/assets/{CloudDriveModal-DgVQLbO5.js → CloudDriveModal-DiEEoAK5.js} +1 -1
- package/dist/assets/{CourseManagement-Cxhc784Q.js → CourseManagement-Dys0J3Xl.js} +1 -1
- package/dist/assets/{CourseWizardModal-Da6PKhnU.js → CourseWizardModal-DFZzYcbL.js} +1 -1
- package/dist/assets/{Dashboard-LWbFbup4.js → Dashboard-Bnxuy2BQ.js} +1 -1
- package/dist/assets/{ExportWeightModal-Cyg1zMEd.js → ExportWeightModal-DPriCEO9.js} +1 -1
- package/dist/assets/{HelpView-CvpgBpdr.js → HelpView-CTErIWbE.js} +1 -1
- package/dist/assets/{ImportLessonsModal-CfWIrW1K.js → ImportLessonsModal-BleM5Z-r.js} +1 -1
- package/dist/assets/{InteractiveCoursewareViewer-CS5BqfJZ.js → InteractiveCoursewareViewer-DBCbyDmo.js} +1 -1
- package/dist/assets/{InteractiveWhiteboard-U23CsqGo.js → InteractiveWhiteboard-DnnYVSpP.js} +1 -1
- package/dist/assets/{LazyCourseware-DXL9IxZO.js → LazyCourseware-BtliMSwD.js} +1 -1
- package/dist/assets/{LazyWhiteboard-CtkzSFtN.js → LazyWhiteboard-D_U3t5Ft.js} +1 -1
- package/dist/assets/{LessonEditorView-Bfxf4VVB.js → LessonEditorView-Lejw223i.js} +1 -1
- package/dist/assets/{LiveClassroomView-DHzCM4qQ.js → LiveClassroomView-DW7gWs1X.js} +1 -1
- package/dist/assets/{NotificationDetailModal-BxrpnlWV.js → NotificationDetailModal-me41YjnW.js} +1 -1
- package/dist/assets/{PluginView-12qYzmnq.js → PluginView-pof_3sut.js} +1 -1
- package/dist/assets/{QuizGeneratorModal-DfZI40Ii.js → QuizGeneratorModal-UEVoYkB6.js} +1 -1
- package/dist/assets/{StudentAssignmentView-BP6zbHuM.js → StudentAssignmentView-BTfMYbmx.js} +1 -1
- package/dist/assets/{StudentLessonView-DEpMzrH2.js → StudentLessonView-Bb5HQ6Kx.js} +1 -1
- package/dist/assets/{StudentPreviewModal-DCmai53s.js → StudentPreviewModal-Bx86ogm7.js} +1 -1
- package/dist/assets/{StudentView-CcGlfW25.js → StudentView-5bdEpjwh.js} +1 -1
- package/dist/assets/{SystemResourceLibraryModal-BzHw1edT.js → SystemResourceLibraryModal-CRsieL1o.js} +1 -1
- package/dist/assets/{TeacherView-Dw6mKwcv.js → TeacherView-DCTHvypF.js} +1 -1
- package/dist/assets/{index-C8sCKzmN.js → index-Bve0X_Y7.js} +1 -1
- package/dist/assets/{index-CYzNsYZB.js → index-CerSuw-h.js} +3 -3
- package/dist/index.html +1 -1
- package/dist/server.cjs +5 -5
- package/package.json +2 -2
package/dist/index.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
</script>
|
|
18
|
-
<script type="module" crossorigin src="/assets/index-
|
|
18
|
+
<script type="module" crossorigin src="/assets/index-CerSuw-h.js"></script>
|
|
19
19
|
<link rel="stylesheet" crossorigin href="/assets/index-B-YxO39A.css">
|
|
20
20
|
</head>
|
|
21
21
|
<body>
|
package/dist/server.cjs
CHANGED
|
@@ -3337,7 +3337,6 @@ var import_express3 = __toESM(require("express"), 1);
|
|
|
3337
3337
|
var import_path15 = __toESM(require("path"), 1);
|
|
3338
3338
|
var import_fs14 = __toESM(require("fs"), 1);
|
|
3339
3339
|
var import_dotenv = __toESM(require("dotenv"), 1);
|
|
3340
|
-
var import_vite = require("vite");
|
|
3341
3340
|
var import_http = require("http");
|
|
3342
3341
|
var import_socket = require("socket.io");
|
|
3343
3342
|
|
|
@@ -7678,7 +7677,6 @@ var import_express = __toESM(require("express"), 1);
|
|
|
7678
7677
|
var import_node_url = require("node:url");
|
|
7679
7678
|
|
|
7680
7679
|
// packages/core/esm-loader/install-utils.ts
|
|
7681
|
-
var esbuild = __toESM(require("esbuild"), 1);
|
|
7682
7680
|
var import_jszip = __toESM(require("jszip"), 1);
|
|
7683
7681
|
var fs3 = __toESM(require("fs"), 1);
|
|
7684
7682
|
var os2 = __toESM(require("os"), 1);
|
|
@@ -7686,6 +7684,7 @@ var path4 = __toESM(require("path"), 1);
|
|
|
7686
7684
|
var import_uuid10 = require("uuid");
|
|
7687
7685
|
var MAX_UNCOMPRESSED_SIZE = 300 * 1024 * 1024;
|
|
7688
7686
|
async function bundlePlugin(entryCode, resolveDir) {
|
|
7687
|
+
const esbuild = await import("esbuild");
|
|
7689
7688
|
const result = await esbuild.build({
|
|
7690
7689
|
stdin: {
|
|
7691
7690
|
contents: entryCode,
|
|
@@ -7701,8 +7700,8 @@ async function bundlePlugin(entryCode, resolveDir) {
|
|
|
7701
7700
|
plugins: [
|
|
7702
7701
|
{
|
|
7703
7702
|
name: "openlearn-token-enforcer",
|
|
7704
|
-
setup(
|
|
7705
|
-
|
|
7703
|
+
setup(build) {
|
|
7704
|
+
build.onResolve({ filter: /.*/ }, (args) => {
|
|
7706
7705
|
if (args.path.includes("core/di/interfaces")) {
|
|
7707
7706
|
const tsPath = path4.resolve(process.cwd(), "packages/core/di/interfaces.ts");
|
|
7708
7707
|
if (fs3.existsSync(tsPath)) {
|
|
@@ -24640,7 +24639,8 @@ async function startServer() {
|
|
|
24640
24639
|
setupRealtimeBridge({ eventBus: kernelContainer.eventBus, io, db: kernelContainer.db });
|
|
24641
24640
|
setupPresence({ io, eventBus: kernelContainer.eventBus });
|
|
24642
24641
|
if (process.env.NODE_ENV !== "production") {
|
|
24643
|
-
const
|
|
24642
|
+
const { createServer: createViteServer } = await import("vite");
|
|
24643
|
+
const vite = await createViteServer({
|
|
24644
24644
|
server: {
|
|
24645
24645
|
middlewareMode: true,
|
|
24646
24646
|
hmr: process.env.DISABLE_HMR !== "true",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openlearn-next",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A plugin-driven Educational OS / LMS platform with AI agent teaching assistant",
|
|
6
6
|
"keywords": [
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"better-sqlite3": "^12.11.1",
|
|
62
62
|
"chokidar": "^5.0.0",
|
|
63
63
|
"dotenv": "^17.2.3",
|
|
64
|
+
"esbuild": "^0.25.0",
|
|
64
65
|
"express": "^4.21.2",
|
|
65
66
|
"express-rate-limit": "^8.5.2",
|
|
66
67
|
"helmet": "^8.2.0",
|
|
@@ -106,7 +107,6 @@
|
|
|
106
107
|
"@typescript-eslint/parser": "^8.62.0",
|
|
107
108
|
"@vitejs/plugin-react": "^5.0.4",
|
|
108
109
|
"autoprefixer": "^10.4.21",
|
|
109
|
-
"esbuild": "^0.25.0",
|
|
110
110
|
"eslint": "^10.5.0",
|
|
111
111
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
112
112
|
"globals": "^17.8.0",
|