refactor: convert React Native packages to stubs and fix remaining build issues

- Convert @vjs-10/react-native packages to placeholder stubs for future implementation
- Move Video.tsx from @vjs-10/react-media-elements to @vjs-10/react package
- Fix React JSX compilation errors by changing jsx config from react-jsx to react
- Add React imports to all TSX files to resolve UMD global errors
- Remove React Native specific dependencies from package.json files
- Refactor @vjs-10/react-media-elements to export VideoElement/AudioElement with placeholders
- All packages now build successfully with monorepo architecture intact

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Christian Pillsbury
2025-07-29 13:45:08 -07:00
co-authored by Claude
parent 374db7afc0
commit 34e35f399b
25 changed files with 145 additions and 596 deletions
@@ -20,20 +20,14 @@
"mobile"
],
"license": "Apache-2.0",
"dependencies": {
"@vjs-10/media": "*"
},
"dependencies": {},
"peerDependencies": {
"react": ">=16.8.0",
"react-native": ">=0.60.0",
"react-native-video": ">=5.0.0"
"react": ">=16.8.0"
},
"devDependencies": {
"typescript": "^5.3.0",
"@types/react": "^18.0.0",
"@types/react-native": "^0.72.0",
"react": "^18.0.0",
"react-native": "^0.72.0"
"react": "^18.0.0"
},
"publishConfig": {
"access": "public"