@dreamboard-games/sdk 0.4.0-alpha.13 → 0.4.0-alpha.14

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 (81) hide show
  1. package/README.md +29 -11
  2. package/dist/authoring/index.d.ts +3 -6
  3. package/dist/authoring/index.js +2 -2
  4. package/dist/authoring-compiler.d.ts +3 -3
  5. package/dist/authoring-compiler.js +3 -4
  6. package/dist/authoring-materialize-cli.js +5 -6
  7. package/dist/authoring-materialize-cli.js.map +1 -1
  8. package/dist/browser-interaction.d.ts +21 -21
  9. package/dist/{chunk-3PFDHTR7.js → chunk-3VSOH3TZ.js} +29 -2
  10. package/dist/chunk-3VSOH3TZ.js.map +1 -0
  11. package/dist/{chunk-OFIDC7DJ.js → chunk-73YISGYO.js} +4 -4
  12. package/dist/chunk-73YISGYO.js.map +1 -0
  13. package/dist/{chunk-YNW3KBDE.js → chunk-7QKE5BFU.js} +2 -2
  14. package/dist/{chunk-KZFHTUI5.js → chunk-CHOXM43O.js} +4 -4
  15. package/dist/chunk-CSIEFYTC.js +9 -0
  16. package/dist/chunk-CSIEFYTC.js.map +1 -0
  17. package/dist/{chunk-MLFHVYF7.js → chunk-KH6AET7P.js} +4 -4
  18. package/dist/chunk-KH6AET7P.js.map +1 -0
  19. package/dist/{chunk-MPVC2SU6.js → chunk-LMHCGCA6.js} +2 -2
  20. package/dist/{chunk-WAQUD4IG.js → chunk-NLZDRIVW.js} +16 -16
  21. package/dist/{chunk-5XTAQ4EQ.js → chunk-TO6WRLRN.js} +2 -2
  22. package/dist/{chunk-42HQLHVA.js → chunk-VJVKGWHW.js} +4 -7
  23. package/dist/chunk-VJVKGWHW.js.map +1 -0
  24. package/dist/{chunk-YOLIZMXR.js → chunk-VRRR6QZT.js} +3 -3
  25. package/dist/{chunk-YOLIZMXR.js.map → chunk-VRRR6QZT.js.map} +1 -1
  26. package/dist/{chunk-XDGRC6OR.js → chunk-WASWAYYX.js} +3 -3
  27. package/dist/{chunk-7JBPOJOF.js → chunk-ZGQGFXFG.js} +9 -9
  28. package/dist/{index.d-C7Ztirg6.d.ts → index.d-90ms7Mwh.d.ts} +124 -115
  29. package/dist/index.js +2 -2
  30. package/dist/package-set.d.ts +2 -2
  31. package/dist/package-set.js +2 -2
  32. package/dist/reducer/advanced.js +3 -3
  33. package/dist/reducer-contract.d.ts +1 -1
  34. package/dist/reducer-contract.js +3 -1
  35. package/dist/reducer.d.ts +1 -1
  36. package/dist/reducer.js +3 -3
  37. package/dist/reference-games/index.d.ts +29 -11
  38. package/dist/reference-games/index.js +43 -45
  39. package/dist/reference-games/index.js.map +1 -1
  40. package/dist/runtime/primitives.js +4 -4
  41. package/dist/runtime/workspace-contract.js +8 -8
  42. package/dist/runtime.js +12 -12
  43. package/dist/testing-compiler.d.ts +1 -1
  44. package/dist/testing-compiler.js +1 -4
  45. package/dist/testing-compiler.js.map +1 -1
  46. package/dist/testing-runtime.d.ts +3 -3
  47. package/dist/testing-runtime.js +5 -5
  48. package/dist/testing.d.ts +5 -140
  49. package/dist/testing.js +5 -450
  50. package/dist/testing.js.map +1 -1
  51. package/dist/{types-B-FI0jrx.d.ts → types-Cs_Jp0cf.d.ts} +1 -1
  52. package/dist/ui/components.js +1 -1
  53. package/dist/ui.js +2 -2
  54. package/package.json +22 -29
  55. package/REFERENCE.md +0 -25375
  56. package/dist/chunk-3PFDHTR7.js.map +0 -1
  57. package/dist/chunk-42HQLHVA.js.map +0 -1
  58. package/dist/chunk-MLFHVYF7.js.map +0 -1
  59. package/dist/chunk-OFIDC7DJ.js.map +0 -1
  60. package/dist/chunk-THWT4V3Z.js +0 -12
  61. package/dist/chunk-THWT4V3Z.js.map +0 -1
  62. package/dist/chunk-UNVCT5Z7.js +0 -73
  63. package/dist/chunk-UNVCT5Z7.js.map +0 -1
  64. package/dist/chunk-UTSBXZAM.js +0 -435
  65. package/dist/chunk-UTSBXZAM.js.map +0 -1
  66. package/dist/chunk-YN5W67YL.js +0 -174
  67. package/dist/chunk-YN5W67YL.js.map +0 -1
  68. package/dist/reference-game-compiler.d.ts +0 -45
  69. package/dist/reference-game-compiler.js +0 -25
  70. package/dist/reference-game-compiler.js.map +0 -1
  71. package/dist/reference-game-source-manifest-cli.d.ts +0 -1
  72. package/dist/reference-game-source-manifest-cli.js +0 -84
  73. package/dist/reference-game-source-manifest-cli.js.map +0 -1
  74. package/dist/schema-CJc0UfjJ.d.ts +0 -216
  75. /package/dist/{chunk-YNW3KBDE.js.map → chunk-7QKE5BFU.js.map} +0 -0
  76. /package/dist/{chunk-KZFHTUI5.js.map → chunk-CHOXM43O.js.map} +0 -0
  77. /package/dist/{chunk-MPVC2SU6.js.map → chunk-LMHCGCA6.js.map} +0 -0
  78. /package/dist/{chunk-WAQUD4IG.js.map → chunk-NLZDRIVW.js.map} +0 -0
  79. /package/dist/{chunk-5XTAQ4EQ.js.map → chunk-TO6WRLRN.js.map} +0 -0
  80. /package/dist/{chunk-XDGRC6OR.js.map → chunk-WASWAYYX.js.map} +0 -0
  81. /package/dist/{chunk-7JBPOJOF.js.map → chunk-ZGQGFXFG.js.map} +0 -0
@@ -106,7 +106,7 @@ import {
106
106
  useOverlayInsets,
107
107
  useRegisterBottomOverlayInset,
108
108
  useRegisterMobileHand
109
- } from "../chunk-YOLIZMXR.js";
109
+ } from "../chunk-VRRR6QZT.js";
110
110
  import "../chunk-VDXOF4FW.js";
111
111
  import "../chunk-PZ5AY32C.js";
112
112
  export {
package/dist/ui.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  parseHexColor,
6
6
  toTrackBoardData,
7
7
  useBoardTheme
8
- } from "./chunk-MPVC2SU6.js";
8
+ } from "./chunk-LMHCGCA6.js";
9
9
  import {
10
10
  ActionButton,
11
11
  ActionGroup,
@@ -137,7 +137,7 @@ import {
137
137
  useTheme,
138
138
  useThemeCssVars,
139
139
  visualStateDataAttributes
140
- } from "./chunk-YOLIZMXR.js";
140
+ } from "./chunk-VRRR6QZT.js";
141
141
  import "./chunk-VDXOF4FW.js";
142
142
  import "./chunk-PZ5AY32C.js";
143
143
  export {
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@dreamboard-games/sdk",
3
- "version": "0.4.0-alpha.13",
3
+ "version": "0.4.0-alpha.14",
4
4
  "description": "Dreamboard SDK package set metadata and public facade",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "bin": {
9
- "dreamboard-sdk-materialize": "./dist/authoring-materialize-cli.js",
10
- "dreamboard-reference-games-source-manifest": "./dist/reference-game-source-manifest-cli.js"
9
+ "dreamboard-sdk-materialize": "./dist/authoring-materialize-cli.js"
11
10
  },
12
11
  "exports": {
13
12
  ".": {
@@ -123,11 +122,6 @@
123
122
  "import": "./dist/authoring-compiler.js",
124
123
  "default": "./dist/authoring-compiler.js"
125
124
  },
126
- "./reference-game-compiler": {
127
- "types": "./dist/reference-game-compiler.d.ts",
128
- "import": "./dist/reference-game-compiler.js",
129
- "default": "./dist/reference-game-compiler.js"
130
- },
131
125
  "./browser-interaction": {
132
126
  "types": "./dist/browser-interaction.d.ts",
133
127
  "import": "./dist/browser-interaction.js",
@@ -139,21 +133,9 @@
139
133
  "LICENSE.md",
140
134
  "dist",
141
135
  "README.md",
142
- "REFERENCE.md",
143
136
  "!.turbo/**",
144
137
  "!tsconfig.tsbuildinfo"
145
138
  ],
146
- "scripts": {
147
- "build": "pnpm --dir ../.. authoring-metadata:generate && tsup && node ../../scripts/copy-sdk-private-dts.mjs && mkdir -p dist/ui && tailwindcss -i src/ui/plugin-styles.css -o dist/ui/plugin-styles.css --minify",
148
- "typecheck": "tsc --noEmit && tsc -p tsconfig.testing-contract.json",
149
- "lint": "eslint 'src/**/*.{ts,tsx}'",
150
- "storybook": "storybook dev -p 6006 --host 127.0.0.1 --no-open",
151
- "storybook:build": "storybook build -o storybook-static",
152
- "storybook:test": "concurrently -k -s first -n storybook,test \"http-server storybook-static -p 6006 -s --silent\" \"wait-on tcp:6006 && test-storybook --url http://127.0.0.1:6006\"",
153
- "storybook:test:visual": "playwright test --config .storybook/visual-runner.config.ts",
154
- "storybook:test:visual:update": "playwright test --config .storybook/visual-runner.config.ts --update-snapshots",
155
- "test": "bun test src"
156
- },
157
139
  "dependencies": {
158
140
  "@radix-ui/react-accordion": "^1.2.14",
159
141
  "@radix-ui/react-dialog": "^1.1.17",
@@ -170,10 +152,6 @@
170
152
  "zustand": "^5.0.14"
171
153
  },
172
154
  "devDependencies": {
173
- "@dreamboard-games/plugin-runtime-contract": "workspace:*",
174
- "@dreamboard-games/reducer-contract": "workspace:*",
175
- "@dreamboard-games/sdk-types": "workspace:*",
176
- "@dreamboard-games/workspace-codegen": "workspace:*",
177
155
  "@happy-dom/global-registrator": "^20.9.0",
178
156
  "@playwright/test": "1.60.0",
179
157
  "@storybook/addon-a11y": "^10.4.6",
@@ -187,7 +165,7 @@
187
165
  "@types/react-dom": "^19.0.0",
188
166
  "axe-playwright": "2.2.2",
189
167
  "concurrently": "^9.1.0",
190
- "eslint": "^9.39.0",
168
+ "eslint": "^9.39.1",
191
169
  "framer-motion": "^12.40.0",
192
170
  "http-server": "^14.1.1",
193
171
  "playwright": "1.60.0",
@@ -196,10 +174,14 @@
196
174
  "storybook": "^10.4.6",
197
175
  "tailwindcss": "^4.3.1",
198
176
  "tsup": "^8.5.0",
199
- "typescript": "^5.9.2",
177
+ "typescript": "^5.9.3",
200
178
  "vite": "8.0.16",
201
179
  "wait-on": "^8.0.1",
202
- "zod": "4.4.3"
180
+ "zod": "4.4.3",
181
+ "@dreamboard-games/reducer-contract": "0.4.0",
182
+ "@dreamboard-games/workspace-codegen": "0.3.0-alpha.0",
183
+ "@dreamboard-games/sdk-types": "0.2.0",
184
+ "@dreamboard-games/plugin-runtime-contract": "0.1.0"
203
185
  },
204
186
  "peerDependencies": {
205
187
  "framer-motion": "^11.0.0 || ^12.0.0",
@@ -224,5 +206,16 @@
224
206
  "sdk",
225
207
  "package-set"
226
208
  ],
227
- "license": "SEE LICENSE IN LICENSE.md"
228
- }
209
+ "license": "SEE LICENSE IN LICENSE.md",
210
+ "scripts": {
211
+ "build": "tsup && node ../../scripts/package.ts copy-declarations && mkdir -p dist/ui && tailwindcss -i src/ui/plugin-styles.css -o dist/ui/plugin-styles.css --minify",
212
+ "typecheck": "tsc --noEmit && tsc -p tsconfig.testing-contract.json",
213
+ "lint": "eslint 'src/**/*.{ts,tsx}'",
214
+ "storybook": "storybook dev -p 6006 --host 127.0.0.1 --no-open",
215
+ "storybook:build": "storybook build -o storybook-static",
216
+ "storybook:test": "concurrently -k -s first -n storybook,test \"http-server storybook-static -p 6006 -s --silent\" \"wait-on tcp:6006 && test-storybook --url http://127.0.0.1:6006\"",
217
+ "storybook:test:visual": "playwright test --config .storybook/visual-runner.config.ts",
218
+ "storybook:test:visual:update": "playwright test --config .storybook/visual-runner.config.ts --update-snapshots",
219
+ "test": "bun test src"
220
+ }
221
+ }