@contractspec/example.learning-journey-ui-gamified 3.0.0 → 3.1.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/.turbo/turbo-build.log +3 -3
- package/AGENTS.md +34 -0
- package/CHANGELOG.md +31 -0
- package/package.json +10 -10
package/.turbo/turbo-build.log
CHANGED
|
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
|
|
|
3
3
|
$ contractspec-bun-build prebuild
|
|
4
4
|
$ contractspec-bun-build transpile
|
|
5
5
|
[contractspec-bun-build] transpile target=bun root=src entries=14
|
|
6
|
-
Bundled 14 modules in
|
|
6
|
+
Bundled 14 modules in 40ms
|
|
7
7
|
|
|
8
8
|
./GamifiedMiniApp.js 43.40 KB (entry point)
|
|
9
9
|
./index.js 45.20 KB (entry point)
|
|
@@ -21,7 +21,7 @@ Bundled 14 modules in 11ms
|
|
|
21
21
|
./example.js 0.93 KB (entry point)
|
|
22
22
|
|
|
23
23
|
[contractspec-bun-build] transpile target=node root=src entries=14
|
|
24
|
-
Bundled 14 modules in
|
|
24
|
+
Bundled 14 modules in 41ms
|
|
25
25
|
|
|
26
26
|
./GamifiedMiniApp.js 43.37 KB (entry point)
|
|
27
27
|
./index.js 45.16 KB (entry point)
|
|
@@ -39,7 +39,7 @@ Bundled 14 modules in 20ms
|
|
|
39
39
|
./example.js 0.92 KB (entry point)
|
|
40
40
|
|
|
41
41
|
[contractspec-bun-build] transpile target=browser root=src entries=14
|
|
42
|
-
Bundled 14 modules in
|
|
42
|
+
Bundled 14 modules in 31ms
|
|
43
43
|
|
|
44
44
|
./GamifiedMiniApp.js 43.37 KB (entry point)
|
|
45
45
|
./index.js 45.16 KB (entry point)
|
package/AGENTS.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# AI Agent Guide -- `@contractspec/example.learning-journey-ui-gamified`
|
|
2
|
+
|
|
3
|
+
Scope: `packages/examples/learning-journey-ui-gamified/*`
|
|
4
|
+
|
|
5
|
+
Demonstrates a Duolingo-style gamified learning UI with drills, quests, flash cards, and mastery rings.
|
|
6
|
+
|
|
7
|
+
## Quick Context
|
|
8
|
+
|
|
9
|
+
- **Layer**: example
|
|
10
|
+
- **Related Packages**: `module.learning-journey`, `lib.contracts-spec`, `lib.design-system`, `lib.ui-kit-web`, `example.learning-journey-ui-shared`, `example.learning-journey-duo-drills`, `example.learning-journey-quest-challenges`
|
|
11
|
+
|
|
12
|
+
## What This Demonstrates
|
|
13
|
+
|
|
14
|
+
- GamifiedMiniApp as a self-contained React application
|
|
15
|
+
- FlashCard, DayCalendar, and MasteryRing components
|
|
16
|
+
- Multi-view layout (Overview, Progress, Steps, Timeline)
|
|
17
|
+
- Integration with duo-drills and quest-challenges tracks
|
|
18
|
+
- Design system and UI kit usage patterns
|
|
19
|
+
|
|
20
|
+
## Public Exports
|
|
21
|
+
|
|
22
|
+
- `.` -- root barrel
|
|
23
|
+
- `./GamifiedMiniApp` -- main mini-app component
|
|
24
|
+
- `./components` -- FlashCard, DayCalendar, MasteryRing
|
|
25
|
+
- `./views` -- Overview, Progress, Steps, Timeline views
|
|
26
|
+
- `./docs` -- DocBlock documentation
|
|
27
|
+
- `./example` -- runnable example entry point
|
|
28
|
+
|
|
29
|
+
## Local Commands
|
|
30
|
+
|
|
31
|
+
- Build: `bun run build`
|
|
32
|
+
- Dev: `bun run dev`
|
|
33
|
+
- Test: `bun test`
|
|
34
|
+
- Typecheck: `bun run typecheck`
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @contractspec/example.learning-journey-ui-gamified
|
|
2
2
|
|
|
3
|
+
## 3.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [02c0cc5]
|
|
8
|
+
- @contractspec/lib.contracts-spec@3.1.1
|
|
9
|
+
- @contractspec/lib.design-system@3.1.1
|
|
10
|
+
- @contractspec/example.learning-journey-duo-drills@3.1.1
|
|
11
|
+
- @contractspec/example.learning-journey-quest-challenges@3.1.1
|
|
12
|
+
- @contractspec/example.learning-journey-ui-shared@3.1.1
|
|
13
|
+
- @contractspec/module.learning-journey@3.1.1
|
|
14
|
+
|
|
15
|
+
## 3.1.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 28987eb: chore: upgrade dependencies
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [f2a4faf]
|
|
24
|
+
- Updated dependencies [28987eb]
|
|
25
|
+
- Updated dependencies [28987eb]
|
|
26
|
+
- @contractspec/lib.contracts-spec@3.1.0
|
|
27
|
+
- @contractspec/example.learning-journey-quest-challenges@3.1.0
|
|
28
|
+
- @contractspec/example.learning-journey-duo-drills@3.1.0
|
|
29
|
+
- @contractspec/example.learning-journey-ui-shared@3.1.0
|
|
30
|
+
- @contractspec/module.learning-journey@3.1.0
|
|
31
|
+
- @contractspec/lib.design-system@3.1.0
|
|
32
|
+
- @contractspec/lib.ui-kit-web@3.1.0
|
|
33
|
+
|
|
3
34
|
## 3.0.0
|
|
4
35
|
|
|
5
36
|
### Major Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.learning-journey-ui-gamified",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Duolingo-style gamified learning UI for drills and quests.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -141,20 +141,20 @@
|
|
|
141
141
|
"typecheck": "tsc --noEmit"
|
|
142
142
|
},
|
|
143
143
|
"dependencies": {
|
|
144
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
145
|
-
"@contractspec/example.learning-journey-ui-shared": "3.
|
|
146
|
-
"@contractspec/example.learning-journey-duo-drills": "3.
|
|
147
|
-
"@contractspec/example.learning-journey-quest-challenges": "3.
|
|
148
|
-
"@contractspec/module.learning-journey": "3.
|
|
149
|
-
"@contractspec/lib.design-system": "3.
|
|
150
|
-
"@contractspec/lib.ui-kit-web": "3.
|
|
144
|
+
"@contractspec/lib.contracts-spec": "3.1.1",
|
|
145
|
+
"@contractspec/example.learning-journey-ui-shared": "3.1.1",
|
|
146
|
+
"@contractspec/example.learning-journey-duo-drills": "3.1.1",
|
|
147
|
+
"@contractspec/example.learning-journey-quest-challenges": "3.1.1",
|
|
148
|
+
"@contractspec/module.learning-journey": "3.1.1",
|
|
149
|
+
"@contractspec/lib.design-system": "3.1.1",
|
|
150
|
+
"@contractspec/lib.ui-kit-web": "3.1.0",
|
|
151
151
|
"react": "19.2.4"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
|
-
"@contractspec/tool.typescript": "3.
|
|
154
|
+
"@contractspec/tool.typescript": "3.1.0",
|
|
155
155
|
"@types/react": "^19.2.14",
|
|
156
156
|
"typescript": "^5.9.3",
|
|
157
|
-
"@contractspec/tool.bun": "3.
|
|
157
|
+
"@contractspec/tool.bun": "3.1.0"
|
|
158
158
|
},
|
|
159
159
|
"peerDependencies": {
|
|
160
160
|
"react": "^19.2.4"
|