Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add trello demo #221

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .github/workflows/scripts/copy-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ copy_config_files() {
echo "Copied contents of $template_config to ${template_config%/*}/$TARGET_CONFIG_FILE"
fi
done

# Create a new file .env for supabase-trello demo
echo -n > demos/supabase-trello/.env
}

# Call the function for the single demos folder
Expand Down
6 changes: 3 additions & 3 deletions demos/benchmarks/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -305,21 +305,21 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.10.0"
version: "1.11.0"
powersync_core:
dependency: "direct overridden"
description:
path: "../../packages/powersync_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_flutter_libs:
dependency: "direct overridden"
description:
path: "../../packages/powersync_flutter_libs"
relative: true
source: path
version: "0.4.3"
version: "0.4.4"
pub_semver:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions demos/django-todolist/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -318,21 +318,21 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.10.0"
version: "1.11.0"
powersync_core:
dependency: "direct overridden"
description:
path: "../../packages/powersync_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_flutter_libs:
dependency: "direct overridden"
description:
path: "../../packages/powersync_flutter_libs"
relative: true
source: path
version: "0.4.3"
version: "0.4.4"
pub_semver:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions demos/firebase-nodejs-todolist/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -454,21 +454,21 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.10.0"
version: "1.11.0"
powersync_core:
dependency: "direct overridden"
description:
path: "../../packages/powersync_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_flutter_libs:
dependency: "direct overridden"
description:
path: "../../packages/powersync_flutter_libs"
relative: true
source: path
version: "0.4.3"
version: "0.4.4"
pub_semver:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions demos/supabase-anonymous-auth/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -374,21 +374,21 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.10.0"
version: "1.11.0"
powersync_core:
dependency: "direct overridden"
description:
path: "../../packages/powersync_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_flutter_libs:
dependency: "direct overridden"
description:
path: "../../packages/powersync_flutter_libs"
relative: true
source: path
version: "0.4.3"
version: "0.4.4"
pub_semver:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions demos/supabase-edge-function-auth/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -398,21 +398,21 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.10.0"
version: "1.11.0"
powersync_core:
dependency: "direct overridden"
description:
path: "../../packages/powersync_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_flutter_libs:
dependency: "direct overridden"
description:
path: "../../packages/powersync_flutter_libs"
relative: true
source: path
version: "0.4.3"
version: "0.4.4"
pub_semver:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions demos/supabase-simple-chat/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -414,21 +414,21 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.10.0"
version: "1.11.0"
powersync_core:
dependency: "direct overridden"
description:
path: "../../packages/powersync_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_flutter_libs:
dependency: "direct overridden"
description:
path: "../../packages/powersync_flutter_libs"
relative: true
source: path
version: "0.4.3"
version: "0.4.4"
pub_semver:
dependency: transitive
description:
Expand Down
8 changes: 4 additions & 4 deletions demos/supabase-todolist-drift/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -686,28 +686,28 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.10.0"
version: "1.11.0"
powersync_attachments_helper:
dependency: "direct main"
description:
path: "../../packages/powersync_attachments_helper"
relative: true
source: path
version: "0.6.16"
version: "0.6.17"
powersync_core:
dependency: "direct overridden"
description:
path: "../../packages/powersync_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_flutter_libs:
dependency: "direct overridden"
description:
path: "../../packages/powersync_flutter_libs"
relative: true
source: path
version: "0.4.3"
version: "0.4.4"
pub_semver:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions demos/supabase-todolist-optional-sync/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -478,21 +478,21 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.10.0"
version: "1.11.0"
powersync_core:
dependency: "direct overridden"
description:
path: "../../packages/powersync_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_flutter_libs:
dependency: "direct overridden"
description:
path: "../../packages/powersync_flutter_libs"
relative: true
source: path
version: "0.4.3"
version: "0.4.4"
pub_semver:
dependency: transitive
description:
Expand Down
8 changes: 4 additions & 4 deletions demos/supabase-todolist/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -478,28 +478,28 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.10.0"
version: "1.11.0"
powersync_attachments_helper:
dependency: "direct main"
description:
path: "../../packages/powersync_attachments_helper"
relative: true
source: path
version: "0.6.16"
version: "0.6.17"
powersync_core:
dependency: "direct overridden"
description:
path: "../../packages/powersync_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_flutter_libs:
dependency: "direct overridden"
description:
path: "../../packages/powersync_flutter_libs"
relative: true
source: path
version: "0.4.3"
version: "0.4.4"
pub_semver:
dependency: transitive
description:
Expand Down
4 changes: 4 additions & 0 deletions demos/supabase-trello/.env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Update these with your own values
SUPABASE_URL=https://aaaaaaaaaaaa.supabase.co
SUPABASE_ANON_KEY=my_anon_key
POWERSYNC_URL=https://aaaaaaaaaaaa.powersync.journeyapps.com
47 changes: 47 additions & 0 deletions demos/supabase-trello/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
.env

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
45 changes: 45 additions & 0 deletions demos/supabase-trello/.metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.

version:
revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
channel: stable

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
- platform: android
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
- platform: ios
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
- platform: linux
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
- platform: macos
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
- platform: web
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
- platform: windows
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
Loading
Loading