Skip to content

Commit

Permalink
update melos config to include supabase_flutter example and use the l…
Browse files Browse the repository at this point in the history
…ocal packages
  • Loading branch information
dshukertjr committed Jul 26, 2024
1 parent 0675dc0 commit 189fd65
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
20 changes: 17 additions & 3 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ repository: https://github.com/supabase/supabase-flutter

packages:
- packages/*
- packages/supabase_flutter/example

command:
version:
Expand All @@ -14,9 +15,22 @@ command:
preCommit: melos run update-version

bootstrap:
# It seems so that running "pub get" in parallel has some issues (like
# https://github.com/dart-lang/pub/issues/3404). Disabling this feature
# makes the CI much more stable.
functions_client:
path: packages/functions_client
gotrue:
path: packages/gotrue
postgrest:
path: packages/postgrest
realtime_client:
path: packages/realtime_client
storage_client:
path: packages/storage_client
supabase:
path: packages/supabase
supabase_flutter:
path: packages/supabase_flutter
yes_another_json_isolate:
path: packages/yes_another_json_isolate
runPubGetInParallel: false
usePubspecOverrides: true

Expand Down
18 changes: 0 additions & 18 deletions packages/supabase_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,3 @@ dev_dependencies:

flutter:
uses-material-design: true
melos_managed_dependency_overrides: functions_client,gotrue,postgrest,realtime_client,storage_client,yet_another_json_isolate
dependency_overrides:
functions_client:
path: ../../functions_client
gotrue:
path: ../../gotrue
postgrest:
path: ../../postgrest
realtime_client:
path: ../../realtime_client
storage_client:
path: ../../storage_client
supabase:
path: ../../supabase
yet_another_json_isolate:
path: ../../yet_another_json_isolate
supabase_flutter:
path: ../

0 comments on commit 189fd65

Please sign in to comment.