Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
3f45e44
create scripts for managing demos
LucDeCaf Nov 26, 2025
810d3d8
add demos/**/package.json.bak to gitignore
LucDeCaf Nov 26, 2025
5bc741a
fix spelling
LucDeCaf Nov 26, 2025
f0b5c13
apply scripts to react-supabase-todolist + add tsconfig override
LucDeCaf Nov 26, 2025
b5e39dc
remove references from react-supabase-todolist/tsconfig.json
LucDeCaf Nov 26, 2025
d368c11
run use latest on react supabase todolist
LucDeCaf Nov 26, 2025
18a900f
add script to split references out of tsconfig
LucDeCaf Nov 26, 2025
74dd68b
cleanup
LucDeCaf Nov 26, 2025
95f2bc5
isolate example-node
LucDeCaf Nov 26, 2025
db5f592
add gitignore to example-node
LucDeCaf Nov 26, 2025
c5d22c9
isolate example-vite and example-vite-encryption
LucDeCaf Nov 26, 2025
7f664ee
isolate react-supabase-todolist family of demos
LucDeCaf Nov 26, 2025
8db8d07
gen overrides for react-supabase-todolist demos
LucDeCaf Nov 26, 2025
f0b6324
isolate example-webpack
LucDeCaf Nov 26, 2025
ddbbb94
isolate example-vue
LucDeCaf Nov 26, 2025
45f3b42
update scripts to work better with workspaces
LucDeCaf Nov 28, 2025
84d8c85
update tsconfigs and package.jsons
LucDeCaf Nov 28, 2025
34296fd
fix rn bundling not working properly
LucDeCaf Nov 28, 2025
3fc0d6e
fix react package test
LucDeCaf Nov 28, 2025
cb00fed
actually fix react test
LucDeCaf Nov 28, 2025
c373280
further debugging of this project
LucDeCaf Nov 28, 2025
181ecbb
update lockfiles and demo test script
LucDeCaf Nov 28, 2025
d217a1d
update script with more error logging
LucDeCaf Dec 1, 2025
b2dfc80
update scripts + update django demo + fix tsconfig.workspace.json han…
LucDeCaf Dec 1, 2025
f102635
consolidate tsconfig.workspace.jsons into toplevel tsconfig.demo.json
LucDeCaf Dec 1, 2025
b7ffcea
upgrade packages on demo test
LucDeCaf Dec 1, 2025
a546d55
specify cwd in pnpm upgrade
LucDeCaf Dec 1, 2025
341a5cc
update pnpm workspaces and isolated-demo-test script
LucDeCaf Dec 1, 2025
80d74c3
Update react tests to properly capture some errors
LucDeCaf Dec 1, 2025
3aefd18
update react-native-supabase-group-chat build config to match behavio…
LucDeCaf Dec 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ dist
# Useful if running repository in VSCode dev container
.pnpm-store
__screenshots__
# Backups should be restored before committing
demos/**/package.json.bak
2 changes: 1 addition & 1 deletion demos/angular-supabase-todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@angular/router": "^19.2.4",
"@angular/service-worker": "^19.2.4",
"@journeyapps/wa-sqlite": "^1.3.2",
"@powersync/web": "workspace:*",
"@powersync/web": "^1.29.1",
"@supabase/supabase-js": "^2.44.4",
"rxjs": "~7.8.1",
"tslib": "^2.6.3",
Expand Down
2 changes: 2 additions & 0 deletions demos/angular-supabase-todolist/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages:
- .
3 changes: 2 additions & 1 deletion demos/django-react-native-todolist/.npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@journeyapps:registry=https://registry.npmjs.org/
@journeyapps:registry=https://registry.npmjs.org/
node-linker=hoisted
470 changes: 235 additions & 235 deletions demos/django-react-native-todolist/ios/Podfile.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -278,25 +278,25 @@
"${PODS_CONFIGURATION_BUILD_DIR}/EXConstants/ExpoConstants_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/ExpoFileSystem/ExpoFileSystem_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly/RCT-Folly_privacy.bundle",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Feather.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Brands.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Regular.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Solid.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
"${PODS_ROOT}/../../../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Brands.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Regular.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Solid.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/boost/boost_privacy.bundle",
Expand Down Expand Up @@ -489,7 +489,7 @@
"$(inherited)",
" ",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
USE_HERMES = true;
Expand Down Expand Up @@ -544,7 +544,7 @@
"$(inherited)",
" ",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
VALIDATE_PRODUCT = YES;
Expand Down
13 changes: 4 additions & 9 deletions demos/django-react-native-todolist/metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,14 @@ const path = require('node:path');

// Find the project and workspace directories
const projectRoot = __dirname;
const workspaceRoot = path.resolve(projectRoot, '../..');

const config = getDefaultConfig(projectRoot);

// 1. Watch all files within the monorepo
config.watchFolders = [workspaceRoot];
config.watchFolders = [projectRoot];
// 2. Let Metro know where to resolve packages and in what order
config.resolver.nodeModulesPaths = [
path.resolve(projectRoot, 'node_modules'),
path.resolve(workspaceRoot, 'node_modules')
];
config.resolver.nodeModulesPaths = [path.resolve(projectRoot, 'node_modules')];
// #3 - Force resolving nested modules to the folders below
config.resolver.disableHierarchicalLookup = true;
config.resolver.unstable_enableSymlinks = true;
// config.resolver.disableHierarchicalLookup = true;
// config.resolver.unstable_enableSymlinks = true;

module.exports = config;
6 changes: 3 additions & 3 deletions demos/django-react-native-todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"@expo/metro-runtime": "^4.0.1",
"@expo/vector-icons": "^14.0.0",
"@journeyapps/react-native-quick-sqlite": "^2.4.9",
"@powersync/common": "workspace:*",
"@powersync/react": "workspace:*",
"@powersync/react-native": "workspace:*",
"@powersync/common": "^1.43.1",
"@powersync/react": "^1.8.2",
"@powersync/react-native": "^1.27.1",
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/drawer": "^7.1.1",
Expand Down
Loading
Loading