Skip to content

Commit 2830603

Browse files
committed
⚙️ Chore: Ex - Setup Workspace example-expo
1 parent 72a3a3a commit 2830603

File tree

6 files changed

+262
-15
lines changed

6 files changed

+262
-15
lines changed

example-expo/App.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { StatusBar } from 'expo-status-bar';
22
import React from 'react';
33
import { StyleSheet, Text, View } from 'react-native';
44

5+
// import { } from "react-native-ios-context-menu";
6+
57
export default function App() {
68
return (
79
<View style={styles.container}>

example-expo/ios/Podfile.lock

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
PODS:
22
- boost (1.83.0)
3+
- ComputableLayout (0.7.0):
4+
- DGSwiftUtilities (~> 0.11)
5+
- ContextMenuAuxiliaryPreview (0.5.2):
6+
- DGSwiftUtilities (~> 0.29)
7+
- DGSwiftUtilities (0.29.0)
38
- DoubleConversion (1.1.6)
49
- EXConstants (16.0.2):
510
- ExpoModulesCore
@@ -970,6 +975,57 @@ PODS:
970975
- React-Mapbuffer (0.74.5):
971976
- glog
972977
- React-debug
978+
- react-native-ios-context-menu (3.0.0-8):
979+
- ContextMenuAuxiliaryPreview (~> 0.5)
980+
- DGSwiftUtilities
981+
- DoubleConversion
982+
- glog
983+
- hermes-engine
984+
- RCT-Folly (= 2024.01.01.00)
985+
- RCTRequired
986+
- RCTTypeSafety
987+
- React-Codegen
988+
- React-Core
989+
- React-debug
990+
- React-Fabric
991+
- React-featureflags
992+
- React-graphics
993+
- React-ImageManager
994+
- react-native-ios-utilities
995+
- React-NativeModulesApple
996+
- React-RCTAppDelegate
997+
- React-RCTFabric
998+
- React-rendererdebug
999+
- React-utils
1000+
- ReactCommon/turbomodule/bridging
1001+
- ReactCommon/turbomodule/core
1002+
- Yoga
1003+
- react-native-ios-utilities (5.0.0-44):
1004+
- ComputableLayout (~> 0.7)
1005+
- DGSwiftUtilities (~> 0.29)
1006+
- DoubleConversion
1007+
- glog
1008+
- hermes-engine
1009+
- RCT-Folly (= 2024.01.01.00)
1010+
- RCTRequired
1011+
- RCTTypeSafety
1012+
- React-Codegen
1013+
- React-Core
1014+
- React-debug
1015+
- React-Fabric
1016+
- React-featureflags
1017+
- React-graphics
1018+
- React-ImageManager
1019+
- React-NativeModulesApple
1020+
- React-RCTAppDelegate
1021+
- React-RCTFabric
1022+
- React-rendererdebug
1023+
- React-utils
1024+
- ReactCommon/turbomodule/bridging
1025+
- ReactCommon/turbomodule/core
1026+
- Yoga
1027+
- react-native-safe-area-context (4.11.0):
1028+
- React-Core
9731029
- React-nativeconfig (0.74.5)
9741030
- React-NativeModulesApple (0.74.5):
9751031
- glog
@@ -1199,6 +1255,114 @@ PODS:
11991255
- React-logger (= 0.74.5)
12001256
- React-perflogger (= 0.74.5)
12011257
- React-utils (= 0.74.5)
1258+
- RNFlashList (1.7.1):
1259+
- DoubleConversion
1260+
- glog
1261+
- hermes-engine
1262+
- RCT-Folly (= 2024.01.01.00)
1263+
- RCTRequired
1264+
- RCTTypeSafety
1265+
- React-Codegen
1266+
- React-Core
1267+
- React-debug
1268+
- React-Fabric
1269+
- React-featureflags
1270+
- React-graphics
1271+
- React-ImageManager
1272+
- React-NativeModulesApple
1273+
- React-RCTFabric
1274+
- React-rendererdebug
1275+
- React-utils
1276+
- ReactCommon/turbomodule/bridging
1277+
- ReactCommon/turbomodule/core
1278+
- Yoga
1279+
- RNReanimated (3.15.2):
1280+
- DoubleConversion
1281+
- glog
1282+
- hermes-engine
1283+
- RCT-Folly (= 2024.01.01.00)
1284+
- RCTRequired
1285+
- RCTTypeSafety
1286+
- React-Codegen
1287+
- React-Core
1288+
- React-debug
1289+
- React-Fabric
1290+
- React-featureflags
1291+
- React-graphics
1292+
- React-ImageManager
1293+
- React-NativeModulesApple
1294+
- React-RCTFabric
1295+
- React-rendererdebug
1296+
- React-utils
1297+
- ReactCommon/turbomodule/bridging
1298+
- ReactCommon/turbomodule/core
1299+
- RNReanimated/reanimated (= 3.15.2)
1300+
- RNReanimated/worklets (= 3.15.2)
1301+
- Yoga
1302+
- RNReanimated/reanimated (3.15.2):
1303+
- DoubleConversion
1304+
- glog
1305+
- hermes-engine
1306+
- RCT-Folly (= 2024.01.01.00)
1307+
- RCTRequired
1308+
- RCTTypeSafety
1309+
- React-Codegen
1310+
- React-Core
1311+
- React-debug
1312+
- React-Fabric
1313+
- React-featureflags
1314+
- React-graphics
1315+
- React-ImageManager
1316+
- React-NativeModulesApple
1317+
- React-RCTFabric
1318+
- React-rendererdebug
1319+
- React-utils
1320+
- ReactCommon/turbomodule/bridging
1321+
- ReactCommon/turbomodule/core
1322+
- Yoga
1323+
- RNReanimated/worklets (3.15.2):
1324+
- DoubleConversion
1325+
- glog
1326+
- hermes-engine
1327+
- RCT-Folly (= 2024.01.01.00)
1328+
- RCTRequired
1329+
- RCTTypeSafety
1330+
- React-Codegen
1331+
- React-Core
1332+
- React-debug
1333+
- React-Fabric
1334+
- React-featureflags
1335+
- React-graphics
1336+
- React-ImageManager
1337+
- React-NativeModulesApple
1338+
- React-RCTFabric
1339+
- React-rendererdebug
1340+
- React-utils
1341+
- ReactCommon/turbomodule/bridging
1342+
- ReactCommon/turbomodule/core
1343+
- Yoga
1344+
- RNScreens (3.34.0):
1345+
- DoubleConversion
1346+
- glog
1347+
- hermes-engine
1348+
- RCT-Folly (= 2024.01.01.00)
1349+
- RCTRequired
1350+
- RCTTypeSafety
1351+
- React-Codegen
1352+
- React-Core
1353+
- React-debug
1354+
- React-Fabric
1355+
- React-featureflags
1356+
- React-graphics
1357+
- React-ImageManager
1358+
- React-NativeModulesApple
1359+
- React-RCTFabric
1360+
- React-RCTImage
1361+
- React-rendererdebug
1362+
- React-utils
1363+
- ReactCommon/turbomodule/bridging
1364+
- ReactCommon/turbomodule/core
1365+
- Yoga
12021366
- SocketRocket (0.7.0)
12031367
- Yoga (0.0.0)
12041368

@@ -1242,6 +1406,9 @@ DEPENDENCIES:
12421406
- React-jsitracing (from `../node_modules/react-native/ReactCommon/hermes/executor/`)
12431407
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
12441408
- React-Mapbuffer (from `../node_modules/react-native/ReactCommon`)
1409+
- react-native-ios-context-menu (from `../..`)
1410+
- react-native-ios-utilities (from `../node_modules/react-native-ios-utilities`)
1411+
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
12451412
- React-nativeconfig (from `../node_modules/react-native/ReactCommon`)
12461413
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
12471414
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
@@ -1265,10 +1432,16 @@ DEPENDENCIES:
12651432
- React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`)
12661433
- React-utils (from `../node_modules/react-native/ReactCommon/react/utils`)
12671434
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
1435+
- "RNFlashList (from `../node_modules/@shopify/flash-list`)"
1436+
- RNReanimated (from `../node_modules/react-native-reanimated`)
1437+
- RNScreens (from `../node_modules/react-native-screens`)
12681438
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
12691439

12701440
SPEC REPOS:
12711441
trunk:
1442+
- ComputableLayout
1443+
- ContextMenuAuxiliaryPreview
1444+
- DGSwiftUtilities
12721445
- SocketRocket
12731446

12741447
EXTERNAL SOURCES:
@@ -1347,6 +1520,12 @@ EXTERNAL SOURCES:
13471520
:path: "../node_modules/react-native/ReactCommon/logger"
13481521
React-Mapbuffer:
13491522
:path: "../node_modules/react-native/ReactCommon"
1523+
react-native-ios-context-menu:
1524+
:path: "../.."
1525+
react-native-ios-utilities:
1526+
:path: "../node_modules/react-native-ios-utilities"
1527+
react-native-safe-area-context:
1528+
:path: "../node_modules/react-native-safe-area-context"
13501529
React-nativeconfig:
13511530
:path: "../node_modules/react-native/ReactCommon"
13521531
React-NativeModulesApple:
@@ -1393,11 +1572,20 @@ EXTERNAL SOURCES:
13931572
:path: "../node_modules/react-native/ReactCommon/react/utils"
13941573
ReactCommon:
13951574
:path: "../node_modules/react-native/ReactCommon"
1575+
RNFlashList:
1576+
:path: "../node_modules/@shopify/flash-list"
1577+
RNReanimated:
1578+
:path: "../node_modules/react-native-reanimated"
1579+
RNScreens:
1580+
:path: "../node_modules/react-native-screens"
13961581
Yoga:
13971582
:path: "../node_modules/react-native/ReactCommon/yoga"
13981583

13991584
SPEC CHECKSUMS:
14001585
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
1586+
ComputableLayout: c50faffac4ed9f8f05b0ce5e6f3a60df1f6042c8
1587+
ContextMenuAuxiliaryPreview: 20be0be795b783b68f8792732eed4bed9f202c1c
1588+
DGSwiftUtilities: 626565e1ee90ddacebd8520ea1ce730110ad13e4
14011589
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
14021590
EXConstants: 409690fbfd5afea964e5e9d6c4eb2c2b59222c59
14031591
Expo: 9b6666ef2fedcfc89c5b9be2aa1ce12b81f9e7f5
@@ -1434,6 +1622,9 @@ SPEC CHECKSUMS:
14341622
React-jsitracing: 3b6060bbf5317663667e1dd93560c7943ab86ccc
14351623
React-logger: 257858bd55f3a4e1bc0cf07ddc8fb9faba6f8c7c
14361624
React-Mapbuffer: 6c1cacdbf40b531f549eba249e531a7d0bfd8e7f
1625+
react-native-ios-context-menu: 3aad1cca7b13f8969d3270fc165d76d73706aeab
1626+
react-native-ios-utilities: 9cc251b565579940b71c1f4850b2689a63d16a74
1627+
react-native-safe-area-context: 851c62c48dce80ccaa5637b6aa5991a1bc36eca9
14371628
React-nativeconfig: ba9a2e54e2f0882cf7882698825052793ed4c851
14381629
React-NativeModulesApple: 8d11ff8955181540585c944cf48e9e7236952697
14391630
React-perflogger: ed4e0c65781521e0424f2e5e40b40cc7879d737e
@@ -1457,6 +1648,9 @@ SPEC CHECKSUMS:
14571648
React-runtimescheduler: cfbe85c3510c541ec6dc815c7729b41304b67961
14581649
React-utils: f242eb7e7889419d979ca0e1c02ccc0ea6e43b29
14591650
ReactCommon: f7da14a8827b72704169a48c929bcde802698361
1651+
RNFlashList: e9c5b8fe1b84f9c198cb550eb4cc0c45569fbf42
1652+
RNReanimated: 70454122c0c5cf9b661d5a505c3408f29c85b180
1653+
RNScreens: aa943ad421c3ced3ef5a47ede02b0cbfc43a012e
14601654
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
14611655
Yoga: 950bbfd7e6f04790fdb51149ed51df41f329fcc8
14621656

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

example-expo/package.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "rnicontextmenuexample",
2+
"name": "react-native-ios-context-menu-example-expo",
33
"version": "1.0.0",
44
"main": "index.js",
55
"scripts": {
@@ -9,13 +9,27 @@
99
"web": "expo start --web"
1010
},
1111
"dependencies": {
12+
"@react-navigation/bottom-tabs": "^6.6.1",
13+
"@react-navigation/native": "^6.1.18",
14+
"@react-navigation/native-stack": "^6.11.0",
15+
"@shopify/flash-list": "^1.7.1",
1216
"expo": "~51.0.28",
1317
"expo-status-bar": "~1.12.1",
1418
"react": "18.2.0",
15-
"react-native": "0.74.5"
19+
"react-native": "0.74.5",
20+
"react-native-ios-utilities": "5.0.0-44",
21+
"react-native-reanimated": "^3.15.2",
22+
"react-native-safe-area-context": "^4.10.9",
23+
"react-native-screens": "^3.34.0"
1624
},
1725
"devDependencies": {
18-
"@babel/core": "^7.20.0"
26+
"@babel/core": "^7.20.0",
27+
"@babel/preset-env": "^7.20.0",
28+
"@babel/runtime": "^7.20.0",
29+
"@react-native/babel-preset": "0.75.2",
30+
"@react-native/metro-config": "0.75.2",
31+
"@react-native/typescript-config": "0.75.2",
32+
"react-native-builder-bob": "^0.30.0"
1933
},
2034
"private": true
2135
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
const path = require('path');
2+
const pkg = require('../package.json');
3+
4+
module.exports = {
5+
project: {
6+
ios: {
7+
automaticPodsInstallation: true,
8+
},
9+
},
10+
dependencies: {
11+
[pkg.name]: {
12+
root: path.join(__dirname, '..'),
13+
},
14+
},
15+
};

yarn.lock

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11503,6 +11503,32 @@ __metadata:
1150311503
languageName: node
1150411504
linkType: hard
1150511505

11506+
"react-native-ios-context-menu-example-expo@workspace:example-expo":
11507+
version: 0.0.0-use.local
11508+
resolution: "react-native-ios-context-menu-example-expo@workspace:example-expo"
11509+
dependencies:
11510+
"@babel/core": ^7.20.0
11511+
"@babel/preset-env": ^7.20.0
11512+
"@babel/runtime": ^7.20.0
11513+
"@react-native/babel-preset": 0.75.2
11514+
"@react-native/metro-config": 0.75.2
11515+
"@react-native/typescript-config": 0.75.2
11516+
"@react-navigation/bottom-tabs": ^6.6.1
11517+
"@react-navigation/native": ^6.1.18
11518+
"@react-navigation/native-stack": ^6.11.0
11519+
"@shopify/flash-list": ^1.7.1
11520+
expo: ~51.0.28
11521+
expo-status-bar: ~1.12.1
11522+
react: 18.2.0
11523+
react-native: 0.74.5
11524+
react-native-builder-bob: ^0.30.0
11525+
react-native-ios-utilities: 5.0.0-44
11526+
react-native-reanimated: ^3.15.2
11527+
react-native-safe-area-context: ^4.10.9
11528+
react-native-screens: ^3.34.0
11529+
languageName: unknown
11530+
linkType: soft
11531+
1150611532
"react-native-ios-context-menu-example@workspace:example":
1150711533
version: 0.0.0-use.local
1150811534
resolution: "react-native-ios-context-menu-example@workspace:example"
@@ -12216,18 +12242,6 @@ __metadata:
1221612242
languageName: node
1221712243
linkType: hard
1221812244

12219-
"rnicontextmenuexample@workspace:example-expo":
12220-
version: 0.0.0-use.local
12221-
resolution: "rnicontextmenuexample@workspace:example-expo"
12222-
dependencies:
12223-
"@babel/core": ^7.20.0
12224-
expo: ~51.0.28
12225-
expo-status-bar: ~1.12.1
12226-
react: 18.2.0
12227-
react-native: 0.74.5
12228-
languageName: unknown
12229-
linkType: soft
12230-
1223112245
"run-applescript@npm:^5.0.0":
1223212246
version: 5.0.0
1223312247
resolution: "run-applescript@npm:5.0.0"

0 commit comments

Comments
 (0)