-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathpubspec.yaml
More file actions
69 lines (59 loc) · 1.79 KB
/
pubspec.yaml
File metadata and controls
69 lines (59 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: powersync_dart
description: Workspace root for the PowerSync Dart SDK.
publish_to: none
environment:
sdk: ">=3.6.0 <4.0.0"
workspace:
- packages/powersync
- packages/powersync_attachments_helper
- packages/powersync_flutter_libs
- demos/benchmarks
- demos/django-todolist
- demos/firebase-nodejs-todolist
- demos/supabase-anonymous-auth
- demos/supabase-edge-function-auth
- demos/supabase-simple-chat
- demos/supabase-todolist
- demos/supabase-todolist-drift
- demos/supabase-todolist-optional-sync
- demos/supabase-trello
dependencies:
lints: ^6.1.0
melos: ^7.5.0
test: ^1.25.0
path: ^1.0.0
yaml: ^3.1.2
hooks:
user_defines:
sqlite3:
# To run PowerSync encryption tests, replace this with sqlite3mc and run
# dart test -P encryption
source: sqlite3
dependency_overrides:
# The only drift version with support for version 3.x of the sqlite3 package
# needs this analyzer, but riverpod doesn't support it yet:
# https://github.com/rrousselGit/riverpod/pull/4680
analyzer: ^10.0.0
melos:
repository: https://github.com/powersync-ja/powersync.dart
scripts:
prepare:
description: Download and prepare assets for demos
run: |
melos bootstrap && melos run prepare:assets && dart ./tool/compile_webworker.dart && melos run prepare:demos
prepare:demos:
description: Download SQLite3 wasm for demos
run: dart run powersync:setup_web --no-worker
exec:
concurrency: 1
packageFilters:
private: true
dirExists: web
dependsOn: powersync
prepare:assets:
description: Download Sqlite3 WASM for tests
run: dart ./bin/setup_web.dart --no-worker --output-dir ../powersync/assets
exec:
concurrency: 1
packageFilters:
scope: powersync