generated from coulomb/repo-seed
refactor: complete post-migration cleanup
Implemented all cleanup items from CLEANUP_REPORT.md: Legacy Code Removal: - Removed document-controls-legacy.js wrapper - Updated 4 test files to use DocumentControls directly - Updated scripts/list_components.py acronym mappings - Updated tests/test_component_listing.py expectations Archive and Organization: - Moved relicts/ to docs/prototypes/ with README explaining history - Moved MIGRATION_STATUS.md to docs/migration/ - Removed IMPLEMENTATION_NOTES.md legacy references Test Verification: - All 68 JavaScript tests passing (Jest) - All 3 Python component tests passing - No breaking changes to functionality The codebase is now cleaner with no legacy wrappers or empty directories. Migration is complete and documented. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
/**
|
||||
* Legacy wrapper for DocumentControls
|
||||
*
|
||||
* This file provides backward compatibility for tests that reference
|
||||
* DocumentControlsLegacy. It simply re-exports the current DocumentControls
|
||||
* implementation with the legacy name.
|
||||
*/
|
||||
|
||||
const { DocumentControls } = require('./document-controls.js');
|
||||
|
||||
// Re-export as legacy name for backward compatibility
|
||||
const DocumentControlsLegacy = DocumentControls;
|
||||
|
||||
// Export for use in tests and other modules
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = { DocumentControlsLegacy };
|
||||
}
|
||||
|
||||
// Export for browser use
|
||||
if (typeof window !== 'undefined') {
|
||||
window.DocumentControlsLegacy = DocumentControls;
|
||||
}
|
||||
Reference in New Issue
Block a user