Skip to content

Commit 7bba102

Browse files
committed
Update client version
1 parent 9ad168f commit 7bba102

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,13 @@ During the uploading process, `manifest.json`, `config.json`, and `video.cv` wil
6363
"type": "lesson",
6464
"id": "friendly_name",
6565
"name": "Display Name",
66+
"unit": "unit_friendly_name",
6667
"spec": null,
6768
"class": "tutorial"
6869
}
6970
```
7071

71-
Where `id` is a friendly name/id for the unit, `name` is the display name for the unit, `spec` is the specification for what the lesson's code should be, and `class` is the type of lesson (null, `tutorial`, `activity`, `project`, and `challenge`).
72+
Where `id` is a friendly name/id for the unit, `name` is the display name for the unit, `unit` is the friendly name for this lesson's primary/canonical unit or null if none exists (this is for SEO only), `spec` is the specification for what the lesson's code should be, and `class` is the type of lesson (null, `tutorial`, `activity`, `project`, and `challenge`).
7273

7374
A typical setup might look like the below file tree, where the first manifest is the first example manifest and the second manifest is the second example manifest:
7475

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"author": "Cratecode",
1111
"license": "Apache-2.0",
1212
"dependencies": {
13-
"@cratecode/client": "^1.0.10",
13+
"@cratecode/client": "^1.0.11",
1414
"prompts": "^2.4.2",
1515
"yargs": "^17.5.1"
1616
},

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@cratecode/client@^1.0.10":
6-
version "1.0.10"
7-
resolved "https://registry.yarnpkg.com/@cratecode/client/-/client-1.0.10.tgz#1a824443db7db65b668dfda5239f67e105c745fe"
8-
integrity sha512-KhAB72ugUqxSc5ebpVlB/Dkgfo/OwgiKv95ZrQ5aQ6GA9VrmQJr+vAZUFHMJytwCBsbl7CpREgvjOSraCHdgCg==
5+
"@cratecode/client@^1.0.11":
6+
version "1.0.11"
7+
resolved "https://registry.yarnpkg.com/@cratecode/client/-/client-1.0.11.tgz#4e0cb27200e8c5cf2910ee9db7b3030ac21bf844"
8+
integrity sha512-mE2Nj9xl85/jcN3nSzwmpAmfmA0LkYPBJoVMd8fwHEJ09i4+OH9UWOMoguc2iHlJYWGtrNJS7gmftYu5/OVnJw==
99
dependencies:
1010
"@protobuf-ts/runtime" "^2.8.1"
1111
axios "^0.27.2"

0 commit comments

Comments
 (0)