|
|
fa9ae3b9ff
|
build: configure npm package for publication
Phase 4-5 Complete:
- ✅ Updated package.json to v1.0.0 with proper entry points
- ✅ Added peer dependency on marked.js (^11.0.0 || ^12.0.0 || ^13.0.0)
- ✅ Set module type to ESM to fix Rollup warnings
- ✅ Configured files array for distribution (dist/ only)
- ✅ Added prepublishOnly script (build + test)
- ✅ Created .npmignore to exclude dev files
- ✅ Created CHANGELOG.md following Keep a Changelog format
Package details:
- Main: dist/testdrive-jsui.cjs.js (CommonJS)
- Module: dist/testdrive-jsui.esm.js (ES Module)
- Browser: dist/testdrive-jsui.min.js (107KB minified)
- Style: dist/testdrive-jsui.css
- Total package size: 445.9 KB (13 files)
npm pack --dry-run verified successfully!
|
2025-12-16 22:46:31 +01:00 |
|
|
|
a7856f4b20
|
build: implement bundling system with Rollup
Phase 1-3 Complete:
- ✅ Installed Rollup with all required plugins
- ✅ Created rollup.config.js for UMD, ESM, CJS builds
- ✅ Created src/index.js entry point
- ✅ Created src/styles.css for CSS bundling
- ✅ Added ES6 exports to debug-system.js
- ✅ Excluded Node.js-only html-generator.js from bundle
Build outputs:
- dist/testdrive-jsui.js (217KB UMD)
- dist/testdrive-jsui.min.js (107KB minified!)
- dist/testdrive-jsui.esm.js (199KB ES Module)
- dist/testdrive-jsui.cjs.js (199KB CommonJS)
- dist/testdrive-jsui.css (minified, all styles inlined)
All builds include source maps for debugging.
|
2025-12-16 22:42:37 +01:00 |
|
|
|
891d785533
|
Complete Phase 1 & 3: TestDrive-JSUI capability migration
Phase 1 - File Migration:
- Copy missing files to capability (document-controls.js, test-document-navigator.js)
- Create legacy compatibility wrapper (document-controls-legacy.js)
- Install jest-environment-jsdom dependency
- All 84 automated tests passing (68 JS + 15 Python + 1 fixes)
Phase 3 - Template Updates:
- Update MIGRATION_STATUS.md with Phase 3 completion status
- Update CLAUDE.md with migration completion details
- Document verification results for both view and edit modes
Migration Status:
- All 24 original JavaScript files now in capability ✅
- File verification: 20 identical, 4 intentionally different ✅
- Test coverage: 59.11% (exceeds 58% requirement) ✅
- Ready for Phase 4 cleanup after verification period
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-16 10:19:56 +01:00 |
|
|
|
9d7964f9e5
|
feat: add refactored testdrive-jsui capability with consolidated architecture
Complete integration of refactored testdrive-jsui capability:
## Refactored Architecture
- js/ - All JavaScript source (controls, components, core)
- static/ - CSS, images, templates
- src/testdrive_jsui/ - Python package
- tests/ - Python tests
## Plugin Self-Declaration
- get_plugin_source_dir() - plugin declares own location
- get_asset_paths() - organized asset paths
- No hardcoded discovery logic
## Merged Content
- Baseline UI scaffold (tutorials, LICENSE, INTRODUCTION.md)
- Refactored capability implementation
- Comprehensive documentation
Ready for standalone use or integration with markitect.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-16 00:01:58 +01:00 |
|
|
|
63a59377b8
|
init: seeding the project repo
|
2025-11-03 20:28:51 +01:00 |
|