@lessonkit/lxpack 0.7.0 → 0.8.0
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 +9 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
# @lessonkit/lxpack
|
|
2
2
|
|
|
3
|
+
[](https://lessonkit.readthedocs.io/en/latest/)
|
|
4
|
+
[](https://www.npmjs.com/package/@lessonkit/lxpack)
|
|
5
|
+
[](https://github.com/eddiethedean/lessonkit/blob/main/LICENSE)
|
|
6
|
+
|
|
3
7
|
LXPack export adapter for LessonKit — write `lessonkit.json` + `course.yaml`, copy SPA builds, and package to SCORM / standalone / xAPI / cmi5 via [`@lxpack/api`](https://www.npmjs.com/package/@lxpack/api).
|
|
4
8
|
|
|
5
9
|
Requires **Node.js 20+**.
|
|
6
10
|
|
|
11
|
+
**Docs:** [Packaging reference](https://lessonkit.readthedocs.io/en/latest/reference/packaging.html) · [Packaging & CLI guide](https://lessonkit.readthedocs.io/en/latest/guides/react-developers/packaging-and-cli.html) · [Live examples](https://lessonkit.readthedocs.io/en/latest/examples/index.html)
|
|
12
|
+
|
|
7
13
|
## Install
|
|
8
14
|
|
|
9
15
|
```bash
|
|
@@ -27,7 +33,7 @@ const result = await packageLessonkitCourse({
|
|
|
27
33
|
if (!result.ok) throw new Error("packaging failed");
|
|
28
34
|
```
|
|
29
35
|
|
|
30
|
-
See [
|
|
36
|
+
See the [packaging reference](https://lessonkit.readthedocs.io/en/latest/reference/packaging.html) and the [`examples/lxpack-golden`](https://github.com/eddiethedean/lessonkit/tree/main/examples/lxpack-golden) course.
|
|
31
37
|
|
|
32
38
|
## Browser bridge
|
|
33
39
|
|
|
@@ -38,3 +44,5 @@ import { notifyLxpackLessonComplete } from "@lessonkit/lxpack/bridge";
|
|
|
38
44
|
```
|
|
39
45
|
|
|
40
46
|
`@lessonkit/react` forwards `lesson_completed`, `course_completed`, and `quiz_completed` automatically when `window.parent.lxpackBridge.v1` is present (`config.lxpack.bridge: "off"` to disable).
|
|
47
|
+
|
|
48
|
+
For interoperability notes, see [LXPack upgrades](https://lessonkit.readthedocs.io/en/latest/reference/lxpack-upgrades.html).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessonkit/lxpack",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LXPack export adapter for LessonKit courses (SCORM, standalone, xAPI, cmi5).",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"lint": "echo \"(no lint configured yet)\""
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@lessonkit/core": "0.
|
|
57
|
-
"@lessonkit/themes": "0.
|
|
56
|
+
"@lessonkit/core": "0.8.0",
|
|
57
|
+
"@lessonkit/themes": "0.8.0",
|
|
58
58
|
"@lxpack/api": "^0.4.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|