@lessonkit/cli 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
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
# `@lessonkit/cli`
|
|
2
2
|
|
|
3
3
|
[](https://github.com/eddiethedean/lessonkit/actions/workflows/ci.yml)
|
|
4
|
+
[](https://lessonkit.readthedocs.io/en/latest/)
|
|
4
5
|
[](https://www.npmjs.com/package/@lessonkit/cli)
|
|
5
|
-
[](
|
|
6
|
+
[](https://github.com/eddiethedean/lessonkit/blob/main/LICENSE)
|
|
6
7
|
|
|
7
8
|
LessonKit CLI — scaffold, dev, build, and package learning experiences.
|
|
8
9
|
|
|
10
|
+
**Docs:** [CLI reference](https://lessonkit.readthedocs.io/en/latest/reference/cli.html) · [Packaging & CLI guide](https://lessonkit.readthedocs.io/en/latest/guides/react-developers/packaging-and-cli.html) · [Vibe coding: shipping to LMS](https://lessonkit.readthedocs.io/en/latest/guides/vibe-coding/shipping-to-lms.html)
|
|
11
|
+
|
|
9
12
|
## Install
|
|
10
13
|
|
|
11
14
|
```bash
|
|
@@ -34,7 +37,7 @@ lessonkit package --target scorm12
|
|
|
34
37
|
| `lessonkit dev` | Run Vite dev server |
|
|
35
38
|
| `lessonkit build` | Production Vite build |
|
|
36
39
|
| `lessonkit package --target <target>` | Build or package for web / LMS |
|
|
37
|
-
| `lessonkit publish` | Stub — see [`RELEASING.md`](
|
|
40
|
+
| `lessonkit publish` | Stub — see [`RELEASING.md`](https://github.com/eddiethedean/lessonkit/blob/main/RELEASING.md) |
|
|
38
41
|
|
|
39
42
|
### Package targets
|
|
40
43
|
|
|
@@ -43,10 +46,10 @@ lessonkit package --target scorm12
|
|
|
43
46
|
|
|
44
47
|
## Project manifest
|
|
45
48
|
|
|
46
|
-
Projects include a `lessonkit.json` at the root. See [
|
|
49
|
+
Projects include a `lessonkit.json` at the root. See the [CLI reference](https://lessonkit.readthedocs.io/en/latest/reference/cli.html) for the schema, flags, exit codes, and JSON output mode.
|
|
47
50
|
|
|
48
51
|
## Related
|
|
49
52
|
|
|
50
|
-
- [
|
|
51
|
-
- [
|
|
52
|
-
- [`templates/vite-react`](
|
|
53
|
+
- [Packaging reference](https://lessonkit.readthedocs.io/en/latest/reference/packaging.html) — LXPack output layout
|
|
54
|
+
- [React quickstart](https://lessonkit.readthedocs.io/en/latest/guides/react-developers/quickstart.html)
|
|
55
|
+
- [`templates/vite-react`](https://github.com/eddiethedean/lessonkit/tree/main/templates/vite-react) — starter template
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessonkit/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LessonKit CLI — init, dev, build, and package learning experiences.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"lint": "echo \"(no lint configured yet)\""
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lessonkit/lxpack": "0.
|
|
45
|
+
"@lessonkit/lxpack": "0.8.0",
|
|
46
46
|
"commander": "^14.0.1"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# LessonKit Vite + React template
|
|
2
2
|
|
|
3
|
-
[](
|
|
3
|
+
[](https://lessonkit.readthedocs.io/en/latest/)
|
|
4
|
+
[](https://github.com/eddiethedean/lessonkit/blob/main/LICENSE)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Starter template copied by `lessonkit init`. See the [CLI reference](https://lessonkit.readthedocs.io/en/latest/reference/cli.html) and [React quickstart](https://lessonkit.readthedocs.io/en/latest/guides/react-developers/quickstart.html).
|
|
7
7
|
|
|
8
8
|
## Run
|
|
9
9
|
|
|
@@ -14,6 +14,6 @@ npm run dev
|
|
|
14
14
|
|
|
15
15
|
## Notes
|
|
16
16
|
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
|
|
17
|
+
- Depends on [`@lessonkit/react`](https://lessonkit.readthedocs.io/en/latest/guides/react-developers/components-and-hooks.html).
|
|
18
|
+
- Copied by [`@lessonkit/cli`](https://lessonkit.readthedocs.io/en/latest/reference/cli.html) when you run `lessonkit init`.
|
|
19
|
+
- Package for an LMS with the [packaging guide](https://lessonkit.readthedocs.io/en/latest/guides/react-developers/packaging-and-cli.html).
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"test:coverage": "vitest run --coverage --passWithNoTests=false"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@lessonkit/core": "^0.
|
|
17
|
-
"@lessonkit/react": "^0.
|
|
18
|
-
"@lessonkit/themes": "^0.
|
|
19
|
-
"@lessonkit/xapi": "^0.
|
|
16
|
+
"@lessonkit/core": "^0.8.0",
|
|
17
|
+
"@lessonkit/react": "^0.8.0",
|
|
18
|
+
"@lessonkit/themes": "^0.8.0",
|
|
19
|
+
"@lessonkit/xapi": "^0.8.0",
|
|
20
20
|
"react": "^18.3.1",
|
|
21
21
|
"react-dom": "^18.3.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@lessonkit/cli": "^0.
|
|
25
|
-
"@lessonkit/lxpack": "^0.
|
|
24
|
+
"@lessonkit/cli": "^0.8.0",
|
|
25
|
+
"@lessonkit/lxpack": "^0.8.0",
|
|
26
26
|
"@testing-library/react": "^16.3.0",
|
|
27
27
|
"@types/react": "^18.3.23",
|
|
28
28
|
"@types/react-dom": "^18.3.7",
|