@contractspec/example.learning-journey-platform-tour 1.47.0 → 1.48.0

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.
@@ -19,7 +19,7 @@ $ tsdown
19
19
  ℹ dist/operations/index.js.map 6.35 kB │ gzip: 1.59 kB
20
20
  ℹ dist/track.js.map 4.47 kB │ gzip: 1.24 kB
21
21
  ℹ dist/learning-journey-platform-tour.feature.js.map 2.86 kB │ gzip: 1.02 kB
22
- ℹ dist/presentations/index.js.map 2.17 kB │ gzip: 0.86 kB
22
+ ℹ dist/presentations/index.js.map 2.18 kB │ gzip: 0.87 kB
23
23
  ℹ dist/docs/platform-tour.docblock.js.map 2.01 kB │ gzip: 0.97 kB
24
24
  ℹ dist/handlers/demo.handlers.js.map 1.65 kB │ gzip: 0.72 kB
25
25
  ℹ dist/example.js.map 1.52 kB │ gzip: 0.72 kB
@@ -41,5 +41,5 @@ $ tsdown
41
41
  ℹ dist/example.d.ts 0.25 kB │ gzip: 0.17 kB
42
42
  ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
43
43
  ℹ dist/docs/platform-tour.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
44
- ℹ 35 files, total: 53.40 kB
45
- ✔ Build complete in 25384ms
44
+ ℹ 35 files, total: 53.41 kB
45
+ ✔ Build complete in 23012ms
@@ -20,7 +20,7 @@ $ tsdown
20
20
  ℹ dist/operations/index.js.map 6.35 kB │ gzip: 1.59 kB
21
21
  ℹ dist/track.js.map 4.47 kB │ gzip: 1.24 kB
22
22
  ℹ dist/learning-journey-platform-tour.feature.js.map 2.86 kB │ gzip: 1.02 kB
23
- ℹ dist/presentations/index.js.map 2.17 kB │ gzip: 0.86 kB
23
+ ℹ dist/presentations/index.js.map 2.18 kB │ gzip: 0.87 kB
24
24
  ℹ dist/docs/platform-tour.docblock.js.map 2.01 kB │ gzip: 0.97 kB
25
25
  ℹ dist/handlers/demo.handlers.js.map 1.65 kB │ gzip: 0.72 kB
26
26
  ℹ dist/example.js.map 1.52 kB │ gzip: 0.72 kB
@@ -42,5 +42,5 @@ $ tsdown
42
42
  ℹ dist/example.d.ts 0.25 kB │ gzip: 0.17 kB
43
43
  ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
44
44
  ℹ dist/docs/platform-tour.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
45
- ℹ 35 files, total: 53.40 kB
46
- ✔ Build complete in 25374ms
45
+ ℹ 35 files, total: 53.41 kB
46
+ ✔ Build complete in 26321ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @contractspec/example.learning-journey-platform-tour
2
2
 
3
+ ## 1.48.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b0444a4: feat: reduce adoption's friction by allowing generation of contracts from an analyse of the codebase
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [b0444a4]
12
+ - @contractspec/module.learning-journey@1.48.0
13
+ - @contractspec/lib.contracts@1.48.0
14
+ - @contractspec/lib.schema@1.48.0
15
+
3
16
  ## 1.47.0
4
17
 
5
18
  ### Minor Changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":[],"mappings":";;;cAgBa,+BAcX,4BAAA,CAdwC;cAgB7B,gCAaX,4BAAA,CAbyC;cAe9B,2BAGZ,4BAAA,CAHqC,gBAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":[],"mappings":";;;cAoBa,+BAcX,4BAAA,CAdwC;cAgB7B,gCAaX,4BAAA,CAbyC;cAe9B,2BAGZ,4BAAA,CAHqC,gBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":["import { definePresentation, StabilityEnum, type PresentationSpecMeta } from '@contractspec/lib.contracts';\nimport { PlatformTourTrackModel } from '../operations';\n\nconst baseMeta: Pick<\n PresentationSpecMeta,\n 'domain' | 'owners' | 'tags' | 'title' | 'stability' | 'goal' | 'context'\n> = {\n domain: 'learning-journey',\n title: 'Platform Tour',\n owners: ['@examples.learning-journey.platform-tour'],\n tags: ['learning', 'platform', 'tour'],\n stability: StabilityEnum.Experimental,\n goal: 'Visualize platform tour progress',\n context: 'Used in platform tour dashboard and widgets',\n};\n\nexport const PlatformTourTrackPresentation = definePresentation({\n meta: {\n key: 'learning.journey.platform.track',\n version: '1.0.0',\n description: 'Platform primitives tour track detail',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackDetail',\n props: PlatformTourTrackModel,\n },\n targets: ['react', 'markdown', 'application/json'],\n});\n\nexport const PlatformTourWidgetPresentation = definePresentation({\n meta: {\n key: 'learning.journey.platform.widget',\n version: '1.0.0',\n description: 'Compact widget for platform tour progress',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackProgressWidget',\n },\n targets: ['react'],\n});\n\nexport const platformTourPresentations = [\n PlatformTourTrackPresentation,\n PlatformTourWidgetPresentation,\n];\n"],"mappings":";;;;AAGA,MAAM,WAGF;CACF,QAAQ;CACR,OAAO;CACP,QAAQ,CAAC,2CAA2C;CACpD,MAAM;EAAC;EAAY;EAAY;EAAO;CACtC,WAAW,cAAc;CACzB,MAAM;CACN,SAAS;CACV;AAED,MAAa,gCAAgC,mBAAmB;CAC9D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS;EAAC;EAAS;EAAY;EAAmB;CACnD,CAAC;AAEF,MAAa,iCAAiC,mBAAmB;CAC/D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB,CAAC;AAEF,MAAa,4BAA4B,CACvC,+BACA,+BACD"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":["import {\n definePresentation,\n StabilityEnum,\n type PresentationSpecMeta,\n} from '@contractspec/lib.contracts';\nimport { PlatformTourTrackModel } from '../operations';\n\nconst baseMeta: Pick<\n PresentationSpecMeta,\n 'domain' | 'owners' | 'tags' | 'title' | 'stability' | 'goal' | 'context'\n> = {\n domain: 'learning-journey',\n title: 'Platform Tour',\n owners: ['@examples.learning-journey.platform-tour'],\n tags: ['learning', 'platform', 'tour'],\n stability: StabilityEnum.Experimental,\n goal: 'Visualize platform tour progress',\n context: 'Used in platform tour dashboard and widgets',\n};\n\nexport const PlatformTourTrackPresentation = definePresentation({\n meta: {\n key: 'learning.journey.platform.track',\n version: '1.0.0',\n description: 'Platform primitives tour track detail',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackDetail',\n props: PlatformTourTrackModel,\n },\n targets: ['react', 'markdown', 'application/json'],\n});\n\nexport const PlatformTourWidgetPresentation = definePresentation({\n meta: {\n key: 'learning.journey.platform.widget',\n version: '1.0.0',\n description: 'Compact widget for platform tour progress',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackProgressWidget',\n },\n targets: ['react'],\n});\n\nexport const platformTourPresentations = [\n PlatformTourTrackPresentation,\n PlatformTourWidgetPresentation,\n];\n"],"mappings":";;;;AAOA,MAAM,WAGF;CACF,QAAQ;CACR,OAAO;CACP,QAAQ,CAAC,2CAA2C;CACpD,MAAM;EAAC;EAAY;EAAY;EAAO;CACtC,WAAW,cAAc;CACzB,MAAM;CACN,SAAS;CACV;AAED,MAAa,gCAAgC,mBAAmB;CAC9D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS;EAAC;EAAS;EAAY;EAAmB;CACnD,CAAC;AAEF,MAAa,iCAAiC,mBAAmB;CAC/D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB,CAAC;AAEF,MAAa,4BAA4B,CACvC,+BACA,+BACD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.learning-journey-platform-tour",
3
- "version": "1.47.0",
3
+ "version": "1.48.0",
4
4
  "description": "Learning journey track covering ContractSpec platform primitives.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -30,13 +30,13 @@
30
30
  "lint:check": "eslint src"
31
31
  },
32
32
  "dependencies": {
33
- "@contractspec/lib.contracts": "1.47.0",
34
- "@contractspec/lib.schema": "1.47.0",
35
- "@contractspec/module.learning-journey": "1.47.0"
33
+ "@contractspec/lib.contracts": "1.48.0",
34
+ "@contractspec/lib.schema": "1.48.0",
35
+ "@contractspec/module.learning-journey": "1.48.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@contractspec/tool.tsdown": "1.47.0",
39
- "@contractspec/tool.typescript": "1.47.0",
38
+ "@contractspec/tool.tsdown": "1.48.0",
39
+ "@contractspec/tool.typescript": "1.48.0",
40
40
  "tsdown": "^0.19.0",
41
41
  "typescript": "^5.9.3"
42
42
  },
@@ -1,4 +1,8 @@
1
- import { definePresentation, StabilityEnum, type PresentationSpecMeta } from '@contractspec/lib.contracts';
1
+ import {
2
+ definePresentation,
3
+ StabilityEnum,
4
+ type PresentationSpecMeta,
5
+ } from '@contractspec/lib.contracts';
2
6
  import { PlatformTourTrackModel } from '../operations';
3
7
 
4
8
  const baseMeta: Pick<