@digabi/exam-engine-cli 22.0.4-alpha.1 → 22.0.4-editor-ee-to-em.1
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@digabi/exam-engine-cli",
|
3
|
-
"version": "22.0.4-
|
3
|
+
"version": "22.0.4-editor-ee-to-em.1",
|
4
4
|
"main": "index.js",
|
5
5
|
"license": "EUPL-1.1",
|
6
6
|
"files": [
|
@@ -10,13 +10,13 @@
|
|
10
10
|
"ee": "./dist/index.js"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
|
-
"@digabi/exam-engine-mastering": "22.0.4-
|
14
|
-
"@digabi/exam-engine-rendering": "22.0.4-
|
13
|
+
"@digabi/exam-engine-mastering": "22.0.4-editor-ee-to-em.1",
|
14
|
+
"@digabi/exam-engine-rendering": "22.0.4-editor-ee-to-em.1",
|
15
15
|
"lodash": "^4.17.15",
|
16
16
|
"ora": "^5.0.0",
|
17
17
|
"rich-text-editor": "^7.2.3",
|
18
18
|
"uuid": "^10.0.0",
|
19
19
|
"yargs": "^17.0.1"
|
20
20
|
},
|
21
|
-
"gitHead": "
|
21
|
+
"gitHead": "9547fd02e0cc1dc0edf1c138758373081e6196dd"
|
22
22
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"preview-edit.d.ts","sourceRoot":"","sources":["../../src/commands/preview-edit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEzB,wBAA8B,OAAO,CAAC,EACpC,IAAI,EACJ,IAAI,EACJ,OAAO,EACR,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,GAAG,CAAA;CACb,GAAG,OAAO,CAAC,MAAM,CAAC,CASlB"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.default = preview;
|
4
|
-
const exam_engine_rendering_1 = require("@digabi/exam-engine-rendering");
|
5
|
-
async function preview({ exam, port, spinner }) {
|
6
|
-
spinner.start(`Previewing ${exam}...`);
|
7
|
-
const ctx = await (0, exam_engine_rendering_1.previewExam)(exam, {
|
8
|
-
openBrowser: !process.env.DISABLE_BROWSER,
|
9
|
-
port: port,
|
10
|
-
editableGradingInstructions: true
|
11
|
-
});
|
12
|
-
spinner.info(`Server is running at ${ctx.url}`);
|
13
|
-
return `Press Ctrl-C to stop`;
|
14
|
-
}
|
15
|
-
//# sourceMappingURL=preview-edit.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"preview-edit.js","sourceRoot":"","sources":["../../src/commands/preview-edit.ts"],"names":[],"mappings":";;AAGA,0BAiBC;AApBD,yEAA2D;AAG5C,KAAK,UAAU,OAAO,CAAC,EACpC,IAAI,EACJ,IAAI,EACJ,OAAO,EAKR;IACC,OAAO,CAAC,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,CAAA;IACtC,MAAM,GAAG,GAAG,MAAM,IAAA,mCAAW,EAAC,IAAI,EAAE;QAClC,WAAW,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe;QACzC,IAAI,EAAE,IAAI;QACV,2BAA2B,EAAE,IAAI;KAClC,CAAC,CAAA;IACF,OAAO,CAAC,IAAI,CAAC,wBAAwB,GAAG,CAAC,GAAG,EAAE,CAAC,CAAA;IAC/C,OAAO,sBAAsB,CAAA;AAC/B,CAAC"}
|