@contractspec/example.learning-journey-registry 1.46.1 → 1.48.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$colon$bundle.log +18 -18
- package/.turbo/turbo-build.log +18 -18
- package/CHANGELOG.md +91 -0
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js.map +1 -1
- package/dist/example.d.ts +2 -2
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +4 -2
- package/dist/example.js.map +1 -1
- package/dist/learning-journey-registry.feature.d.ts +2 -2
- package/dist/learning-journey-registry.feature.d.ts.map +1 -1
- package/dist/learning-journey-registry.feature.js +9 -2
- package/dist/learning-journey-registry.feature.js.map +1 -1
- package/dist/presentations/index.d.ts +5 -5
- package/dist/presentations/index.d.ts.map +1 -1
- package/dist/presentations/index.js +7 -7
- package/dist/presentations/index.js.map +1 -1
- package/dist/tracks.js.map +1 -1
- package/dist/ui/LearningMiniApp.js.map +1 -1
- package/package.json +17 -19
- package/src/example.ts +3 -3
- package/src/learning-journey-registry.feature.ts +3 -3
- package/src/presentations/index.ts +10 -10
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.learning-journey-registry",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.1",
|
|
4
4
|
"description": "Registry that aggregates learning journey example tracks.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
6
|
"types": "./dist/index.d.ts",
|
|
8
7
|
"exports": {
|
|
9
8
|
".": "./dist/index.js",
|
|
@@ -34,31 +33,30 @@
|
|
|
34
33
|
"lint:check": "eslint src"
|
|
35
34
|
},
|
|
36
35
|
"dependencies": {
|
|
37
|
-
"@contractspec/lib.contracts": "1.
|
|
38
|
-
"@contractspec/example.learning-journey-ambient-coach": "1.
|
|
39
|
-
"@contractspec/example.learning-journey-duo-drills": "1.
|
|
40
|
-
"@contractspec/example.learning-journey-crm-onboarding": "1.
|
|
41
|
-
"@contractspec/example.learning-journey-platform-tour": "1.
|
|
42
|
-
"@contractspec/example.learning-journey-quest-challenges": "1.
|
|
43
|
-
"@contractspec/example.learning-journey-studio-onboarding": "1.
|
|
44
|
-
"@contractspec/example.learning-journey-ui-shared": "1.
|
|
45
|
-
"@contractspec/example.learning-journey-ui-gamified": "1.
|
|
46
|
-
"@contractspec/example.learning-journey-ui-onboarding": "1.
|
|
47
|
-
"@contractspec/example.learning-journey-ui-coaching": "1.
|
|
48
|
-
"@contractspec/module.learning-journey": "1.
|
|
36
|
+
"@contractspec/lib.contracts": "1.48.1",
|
|
37
|
+
"@contractspec/example.learning-journey-ambient-coach": "1.48.1",
|
|
38
|
+
"@contractspec/example.learning-journey-duo-drills": "1.48.1",
|
|
39
|
+
"@contractspec/example.learning-journey-crm-onboarding": "1.48.1",
|
|
40
|
+
"@contractspec/example.learning-journey-platform-tour": "1.48.1",
|
|
41
|
+
"@contractspec/example.learning-journey-quest-challenges": "1.48.1",
|
|
42
|
+
"@contractspec/example.learning-journey-studio-onboarding": "1.48.1",
|
|
43
|
+
"@contractspec/example.learning-journey-ui-shared": "1.48.1",
|
|
44
|
+
"@contractspec/example.learning-journey-ui-gamified": "1.48.1",
|
|
45
|
+
"@contractspec/example.learning-journey-ui-onboarding": "1.48.1",
|
|
46
|
+
"@contractspec/example.learning-journey-ui-coaching": "1.48.1",
|
|
47
|
+
"@contractspec/module.learning-journey": "1.48.1",
|
|
49
48
|
"react": "19.2.3"
|
|
50
49
|
},
|
|
51
50
|
"devDependencies": {
|
|
52
|
-
"@contractspec/tool.tsdown": "1.
|
|
53
|
-
"@contractspec/tool.typescript": "1.
|
|
54
|
-
"@types/react": "^19.
|
|
55
|
-
"tsdown": "^0.
|
|
51
|
+
"@contractspec/tool.tsdown": "1.48.0",
|
|
52
|
+
"@contractspec/tool.typescript": "1.48.0",
|
|
53
|
+
"@types/react": "^19.2.8",
|
|
54
|
+
"tsdown": "^0.19.0",
|
|
56
55
|
"typescript": "^5.9.3"
|
|
57
56
|
},
|
|
58
57
|
"peerDependencies": {
|
|
59
58
|
"react": "^19.2.3"
|
|
60
59
|
},
|
|
61
|
-
"module": "./dist/index.js",
|
|
62
60
|
"publishConfig": {
|
|
63
61
|
"exports": {
|
|
64
62
|
".": "./dist/index.js",
|
package/src/example.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineExample } from '@contractspec/lib.contracts';
|
|
2
2
|
|
|
3
|
-
const example
|
|
3
|
+
const example = defineExample({
|
|
4
4
|
meta: {
|
|
5
5
|
key: 'learning-journey-registry',
|
|
6
6
|
version: '1.0.0',
|
|
@@ -26,6 +26,6 @@ const example: ExampleSpec = {
|
|
|
26
26
|
studio: { enabled: true, installable: true },
|
|
27
27
|
mcp: { enabled: true },
|
|
28
28
|
},
|
|
29
|
-
};
|
|
29
|
+
});
|
|
30
30
|
|
|
31
31
|
export default example;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Defines the feature module for the learning journey registry.
|
|
5
5
|
*/
|
|
6
|
-
import
|
|
6
|
+
import { defineFeature } from '@contractspec/lib.contracts';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Learning Journey Registry feature module that bundles
|
|
10
10
|
* the shared presentations for learning journey tracks.
|
|
11
11
|
*/
|
|
12
|
-
export const LearningJourneyRegistryFeature
|
|
12
|
+
export const LearningJourneyRegistryFeature = defineFeature({
|
|
13
13
|
meta: {
|
|
14
14
|
key: 'learning-journey-registry',
|
|
15
15
|
version: '1.0.0',
|
|
@@ -61,4 +61,4 @@ export const LearningJourneyRegistryFeature: FeatureModuleSpec = {
|
|
|
61
61
|
capabilities: {
|
|
62
62
|
requires: [{ key: 'identity', version: '1.0.0' }],
|
|
63
63
|
},
|
|
64
|
-
};
|
|
64
|
+
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
definePresentation,
|
|
3
|
+
StabilityEnum,
|
|
4
|
+
type PresentationSpecMeta,
|
|
4
5
|
} from '@contractspec/lib.contracts';
|
|
5
|
-
import { StabilityEnum } from '@contractspec/lib.contracts';
|
|
6
6
|
|
|
7
7
|
const baseMeta: Pick<
|
|
8
8
|
PresentationSpecMeta,
|
|
@@ -17,7 +17,7 @@ const baseMeta: Pick<
|
|
|
17
17
|
context: 'Learning journey section',
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
export const LearningTrackListPresentation
|
|
20
|
+
export const LearningTrackListPresentation = definePresentation({
|
|
21
21
|
meta: {
|
|
22
22
|
key: 'learning.journey.track_list',
|
|
23
23
|
version: '1.0.0',
|
|
@@ -30,9 +30,9 @@ export const LearningTrackListPresentation: PresentationSpec = {
|
|
|
30
30
|
componentKey: 'LearningTrackList',
|
|
31
31
|
},
|
|
32
32
|
targets: ['react', 'markdown'],
|
|
33
|
-
};
|
|
33
|
+
});
|
|
34
34
|
|
|
35
|
-
export const LearningTrackDetailPresentation
|
|
35
|
+
export const LearningTrackDetailPresentation = definePresentation({
|
|
36
36
|
meta: {
|
|
37
37
|
key: 'learning.journey.track_detail',
|
|
38
38
|
version: '1.0.0',
|
|
@@ -45,9 +45,9 @@ export const LearningTrackDetailPresentation: PresentationSpec = {
|
|
|
45
45
|
componentKey: 'LearningTrackDetail',
|
|
46
46
|
},
|
|
47
47
|
targets: ['react', 'markdown', 'application/json'],
|
|
48
|
-
};
|
|
48
|
+
});
|
|
49
49
|
|
|
50
|
-
export const LearningTrackProgressWidgetPresentation
|
|
50
|
+
export const LearningTrackProgressWidgetPresentation = definePresentation({
|
|
51
51
|
meta: {
|
|
52
52
|
key: 'learning.journey.progress_widget',
|
|
53
53
|
version: '1.0.0',
|
|
@@ -60,7 +60,7 @@ export const LearningTrackProgressWidgetPresentation: PresentationSpec = {
|
|
|
60
60
|
componentKey: 'LearningTrackProgressWidget',
|
|
61
61
|
},
|
|
62
62
|
targets: ['react'],
|
|
63
|
-
};
|
|
63
|
+
});
|
|
64
64
|
|
|
65
65
|
export const learningJourneyPresentations = [
|
|
66
66
|
LearningTrackListPresentation,
|