Skip to content

Commit b2dfc80

Browse files
committed
update scripts + update django demo + fix tsconfig.workspace.json handling
1 parent d217a1d commit b2dfc80

File tree

17 files changed

+8880
-370
lines changed

17 files changed

+8880
-370
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
@journeyapps:registry=https://registry.npmjs.org/
1+
@journeyapps:registry=https://registry.npmjs.org/
2+
node-linker=hoisted

demos/django-react-native-todolist/ios/Podfile.lock

Lines changed: 235 additions & 235 deletions
Large diffs are not rendered by default.

demos/django-react-native-todolist/ios/powersyncexample.xcodeproj/project.pbxproj

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -278,25 +278,25 @@
278278
"${PODS_CONFIGURATION_BUILD_DIR}/EXConstants/ExpoConstants_privacy.bundle",
279279
"${PODS_CONFIGURATION_BUILD_DIR}/ExpoFileSystem/ExpoFileSystem_privacy.bundle",
280280
"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly/RCT-Folly_privacy.bundle",
281-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
282-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
283-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf",
284-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Feather.ttf",
285-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf",
286-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
287-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
288-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
289-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Brands.ttf",
290-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Regular.ttf",
291-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Solid.ttf",
292-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
293-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
294-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
295-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
296-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf",
297-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
298-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
299-
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
281+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
282+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
283+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf",
284+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf",
285+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf",
286+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
287+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
288+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
289+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Brands.ttf",
290+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Regular.ttf",
291+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Solid.ttf",
292+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
293+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
294+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
295+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
296+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf",
297+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
298+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
299+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
300300
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle",
301301
"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle",
302302
"${PODS_CONFIGURATION_BUILD_DIR}/boost/boost_privacy.bundle",
@@ -489,7 +489,7 @@
489489
"$(inherited)",
490490
" ",
491491
);
492-
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
492+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
493493
SDKROOT = iphoneos;
494494
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
495495
USE_HERMES = true;
@@ -544,7 +544,7 @@
544544
"$(inherited)",
545545
" ",
546546
);
547-
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
547+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
548548
SDKROOT = iphoneos;
549549
USE_HERMES = true;
550550
VALIDATE_PRODUCT = YES;

demos/django-react-native-todolist/metro.config.js

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ const path = require('node:path');
44

55
// Find the project and workspace directories
66
const projectRoot = __dirname;
7-
const workspaceRoot = path.resolve(projectRoot, '../..');
8-
97
const config = getDefaultConfig(projectRoot);
108

119
// 1. Watch all files within the monorepo
12-
config.watchFolders = [workspaceRoot];
10+
config.watchFolders = [projectRoot];
1311
// 2. Let Metro know where to resolve packages and in what order
14-
config.resolver.nodeModulesPaths = [
15-
path.resolve(projectRoot, 'node_modules'),
16-
path.resolve(workspaceRoot, 'node_modules')
17-
];
12+
config.resolver.nodeModulesPaths = [path.resolve(projectRoot, 'node_modules')];
1813
// #3 - Force resolving nested modules to the folders below
19-
config.resolver.disableHierarchicalLookup = true;
20-
config.resolver.unstable_enableSymlinks = true;
14+
// config.resolver.disableHierarchicalLookup = true;
15+
// config.resolver.unstable_enableSymlinks = true;
2116

2217
module.exports = config;

0 commit comments

Comments
 (0)