@contractspec/example.learning-journey-ui-shared 1.59.0 → 1.60.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.
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
5
  [contractspec-bun-build] transpile target=bun root=src entries=12
6
- Bundled 12 modules in 33ms
6
+ Bundled 12 modules in 15ms
7
7
 
8
8
  components/BadgeDisplay.js 1.79 KB (entry point)
9
9
  ./index.js 10.32 KB (entry point)
@@ -19,7 +19,7 @@ Bundled 12 modules in 33ms
19
19
  ./example.js 0.91 KB (entry point)
20
20
 
21
21
  [contractspec-bun-build] transpile target=node root=src entries=12
22
- Bundled 12 modules in 16ms
22
+ Bundled 12 modules in 20ms
23
23
 
24
24
  components/BadgeDisplay.js 1.78 KB (entry point)
25
25
  ./index.js 10.30 KB (entry point)
@@ -35,7 +35,7 @@ Bundled 12 modules in 16ms
35
35
  ./example.js 0.90 KB (entry point)
36
36
 
37
37
  [contractspec-bun-build] transpile target=browser root=src entries=12
38
- Bundled 12 modules in 15ms
38
+ Bundled 12 modules in 24ms
39
39
 
40
40
  components/BadgeDisplay.js 1.78 KB (entry point)
41
41
  ./index.js 10.30 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @contractspec/example.learning-journey-ui-shared
2
2
 
3
+ ## 1.60.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fix: publish with bun
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @contractspec/module.learning-journey@1.60.0
13
+ - @contractspec/lib.design-system@1.60.0
14
+ - @contractspec/lib.ui-kit-web@1.60.0
15
+ - @contractspec/lib.contracts@1.60.0
16
+
3
17
  ## 1.59.0
4
18
 
5
19
  ### Minor Changes
package/package.json CHANGED
@@ -1,25 +1,115 @@
1
1
  {
2
2
  "name": "@contractspec/example.learning-journey-ui-shared",
3
- "version": "1.59.0",
3
+ "version": "1.60.0",
4
4
  "description": "Shared UI components and hooks for learning journey mini-apps.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
8
- ".": "./src/index.ts",
9
- "./components": "./src/components/index.ts",
10
- "./components/BadgeDisplay": "./src/components/BadgeDisplay.tsx",
11
- "./components/index": "./src/components/index.ts",
12
- "./components/StreakCounter": "./src/components/StreakCounter.tsx",
13
- "./components/ViewTabs": "./src/components/ViewTabs.tsx",
14
- "./components/XpBar": "./src/components/XpBar.tsx",
15
- "./docs": "./src/docs/index.ts",
16
- "./docs/index": "./src/docs/index.ts",
17
- "./docs/learning-journey-ui-shared.docblock": "./src/docs/learning-journey-ui-shared.docblock.ts",
18
- "./example": "./src/example.ts",
19
- "./hooks": "./src/hooks/index.ts",
20
- "./hooks/index": "./src/hooks/index.ts",
21
- "./hooks/useLearningProgress": "./src/hooks/useLearningProgress.ts",
22
- "./types": "./src/types.ts"
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "bun": "./dist/index.js",
11
+ "node": "./dist/node/index.mjs",
12
+ "browser": "./dist/browser/index.js",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "./components": {
16
+ "types": "./dist/components/index.d.ts",
17
+ "bun": "./dist/components/index.js",
18
+ "node": "./dist/node/components/index.mjs",
19
+ "browser": "./dist/browser/components/index.js",
20
+ "default": "./dist/components/index.js"
21
+ },
22
+ "./components/BadgeDisplay": {
23
+ "types": "./dist/components/BadgeDisplay.d.ts",
24
+ "bun": "./dist/components/BadgeDisplay.js",
25
+ "node": "./dist/node/components/BadgeDisplay.mjs",
26
+ "browser": "./dist/browser/components/BadgeDisplay.js",
27
+ "default": "./dist/components/BadgeDisplay.js"
28
+ },
29
+ "./components/index": {
30
+ "types": "./dist/components/index.d.ts",
31
+ "bun": "./dist/components/index.js",
32
+ "node": "./dist/node/components/index.mjs",
33
+ "browser": "./dist/browser/components/index.js",
34
+ "default": "./dist/components/index.js"
35
+ },
36
+ "./components/StreakCounter": {
37
+ "types": "./dist/components/StreakCounter.d.ts",
38
+ "bun": "./dist/components/StreakCounter.js",
39
+ "node": "./dist/node/components/StreakCounter.mjs",
40
+ "browser": "./dist/browser/components/StreakCounter.js",
41
+ "default": "./dist/components/StreakCounter.js"
42
+ },
43
+ "./components/ViewTabs": {
44
+ "types": "./dist/components/ViewTabs.d.ts",
45
+ "bun": "./dist/components/ViewTabs.js",
46
+ "node": "./dist/node/components/ViewTabs.mjs",
47
+ "browser": "./dist/browser/components/ViewTabs.js",
48
+ "default": "./dist/components/ViewTabs.js"
49
+ },
50
+ "./components/XpBar": {
51
+ "types": "./dist/components/XpBar.d.ts",
52
+ "bun": "./dist/components/XpBar.js",
53
+ "node": "./dist/node/components/XpBar.mjs",
54
+ "browser": "./dist/browser/components/XpBar.js",
55
+ "default": "./dist/components/XpBar.js"
56
+ },
57
+ "./docs": {
58
+ "types": "./dist/docs/index.d.ts",
59
+ "bun": "./dist/docs/index.js",
60
+ "node": "./dist/node/docs/index.mjs",
61
+ "browser": "./dist/browser/docs/index.js",
62
+ "default": "./dist/docs/index.js"
63
+ },
64
+ "./docs/index": {
65
+ "types": "./dist/docs/index.d.ts",
66
+ "bun": "./dist/docs/index.js",
67
+ "node": "./dist/node/docs/index.mjs",
68
+ "browser": "./dist/browser/docs/index.js",
69
+ "default": "./dist/docs/index.js"
70
+ },
71
+ "./docs/learning-journey-ui-shared.docblock": {
72
+ "types": "./dist/docs/learning-journey-ui-shared.docblock.d.ts",
73
+ "bun": "./dist/docs/learning-journey-ui-shared.docblock.js",
74
+ "node": "./dist/node/docs/learning-journey-ui-shared.docblock.mjs",
75
+ "browser": "./dist/browser/docs/learning-journey-ui-shared.docblock.js",
76
+ "default": "./dist/docs/learning-journey-ui-shared.docblock.js"
77
+ },
78
+ "./example": {
79
+ "types": "./dist/example.d.ts",
80
+ "bun": "./dist/example.js",
81
+ "node": "./dist/node/example.mjs",
82
+ "browser": "./dist/browser/example.js",
83
+ "default": "./dist/example.js"
84
+ },
85
+ "./hooks": {
86
+ "types": "./dist/hooks/index.d.ts",
87
+ "bun": "./dist/hooks/index.js",
88
+ "node": "./dist/node/hooks/index.mjs",
89
+ "browser": "./dist/browser/hooks/index.js",
90
+ "default": "./dist/hooks/index.js"
91
+ },
92
+ "./hooks/index": {
93
+ "types": "./dist/hooks/index.d.ts",
94
+ "bun": "./dist/hooks/index.js",
95
+ "node": "./dist/node/hooks/index.mjs",
96
+ "browser": "./dist/browser/hooks/index.js",
97
+ "default": "./dist/hooks/index.js"
98
+ },
99
+ "./hooks/useLearningProgress": {
100
+ "types": "./dist/hooks/useLearningProgress.d.ts",
101
+ "bun": "./dist/hooks/useLearningProgress.js",
102
+ "node": "./dist/node/hooks/useLearningProgress.mjs",
103
+ "browser": "./dist/browser/hooks/useLearningProgress.js",
104
+ "default": "./dist/hooks/useLearningProgress.js"
105
+ },
106
+ "./types": {
107
+ "types": "./dist/types.d.ts",
108
+ "bun": "./dist/types.js",
109
+ "node": "./dist/node/types.mjs",
110
+ "browser": "./dist/browser/types.js",
111
+ "default": "./dist/types.js"
112
+ }
23
113
  },
24
114
  "scripts": {
25
115
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
@@ -37,17 +127,17 @@
37
127
  "typecheck": "tsc --noEmit"
38
128
  },
39
129
  "dependencies": {
40
- "@contractspec/lib.contracts": "1.59.0",
41
- "@contractspec/module.learning-journey": "1.59.0",
42
- "@contractspec/lib.design-system": "1.59.0",
43
- "@contractspec/lib.ui-kit-web": "1.59.0",
130
+ "@contractspec/lib.contracts": "1.60.0",
131
+ "@contractspec/module.learning-journey": "1.60.0",
132
+ "@contractspec/lib.design-system": "1.60.0",
133
+ "@contractspec/lib.ui-kit-web": "1.60.0",
44
134
  "react": "19.2.4"
45
135
  },
46
136
  "devDependencies": {
47
- "@contractspec/tool.typescript": "1.59.0",
137
+ "@contractspec/tool.typescript": "1.60.0",
48
138
  "@types/react": "^19.2.13",
49
139
  "typescript": "^5.9.3",
50
- "@contractspec/tool.bun": "1.58.0"
140
+ "@contractspec/tool.bun": "1.59.0"
51
141
  },
52
142
  "peerDependencies": {
53
143
  "react": "^19.2.4"