@lssm/example.learning-journey-registry 1.41.0 → 1.42.2

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.
Files changed (79) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +50 -0
  2. package/.turbo/turbo-build.log +45 -47
  3. package/CHANGELOG.md +64 -0
  4. package/LICENSE +21 -0
  5. package/README.md +3 -0
  6. package/dist/api-types.d.ts +41 -0
  7. package/dist/api-types.d.ts.map +1 -0
  8. package/dist/api.d.ts +13 -0
  9. package/dist/api.d.ts.map +1 -0
  10. package/dist/api.js +171 -1
  11. package/dist/api.js.map +1 -0
  12. package/dist/docs/index.d.ts +1 -0
  13. package/dist/docs/index.js +1 -1
  14. package/dist/docs/learning-journey-registry.docblock.d.ts +1 -0
  15. package/dist/docs/learning-journey-registry.docblock.js +38 -1
  16. package/dist/docs/learning-journey-registry.docblock.js.map +1 -0
  17. package/dist/example.d.ts +33 -0
  18. package/dist/example.d.ts.map +1 -0
  19. package/dist/example.js +35 -1
  20. package/dist/example.js.map +1 -0
  21. package/dist/index.d.ts +8 -0
  22. package/dist/index.js +10 -1
  23. package/dist/learning-journey-registry.feature.d.ts +12 -0
  24. package/dist/learning-journey-registry.feature.d.ts.map +1 -0
  25. package/dist/learning-journey-registry.feature.js +68 -1
  26. package/dist/learning-journey-registry.feature.js.map +1 -0
  27. package/dist/presentations/index.d.ts +10 -0
  28. package/dist/presentations/index.d.ts.map +1 -0
  29. package/dist/presentations/index.js +71 -1
  30. package/dist/presentations/index.js.map +1 -0
  31. package/dist/progress-store.d.ts +11 -0
  32. package/dist/progress-store.d.ts.map +1 -0
  33. package/dist/progress-store.js +31 -1
  34. package/dist/progress-store.js.map +1 -0
  35. package/dist/tracks.d.ts +40 -0
  36. package/dist/tracks.d.ts.map +1 -0
  37. package/dist/tracks.js +48 -1
  38. package/dist/tracks.js.map +1 -0
  39. package/dist/ui/LearningMiniApp.d.ts +24 -0
  40. package/dist/ui/LearningMiniApp.d.ts.map +1 -0
  41. package/dist/ui/LearningMiniApp.js +80 -1
  42. package/dist/ui/LearningMiniApp.js.map +1 -0
  43. package/dist/ui/index.d.ts +2 -0
  44. package/dist/ui/index.js +3 -1
  45. package/package.json +42 -30
  46. package/src/learning-journey-registry.feature.ts +7 -6
  47. package/src/presentations/index.ts +31 -23
  48. package/tsconfig.tsbuildinfo +1 -1
  49. package/tsdown.config.js +11 -1
  50. package/dist/libs/contracts/src/docs/PUBLISHING.docblock.js +0 -76
  51. package/dist/libs/contracts/src/docs/accessibility_wcag_compliance_specs.docblock.js +0 -350
  52. package/dist/libs/contracts/src/docs/index.js +0 -1
  53. package/dist/libs/contracts/src/docs/presentations.js +0 -1
  54. package/dist/libs/contracts/src/docs/registry.js +0 -1
  55. package/dist/libs/contracts/src/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -383
  56. package/dist/libs/contracts/src/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -68
  57. package/dist/libs/contracts/src/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -140
  58. package/dist/libs/contracts/src/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -86
  59. package/dist/libs/contracts/src/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -1
  60. package/dist/libs/contracts/src/docs/tech/auth/better-auth-nextjs.docblock.js +0 -58
  61. package/dist/libs/contracts/src/docs/tech/contracts/openapi-export.docblock.js +0 -38
  62. package/dist/libs/contracts/src/docs/tech/lifecycle-stage-system.docblock.js +0 -213
  63. package/dist/libs/contracts/src/docs/tech/llm/llm-integration.docblock.js +0 -289
  64. package/dist/libs/contracts/src/docs/tech/mcp-endpoints.docblock.js +0 -1
  65. package/dist/libs/contracts/src/docs/tech/presentation-runtime.docblock.js +0 -1
  66. package/dist/libs/contracts/src/docs/tech/schema/README.docblock.js +0 -262
  67. package/dist/libs/contracts/src/docs/tech/studio/learning-events.docblock.js +0 -1
  68. package/dist/libs/contracts/src/docs/tech/studio/learning-journeys.docblock.js +0 -57
  69. package/dist/libs/contracts/src/docs/tech/studio/platform-admin-panel.docblock.js +0 -63
  70. package/dist/libs/contracts/src/docs/tech/studio/project-access-teams.docblock.js +0 -36
  71. package/dist/libs/contracts/src/docs/tech/studio/project-routing.docblock.js +0 -1
  72. package/dist/libs/contracts/src/docs/tech/studio/sandbox-unlogged.docblock.js +0 -20
  73. package/dist/libs/contracts/src/docs/tech/studio/team-invitations.docblock.js +0 -65
  74. package/dist/libs/contracts/src/docs/tech/studio/workspace-ops.docblock.js +0 -1
  75. package/dist/libs/contracts/src/docs/tech/studio/workspaces.docblock.js +0 -41
  76. package/dist/libs/contracts/src/docs/tech/telemetry-ingest.docblock.js +0 -122
  77. package/dist/libs/contracts/src/docs/tech/templates/runtime.docblock.js +0 -1
  78. package/dist/libs/contracts/src/docs/tech/vscode-extension.docblock.js +0 -68
  79. package/dist/libs/contracts/src/docs/tech/workflows/overview.docblock.js +0 -1
package/package.json CHANGED
@@ -1,27 +1,29 @@
1
1
  {
2
2
  "name": "@lssm/example.learning-journey-registry",
3
- "version": "1.41.0",
3
+ "version": "1.42.2",
4
4
  "description": "Registry that aggregates learning journey example tracks.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {
9
- ".": "./src/index.ts",
10
- "./api": "./src/api.ts",
11
- "./api-types": "./src/api-types.ts",
12
- "./docs": "./src/docs/index.ts",
13
- "./docs/learning-journey-registry.docblock": "./src/docs/learning-journey-registry.docblock.ts",
14
- "./example": "./src/example.ts",
15
- "./learning-journey-registry.feature": "./src/learning-journey-registry.feature.ts",
16
- "./presentations": "./src/presentations/index.ts",
17
- "./progress-store": "./src/progress-store.ts",
18
- "./tracks": "./src/tracks.ts",
19
- "./ui": "./src/ui/index.ts",
20
- "./ui/LearningMiniApp": "./src/ui/LearningMiniApp.tsx",
9
+ ".": "./dist/index.js",
10
+ "./api": "./dist/api.js",
11
+ "./api-types": "./dist/api-types.js",
12
+ "./docs": "./dist/docs/index.js",
13
+ "./docs/learning-journey-registry.docblock": "./dist/docs/learning-journey-registry.docblock.js",
14
+ "./example": "./dist/example.js",
15
+ "./learning-journey-registry.feature": "./dist/learning-journey-registry.feature.js",
16
+ "./presentations": "./dist/presentations/index.js",
17
+ "./progress-store": "./dist/progress-store.js",
18
+ "./tracks": "./dist/tracks.js",
19
+ "./ui": "./dist/ui/index.js",
20
+ "./ui/LearningMiniApp": "./dist/ui/LearningMiniApp.js",
21
21
  "./*": "./*"
22
22
  },
23
23
  "scripts": {
24
- "build": "bun build:bundle && bun build:types",
24
+ "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
25
+ "publish:pkg:canary": "bun publish:pkg --tag canary",
26
+ "build": "bun build:types && bun build:bundle",
25
27
  "build:bundle": "tsdown",
26
28
  "build:types": "tsc --noEmit",
27
29
  "dev": "bun build:bundle --watch",
@@ -32,24 +34,26 @@
32
34
  "lint:check": "eslint src"
33
35
  },
34
36
  "dependencies": {
35
- "@lssm/example.learning-journey-ambient-coach": "workspace:*",
36
- "@lssm/example.learning-journey-duo-drills": "workspace:*",
37
- "@lssm/example.learning-journey-crm-onboarding": "workspace:*",
38
- "@lssm/example.learning-journey-platform-tour": "workspace:*",
39
- "@lssm/example.learning-journey-quest-challenges": "workspace:*",
40
- "@lssm/example.learning-journey-studio-onboarding": "workspace:*",
41
- "@lssm/example.learning-journey-ui-shared": "workspace:*",
42
- "@lssm/example.learning-journey-ui-gamified": "workspace:*",
43
- "@lssm/example.learning-journey-ui-onboarding": "workspace:*",
44
- "@lssm/example.learning-journey-ui-coaching": "workspace:*",
45
- "@lssm/module.learning-journey": "workspace:*",
46
- "react": "^19.2.3"
37
+ "@lssm/lib.schema": "1.42.2",
38
+ "@lssm/lib.contracts": "1.42.2",
39
+ "@lssm/example.learning-journey-ambient-coach": "1.42.2",
40
+ "@lssm/example.learning-journey-duo-drills": "1.42.2",
41
+ "@lssm/example.learning-journey-crm-onboarding": "1.42.2",
42
+ "@lssm/example.learning-journey-platform-tour": "1.42.2",
43
+ "@lssm/example.learning-journey-quest-challenges": "1.42.2",
44
+ "@lssm/example.learning-journey-studio-onboarding": "1.42.2",
45
+ "@lssm/example.learning-journey-ui-shared": "1.42.2",
46
+ "@lssm/example.learning-journey-ui-gamified": "1.42.2",
47
+ "@lssm/example.learning-journey-ui-onboarding": "1.42.2",
48
+ "@lssm/example.learning-journey-ui-coaching": "1.42.2",
49
+ "@lssm/module.learning-journey": "1.42.2",
50
+ "react": "19.2.3"
47
51
  },
48
52
  "devDependencies": {
49
- "@lssm/tool.tsdown": "workspace:*",
50
- "@lssm/tool.typescript": "workspace:*",
53
+ "@lssm/tool.tsdown": "1.42.2",
54
+ "@lssm/tool.typescript": "1.42.2",
51
55
  "@types/react": "^19.1.6",
52
- "tsdown": "^0.17.4",
56
+ "tsdown": "^0.18.3",
53
57
  "typescript": "^5.9.3"
54
58
  },
55
59
  "peerDependencies": {
@@ -71,6 +75,14 @@
71
75
  "./ui": "./dist/ui/index.js",
72
76
  "./ui/LearningMiniApp": "./dist/ui/LearningMiniApp.js",
73
77
  "./*": "./*"
74
- }
78
+ },
79
+ "registry": "https://registry.npmjs.org/",
80
+ "access": "public"
81
+ },
82
+ "license": "MIT",
83
+ "repository": {
84
+ "type": "git",
85
+ "url": "https://github.com/lssm-tech/contractspec.git",
86
+ "directory": "packages/examples/learning-journey-registry"
75
87
  }
76
88
  }
@@ -12,6 +12,7 @@ import type { FeatureModuleSpec } from '@lssm/lib.contracts';
12
12
  export const LearningJourneyRegistryFeature: FeatureModuleSpec = {
13
13
  meta: {
14
14
  key: 'learning-journey-registry',
15
+ version: 1,
15
16
  title: 'Learning Journey Registry',
16
17
  description:
17
18
  'Shared registry and presentations for learning journey tracks',
@@ -29,9 +30,9 @@ export const LearningJourneyRegistryFeature: FeatureModuleSpec = {
29
30
 
30
31
  // Presentations associated with this feature
31
32
  presentations: [
32
- { name: 'learning.journey.track_list', version: 1 },
33
- { name: 'learning.journey.track_detail', version: 1 },
34
- { name: 'learning.journey.progress_widget', version: 1 },
33
+ { key: 'learning.journey.track_list', version: 1 },
34
+ { key: 'learning.journey.track_detail', version: 1 },
35
+ { key: 'learning.journey.progress_widget', version: 1 },
35
36
  ],
36
37
 
37
38
  // No op to presentation links for registry
@@ -40,17 +41,17 @@ export const LearningJourneyRegistryFeature: FeatureModuleSpec = {
40
41
  // Target requirements for multi-surface rendering
41
42
  presentationsTargets: [
42
43
  {
43
- name: 'learning.journey.track_list',
44
+ key: 'learning.journey.track_list',
44
45
  version: 1,
45
46
  targets: ['react', 'markdown'],
46
47
  },
47
48
  {
48
- name: 'learning.journey.track_detail',
49
+ key: 'learning.journey.track_detail',
49
50
  version: 1,
50
51
  targets: ['react', 'markdown', 'application/json'],
51
52
  },
52
53
  {
53
- name: 'learning.journey.progress_widget',
54
+ key: 'learning.journey.progress_widget',
54
55
  version: 1,
55
56
  targets: ['react'],
56
57
  },
@@ -1,16 +1,25 @@
1
1
  import type {
2
- PresentationDescriptorV2,
3
- PresentationV2Meta,
2
+ PresentationSpecMeta,
3
+ PresentationSpec,
4
4
  } from '@lssm/lib.contracts';
5
- const baseMeta: Pick<PresentationV2Meta, 'domain' | 'owners' | 'tags'> = {
5
+ import { StabilityEnum } from '@lssm/lib.contracts';
6
+
7
+ const baseMeta: Pick<
8
+ PresentationSpecMeta,
9
+ 'domain' | 'owners' | 'tags' | 'title' | 'stability' | 'goal' | 'context'
10
+ > = {
6
11
  domain: 'learning-journey',
7
- owners: ['learning-team'] as string[],
12
+ title: 'Learning Journey',
13
+ owners: ['@learning-team'] as string[],
8
14
  tags: ['learning', 'journey', 'onboarding'] as string[],
15
+ stability: StabilityEnum.Experimental,
16
+ goal: 'Progress through learning tracks',
17
+ context: 'Learning journey section',
9
18
  };
10
19
 
11
- export const LearningTrackListPresentation: PresentationDescriptorV2 = {
20
+ export const LearningTrackListPresentation: PresentationSpec = {
12
21
  meta: {
13
- name: 'learning.journey.track_list',
22
+ key: 'learning.journey.track_list',
14
23
  version: 1,
15
24
  description: 'List of learning journeys available to the learner.',
16
25
  ...baseMeta,
@@ -23,9 +32,9 @@ export const LearningTrackListPresentation: PresentationDescriptorV2 = {
23
32
  targets: ['react', 'markdown'],
24
33
  };
25
34
 
26
- export const LearningTrackDetailPresentation: PresentationDescriptorV2 = {
35
+ export const LearningTrackDetailPresentation: PresentationSpec = {
27
36
  meta: {
28
- name: 'learning.journey.track_detail',
37
+ key: 'learning.journey.track_detail',
29
38
  version: 1,
30
39
  description: 'Track detail with steps and progress state.',
31
40
  ...baseMeta,
@@ -38,21 +47,20 @@ export const LearningTrackDetailPresentation: PresentationDescriptorV2 = {
38
47
  targets: ['react', 'markdown', 'application/json'],
39
48
  };
40
49
 
41
- export const LearningTrackProgressWidgetPresentation: PresentationDescriptorV2 =
42
- {
43
- meta: {
44
- name: 'learning.journey.progress_widget',
45
- version: 1,
46
- description: 'Compact widget showing progress for active track.',
47
- ...baseMeta,
48
- },
49
- source: {
50
- type: 'component',
51
- framework: 'react',
52
- componentKey: 'LearningTrackProgressWidget',
53
- },
54
- targets: ['react'],
55
- };
50
+ export const LearningTrackProgressWidgetPresentation: PresentationSpec = {
51
+ meta: {
52
+ key: 'learning.journey.progress_widget',
53
+ version: 1,
54
+ description: 'Compact widget showing progress for active track.',
55
+ ...baseMeta,
56
+ },
57
+ source: {
58
+ type: 'component',
59
+ framework: 'react',
60
+ componentKey: 'LearningTrackProgressWidget',
61
+ },
62
+ targets: ['react'],
63
+ };
56
64
 
57
65
  export const learningJourneyPresentations = [
58
66
  LearningTrackListPresentation,