@pie-element/mc-populated-blank 0.2.8 → 0.2.9

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/README.md CHANGED
@@ -133,6 +133,16 @@ Delivery now exposes stable `pie-*` classes so hosts can theme this element with
133
133
 
134
134
  Same layout as `@pie-element/simple-cloze`: `delivery`, `controller`, `author`, `print`, plus IIFE bundle for script-tag loading.
135
135
 
136
+ ### Builder Compatibility Note
137
+
138
+ This package intentionally ships a root `controller.js` shim:
139
+
140
+ ```js
141
+ export * from './dist/controller/index.js';
142
+ ```
143
+
144
+ Reason: `pie-api-aws` client/editor bundling may resolve `@pie-element/<name>/controller` as a filesystem path rooted at the element package alias. Keeping this shim in the published package ensures compatibility there while `exports["./controller"]` remains the canonical ESM subpath entry.
145
+
136
146
  ```bash
137
147
  bun run build
138
148
  ```
package/controller.js ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/controller/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/mc-populated-blank",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Multiple-choice option populates an inline blank in a sentence template (Svelte 5 PIE element)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -37,7 +37,8 @@
37
37
  },
38
38
  "files": [
39
39
  "dist",
40
- "src"
40
+ "src",
41
+ "controller.js"
41
42
  ],
42
43
  "sideEffects": false,
43
44
  "scripts": {