Skip to content

feat: final architecture optimization and version bump to 0.1.4#19

Closed
jsongo wants to merge 1 commit intomainfrom
feat/final-architecture-v0.1.4
Closed

feat: final architecture optimization and version bump to 0.1.4#19
jsongo wants to merge 1 commit intomainfrom
feat/final-architecture-v0.1.4

Conversation

@jsongo
Copy link
Owner

@jsongo jsongo commented Feb 7, 2026

Summary

This PR finalizes the architecture of the open-motion init template.

Key changes:

  • Separation of Concerns: Moved all framework-level logic (rendering/preview mode switching, Composition registration, and Player configuration) from src/App.tsx into src/main.tsx.
  • Improved DX: src/App.tsx is now a clean business component. Users can now create their videos by only modifying App.tsx without worrying about breaking the internal rendering pipeline.
  • Version Bump: All packages updated to 0.1.4.

Test plan

  1. Run open-motion init test-v4.
  2. Verify that test-v4/src/main.tsx contains the rendering logic and test-v4/src/App.tsx is clean.
  3. Run npm run render and ensure the output is correct.

🤖 Generated with Claude Code

- Move rendering logic, composition registration, and player setup to src/main.tsx
- Purify src/App.tsx to be a simple business component
- Enable users to only modify App.tsx for custom videos
- Bump all package versions to 0.1.4

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jsongo jsongo closed this Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant