@lssm/example.learning-journey-platform-tour 0.0.0-canary-20251216033905 → 0.0.0-canary-20251216062412
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 +12 -11
- package/CHANGELOG.md +4 -4
- package/dist/index.js +1 -1
- package/dist/learning-journey-platform-tour.feature.js +1 -0
- package/package.json +3 -1
- package/src/index.ts +1 -0
- package/src/learning-journey-platform-tour.feature.ts +65 -0
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,18 +2,19 @@ $ bun build:bundle && bun build:types
|
|
|
2
2
|
$ tsdown
|
|
3
3
|
[34mℹ[39m tsdown [2mv0.17.4[22m powered by rolldown [2mv1.0.0-beta.53[22m
|
|
4
4
|
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/learning-journey-platform-tour/tsdown.config.js[24m
|
|
5
|
-
[34mℹ[39m entry: [34msrc/example.ts, src/index.ts, src/
|
|
5
|
+
[34mℹ[39m entry: [34msrc/example.ts, src/index.ts, src/learning-journey-platform-tour.feature.ts, src/track.ts, src/contracts/index.ts, src/docs/index.ts, src/docs/platform-tour.docblock.ts, src/handlers/demo.handlers.ts, src/presentations/index.ts[39m
|
|
6
6
|
[34mℹ[39m target: [34mesnext[39m
|
|
7
7
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
8
8
|
[34mℹ[39m Build start
|
|
9
|
-
[34mℹ[39m [2mdist/[22m[1mcontracts/index.js[22m
|
|
10
|
-
[34mℹ[39m [2mdist/[22m[1mtrack.js[22m
|
|
11
|
-
[34mℹ[39m [2mdist/[22m[1mdocs/platform-tour.docblock.js[22m
|
|
12
|
-
[34mℹ[39m [2mdist/[22m[1mindex.js[22m
|
|
13
|
-
[34mℹ[39m [2mdist/[22m[
|
|
14
|
-
[34mℹ[39m [2mdist/[22m[
|
|
15
|
-
[34mℹ[39m [2mdist/[22m[
|
|
16
|
-
[34mℹ[39m [2mdist/[22m[
|
|
17
|
-
[34mℹ[39m
|
|
18
|
-
[
|
|
9
|
+
[34mℹ[39m [2mdist/[22m[1mcontracts/index.js[22m [2m2.81 kB[22m [2m│ gzip: 0.91 kB[22m
|
|
10
|
+
[34mℹ[39m [2mdist/[22m[1mtrack.js[22m [2m2.18 kB[22m [2m│ gzip: 0.80 kB[22m
|
|
11
|
+
[34mℹ[39m [2mdist/[22m[1mdocs/platform-tour.docblock.js[22m [2m1.38 kB[22m [2m│ gzip: 0.73 kB[22m
|
|
12
|
+
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m1.06 kB[22m [2m│ gzip: 0.35 kB[22m
|
|
13
|
+
[34mℹ[39m [2mdist/[22m[1mlearning-journey-platform-tour.feature.js[22m [2m1.02 kB[22m [2m│ gzip: 0.40 kB[22m
|
|
14
|
+
[34mℹ[39m [2mdist/[22m[1mpresentations/index.js[22m [2m0.78 kB[22m [2m│ gzip: 0.37 kB[22m
|
|
15
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m0.63 kB[22m [2m│ gzip: 0.35 kB[22m
|
|
16
|
+
[34mℹ[39m [2mdist/[22m[1mhandlers/demo.handlers.js[22m [2m0.45 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
17
|
+
[34mℹ[39m [2mdist/[22m[1mdocs/index.js[22m [2m0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
18
|
+
[34mℹ[39m 9 files, total: 10.34 kB
|
|
19
|
+
[32m✔[39m Build complete in [32m39ms[39m
|
|
19
20
|
$ tsc --noEmit
|
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @lssm/example.learning-journey-platform-tour
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251216062412
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies [3086383]
|
|
8
|
-
- @lssm/lib.contracts@0.0.0-canary-
|
|
9
|
-
- @lssm/lib.schema@0.0.0-canary-
|
|
10
|
-
- @lssm/module.learning-journey@0.0.0-canary-
|
|
8
|
+
- @lssm/lib.contracts@0.0.0-canary-20251216062412
|
|
9
|
+
- @lssm/lib.schema@0.0.0-canary-20251216062412
|
|
10
|
+
- @lssm/module.learning-journey@0.0.0-canary-20251216062412
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"./example.js";import{platformLearningTracks as t,platformPrimitivesTourTrack as n}from"./track.js";import"./docs/index.js";import{GetPlatformTourTrack as r,PlatformTourTrackModel as i,RecordPlatformTourEvent as a,platformTourContracts as o}from"./contracts/index.js";import{emitAllPlatformTourEvents as s,emitPlatformTourEvent as c,platformTourEvents as l}from"./handlers/demo.handlers.js";import{PlatformTourTrackPresentation as u,PlatformTourWidgetPresentation as d,platformTourPresentations as f}from"./presentations/index.js";export{r as GetPlatformTourTrack,i as PlatformTourTrackModel,u as PlatformTourTrackPresentation,d as PlatformTourWidgetPresentation,a as RecordPlatformTourEvent,s as emitAllPlatformTourEvents,c as emitPlatformTourEvent,e as example,t as platformLearningTracks,n as platformPrimitivesTourTrack,o as platformTourContracts,l as platformTourEvents,f as platformTourPresentations};
|
|
1
|
+
import e from"./example.js";import{platformLearningTracks as t,platformPrimitivesTourTrack as n}from"./track.js";import"./docs/index.js";import{GetPlatformTourTrack as r,PlatformTourTrackModel as i,RecordPlatformTourEvent as a,platformTourContracts as o}from"./contracts/index.js";import{emitAllPlatformTourEvents as s,emitPlatformTourEvent as c,platformTourEvents as l}from"./handlers/demo.handlers.js";import{PlatformTourTrackPresentation as u,PlatformTourWidgetPresentation as d,platformTourPresentations as f}from"./presentations/index.js";import{LearningJourneyPlatformTourFeature as p}from"./learning-journey-platform-tour.feature.js";export{r as GetPlatformTourTrack,p as LearningJourneyPlatformTourFeature,i as PlatformTourTrackModel,u as PlatformTourTrackPresentation,d as PlatformTourWidgetPresentation,a as RecordPlatformTourEvent,s as emitAllPlatformTourEvents,c as emitPlatformTourEvent,e as example,t as platformLearningTracks,n as platformPrimitivesTourTrack,o as platformTourContracts,l as platformTourEvents,f as platformTourPresentations};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={meta:{key:`learning-journey-platform-tour`,title:`Learning Journey: Platform Tour`,description:`Platform primitives tour journey for exploring ContractSpec core features`,domain:`learning-journey`,owners:[`@examples.learning-journey.platform-tour`],tags:[`learning`,`platform`,`tour`,`journey`],stability:`experimental`},operations:[{name:`learningJourney.platformTour.recordEvent`,version:1},{name:`learningJourney.platformTour.getTrack`,version:1}],events:[],presentations:[{name:`learning.journey.platform.track`,version:1},{name:`learning.journey.platform.widget`,version:1}],opToPresentation:[{op:{name:`learningJourney.platformTour.getTrack`,version:1},pres:{name:`learning.journey.platform.track`,version:1}}],presentationsTargets:[{name:`learning.journey.platform.track`,version:1,targets:[`react`,`markdown`,`application/json`]},{name:`learning.journey.platform.widget`,version:1,targets:[`react`]}],capabilities:{requires:[{key:`identity`,version:1}]}};export{e as LearningJourneyPlatformTourFeature};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.learning-journey-platform-tour",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251216062412",
|
|
4
4
|
"description": "Learning journey track covering ContractSpec platform primitives.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"./docs/platform-tour.docblock": "./src/docs/platform-tour.docblock.ts",
|
|
13
13
|
"./example": "./src/example.ts",
|
|
14
14
|
"./handlers/demo.handlers": "./src/handlers/demo.handlers.ts",
|
|
15
|
+
"./learning-journey-platform-tour.feature": "./src/learning-journey-platform-tour.feature.ts",
|
|
15
16
|
"./presentations": "./src/presentations/index.ts",
|
|
16
17
|
"./track": "./src/track.ts",
|
|
17
18
|
"./*": "./*"
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
"./docs/platform-tour.docblock": "./dist/docs/platform-tour.docblock.js",
|
|
47
48
|
"./example": "./dist/example.js",
|
|
48
49
|
"./handlers/demo.handlers": "./dist/handlers/demo.handlers.js",
|
|
50
|
+
"./learning-journey-platform-tour.feature": "./dist/learning-journey-platform-tour.feature.js",
|
|
49
51
|
"./presentations": "./dist/presentations/index.js",
|
|
50
52
|
"./track": "./dist/track.js",
|
|
51
53
|
"./*": "./*"
|
package/src/index.ts
CHANGED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Learning Journey Platform Tour Feature Module Specification
|
|
3
|
+
*
|
|
4
|
+
* Defines the feature module for platform primitives tour journey.
|
|
5
|
+
*/
|
|
6
|
+
import type { FeatureModuleSpec } from '@lssm/lib.contracts';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Learning Journey Platform Tour feature module that bundles
|
|
10
|
+
* platform-specific tour track operations and presentations.
|
|
11
|
+
*/
|
|
12
|
+
export const LearningJourneyPlatformTourFeature: FeatureModuleSpec = {
|
|
13
|
+
meta: {
|
|
14
|
+
key: 'learning-journey-platform-tour',
|
|
15
|
+
title: 'Learning Journey: Platform Tour',
|
|
16
|
+
description:
|
|
17
|
+
'Platform primitives tour journey for exploring ContractSpec core features',
|
|
18
|
+
domain: 'learning-journey',
|
|
19
|
+
owners: ['@examples.learning-journey.platform-tour'],
|
|
20
|
+
tags: ['learning', 'platform', 'tour', 'journey'],
|
|
21
|
+
stability: 'experimental',
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
// All contract operations included in this feature
|
|
25
|
+
operations: [
|
|
26
|
+
{ name: 'learningJourney.platformTour.recordEvent', version: 1 },
|
|
27
|
+
{ name: 'learningJourney.platformTour.getTrack', version: 1 },
|
|
28
|
+
],
|
|
29
|
+
|
|
30
|
+
// Events emitted by this feature
|
|
31
|
+
events: [],
|
|
32
|
+
|
|
33
|
+
// Presentations associated with this feature
|
|
34
|
+
presentations: [
|
|
35
|
+
{ name: 'learning.journey.platform.track', version: 1 },
|
|
36
|
+
{ name: 'learning.journey.platform.widget', version: 1 },
|
|
37
|
+
],
|
|
38
|
+
|
|
39
|
+
// Link operations to their primary presentations
|
|
40
|
+
opToPresentation: [
|
|
41
|
+
{
|
|
42
|
+
op: { name: 'learningJourney.platformTour.getTrack', version: 1 },
|
|
43
|
+
pres: { name: 'learning.journey.platform.track', version: 1 },
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
|
|
47
|
+
// Target requirements for multi-surface rendering
|
|
48
|
+
presentationsTargets: [
|
|
49
|
+
{
|
|
50
|
+
name: 'learning.journey.platform.track',
|
|
51
|
+
version: 1,
|
|
52
|
+
targets: ['react', 'markdown', 'application/json'],
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'learning.journey.platform.widget',
|
|
56
|
+
version: 1,
|
|
57
|
+
targets: ['react'],
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
|
|
61
|
+
// Capability requirements
|
|
62
|
+
capabilities: {
|
|
63
|
+
requires: [{ key: 'identity', version: 1 }],
|
|
64
|
+
},
|
|
65
|
+
};
|