managarten/picture/apps/mobile/patches/react-native-context-menu-view+1.20.0.patch
Till-JS c712a2504a feat: integrate uload and picture, unify package naming
- Add uload project with apps/web structure
  - Reorganize from flat to monorepo structure
  - Remove PocketBase binary and local data
  - Update to pnpm and @uload/web namespace

- Add picture project to monorepo
  - Remove embedded git repository

- Unify all package names to @{project}/{app} schema:
  - @maerchenzauber/* (was @storyteller/*)
  - @manacore/* (was manacore-*, manacore)
  - @manadeck/* (was web, backend, manadeck)
  - @memoro/* (was memoro-web, landing, memoro)
  - @picture/* (already unified)
  - @uload/web

- Add convenient dev scripts for all apps:
  - pnpm dev:{project}:web
  - pnpm dev:{project}:landing
  - pnpm dev:{project}:mobile
  - pnpm dev:{project}:backend

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 04:00:36 +01:00

21 lines
799 B
Diff

diff --git a/node_modules/react-native-context-menu-view/index.web.js b/node_modules/react-native-context-menu-view/index.web.js
new file mode 100644
index 0000000..6c77515
--- /dev/null
+++ b/node_modules/react-native-context-menu-view/index.web.js
@@ -0,0 +1,15 @@
+const React = require("react");
+const { View } = require("react-native");
+
+// Web polyfill for react-native-context-menu-view
+// On web, we simply render the children without the context menu functionality
+const ContextMenu = (props) => {
+ const { children, style } = props;
+
+ // On web, just render the children in a View
+ // Context menu functionality is not available on web
+ return React.createElement(View, { style: style }, children);
+};
+
+module.exports = ContextMenu;
+module.exports.default = ContextMenu;