use-vibes 0.12.15-dev07 → 0.12.15-dev09

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 (2) hide show
  1. package/RELEASE-NOTES.md +13 -25
  2. package/package.json +2 -2
package/RELEASE-NOTES.md CHANGED
@@ -1,33 +1,21 @@
1
1
  # Release Notes for use-vibes Package
2
2
 
3
- ## Dev Branch Changes (jchris/selem-sharing)
3
+ ## Recent Changes
4
4
 
5
- ### ⚠️ IMPORTANT: Pre-release Cleanup Required
5
+ ### DOM Preservation Fix for mountVibesApp
6
6
 
7
- **Before releasing to latest npm tag, revert the following change:**
7
+ - **Fixed**: `mountVibesApp` now preserves original DOM nodes instead of cloning with `innerHTML`
8
+ - **Benefit**: Interactive elements (buttons, forms, React components) maintain their event handlers and state after mounting
9
+ - **Test**: Enhanced `MountVibesAppExample` with interactive test elements to verify DOM preservation
8
10
 
9
- - **File**: `use-vibes/pkg/package.json`
10
- - **Change**: The `-x '^'` flag was removed from the `pack` and `publish` scripts
11
- - **Current**: `"publish": "core-cli build"`
12
- - **Should be**: `"publish": "core-cli build -x '^'"`
11
+ ### Enhanced Test Coverage
13
12
 
14
- **Reason**: The caret removal was needed for dev testing to fix ESM.sh dependency resolution conflicts, but production releases should maintain semver ranges for proper dependency management.
13
+ - **Added**: Interactive test elements in `MountVibesAppExample.tsx`
14
+ - **Added**: Comprehensive Playwright tests for visual behavior validation
15
+ - **Improved**: Better verification that DOM wrapping preserves interactivity
15
16
 
16
- ### Changes Made for Dev Testing
17
+ ### Code Quality Improvements
17
18
 
18
- 1. **React useId Conflict Fix**: Replaced `useId()` with simple counter in enhanced useFireproof hook
19
- 2. **Caret Removal**: Temporarily removed `-x '^'` flag to publish exact versions instead of semver ranges
20
- 3. **Import Map Updates**: Added cache-busting parameters for ai-builder-hosting project testing
21
-
22
- ### Files Modified
23
-
24
- - `use-vibes/base/index.ts` - React conflict fix (keep this)
25
- - `use-vibes/pkg/package.json` - Build script changes (REVERT before production)
26
- - `ai-builder-hosting/src/config/library-import-map.json` - Testing changes (project-specific)
27
-
28
- ## Testing Status
29
-
30
- - ✅ React useId conflict resolved
31
- - ✅ Enhanced useFireproof hook working in dev environment
32
- - 🧪 ESM.sh dependency resolution testing in progress
33
- - ⏳ End-to-end sharing functionality validation pending
19
+ - **Fixed**: Removed unused imports and variables in `MountVibesAppExample.tsx`
20
+ - **Fixed**: Proper `ExampleKey` type definition to avoid broken imports
21
+ - **Enhanced**: CI/CD publishing pipeline with fail-fast behavior for atomic releases
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "use-vibes",
3
- "version": "0.12.15-dev07",
3
+ "version": "0.12.15-dev09",
4
4
  "type": "module",
5
5
  "description": "Transform any DOM element into an AI-powered micro-app",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@vibes.diy/use-vibes-base": "0.12.15-dev07",
21
+ "@vibes.diy/use-vibes-base": "^0.12.15-dev09",
22
22
  "react-dom": "~19.1.0"
23
23
  },
24
24
  "peerDependencies": {