@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.
@@ -2,18 +2,19 @@ $ bun build:bundle && bun build:types
2
2
  $ tsdown
3
3
  ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
4
4
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/learning-journey-platform-tour/tsdown.config.js
5
- ℹ entry: src/example.ts, src/index.ts, src/track.ts, src/contracts/index.ts, src/handlers/demo.handlers.ts, src/docs/index.ts, src/docs/platform-tour.docblock.ts, src/presentations/index.ts
5
+ ℹ entry: src/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
6
6
  ℹ target: esnext
7
7
  ℹ tsconfig: tsconfig.json
8
8
  ℹ Build start
9
- ℹ dist/contracts/index.js 2.81 kB │ gzip: 0.91 kB
10
- ℹ dist/track.js 2.18 kB │ gzip: 0.80 kB
11
- ℹ dist/docs/platform-tour.docblock.js 1.38 kB │ gzip: 0.73 kB
12
- ℹ dist/index.js 0.92 kB │ gzip: 0.31 kB
13
- ℹ dist/presentations/index.js 0.78 kB │ gzip: 0.37 kB
14
- ℹ dist/example.js 0.63 kB │ gzip: 0.35 kB
15
- ℹ dist/handlers/demo.handlers.js 0.45 kB │ gzip: 0.30 kB
16
- ℹ dist/docs/index.js 0.04 kB │ gzip: 0.06 kB
17
- ℹ 8 files, total: 9.18 kB
18
- ✔ Build complete in 64ms
9
+ ℹ dist/contracts/index.js 2.81 kB │ gzip: 0.91 kB
10
+ ℹ dist/track.js 2.18 kB │ gzip: 0.80 kB
11
+ ℹ dist/docs/platform-tour.docblock.js 1.38 kB │ gzip: 0.73 kB
12
+ ℹ dist/index.js 1.06 kB │ gzip: 0.35 kB
13
+ ℹ dist/learning-journey-platform-tour.feature.js 1.02 kB │ gzip: 0.40 kB
14
+ ℹ dist/presentations/index.js 0.78 kB │ gzip: 0.37 kB
15
+ ℹ dist/example.js 0.63 kB │ gzip: 0.35 kB
16
+ ℹ dist/handlers/demo.handlers.js 0.45 kB │ gzip: 0.30 kB
17
+ ℹ dist/docs/index.js 0.04 kB │ gzip: 0.06 kB
18
+ ℹ 9 files, total: 10.34 kB
19
+ ✔ Build complete in 39ms
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-20251216033905
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-20251216033905
9
- - @lssm/lib.schema@0.0.0-canary-20251216033905
10
- - @lssm/module.learning-journey@0.0.0-canary-20251216033905
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-20251216033905",
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
@@ -3,4 +3,5 @@ export * from './docs';
3
3
  export * from './contracts';
4
4
  export * from './handlers/demo.handlers';
5
5
  export * from './presentations';
6
+ export * from './learning-journey-platform-tour.feature';
6
7
  export { default as example } from './example';
@@ -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
+ };