Skip to content

Commit ce6cecd

Browse files
committed
Add script to download correct sqlite3 wasm file
1 parent bf297bf commit ce6cecd

File tree

14 files changed

+428
-19
lines changed

14 files changed

+428
-19
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ pubspec_overrides.yaml
1111
build
1212

1313
# Shared assets
14-
assets
14+
assets/*
15+
# exception to the rule
16+
!assets/.gitkeep
1517

1618
# Web assets
1719
powersync_db.worker.js
20+
powersync_db.worker.js*
1821
sqlite3.wasm
1922

2023
#Core binaries

demos/django-todolist/pubspec.lock

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Generated by pub
22
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
4+
args:
5+
dependency: transitive
6+
description:
7+
name: args
8+
sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
9+
url: "https://pub.dev"
10+
source: hosted
11+
version: "2.5.0"
412
async:
513
dependency: transitive
614
description:
@@ -25,6 +33,14 @@ packages:
2533
url: "https://pub.dev"
2634
source: hosted
2735
version: "1.3.0"
36+
checked_yaml:
37+
dependency: transitive
38+
description:
39+
name: checked_yaml
40+
sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
41+
url: "https://pub.dev"
42+
source: hosted
43+
version: "2.0.3"
2844
clock:
2945
dependency: transitive
3046
description:
@@ -144,6 +160,14 @@ packages:
144160
url: "https://pub.dev"
145161
source: hosted
146162
version: "0.7.1"
163+
json_annotation:
164+
dependency: transitive
165+
description:
166+
name: json_annotation
167+
sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
168+
url: "https://pub.dev"
169+
source: hosted
170+
version: "4.9.0"
147171
leak_tracker:
148172
dependency: transitive
149173
description:
@@ -302,6 +326,22 @@ packages:
302326
relative: true
303327
source: path
304328
version: "0.1.0"
329+
pub_semver:
330+
dependency: transitive
331+
description:
332+
name: pub_semver
333+
sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
334+
url: "https://pub.dev"
335+
source: hosted
336+
version: "2.1.4"
337+
pubspec_parse:
338+
dependency: transitive
339+
description:
340+
name: pubspec_parse
341+
sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8
342+
url: "https://pub.dev"
343+
source: hosted
344+
version: "1.3.0"
305345
shared_preferences:
306346
dependency: "direct main"
307347
description:
@@ -515,6 +555,14 @@ packages:
515555
url: "https://pub.dev"
516556
source: hosted
517557
version: "1.0.4"
558+
yaml:
559+
dependency: transitive
560+
description:
561+
name: yaml
562+
sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
563+
url: "https://pub.dev"
564+
source: hosted
565+
version: "3.1.2"
518566
sdks:
519567
dart: ">=3.4.0 <4.0.0"
520568
flutter: ">=3.22.0"

demos/supabase-anonymous-auth/pubspec.lock

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ packages:
99
url: "https://pub.dev"
1010
source: hosted
1111
version: "4.0.1"
12+
args:
13+
dependency: transitive
14+
description:
15+
name: args
16+
sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
17+
url: "https://pub.dev"
18+
source: hosted
19+
version: "2.5.0"
1220
async:
1321
dependency: transitive
1422
description:
@@ -33,6 +41,14 @@ packages:
3341
url: "https://pub.dev"
3442
source: hosted
3543
version: "1.3.0"
44+
checked_yaml:
45+
dependency: transitive
46+
description:
47+
name: checked_yaml
48+
sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
49+
url: "https://pub.dev"
50+
source: hosted
51+
version: "2.0.3"
3652
clock:
3753
dependency: transitive
3854
description:
@@ -176,6 +192,14 @@ packages:
176192
url: "https://pub.dev"
177193
source: hosted
178194
version: "0.7.1"
195+
json_annotation:
196+
dependency: transitive
197+
description:
198+
name: json_annotation
199+
sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
200+
url: "https://pub.dev"
201+
source: hosted
202+
version: "4.9.0"
179203
jwt_decode:
180204
dependency: transitive
181205
description:
@@ -358,6 +382,22 @@ packages:
358382
relative: true
359383
source: path
360384
version: "0.1.0"
385+
pub_semver:
386+
dependency: transitive
387+
description:
388+
name: pub_semver
389+
sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
390+
url: "https://pub.dev"
391+
source: hosted
392+
version: "2.1.4"
393+
pubspec_parse:
394+
dependency: transitive
395+
description:
396+
name: pubspec_parse
397+
sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8
398+
url: "https://pub.dev"
399+
source: hosted
400+
version: "1.3.0"
361401
realtime_client:
362402
dependency: transitive
363403
description:
@@ -691,6 +731,14 @@ packages:
691731
url: "https://pub.dev"
692732
source: hosted
693733
version: "1.0.4"
734+
yaml:
735+
dependency: transitive
736+
description:
737+
name: yaml
738+
sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
739+
url: "https://pub.dev"
740+
source: hosted
741+
version: "3.1.2"
694742
yet_another_json_isolate:
695743
dependency: transitive
696744
description:

demos/supabase-edge-function-auth/pubspec.lock

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ packages:
99
url: "https://pub.dev"
1010
source: hosted
1111
version: "4.0.1"
12+
args:
13+
dependency: transitive
14+
description:
15+
name: args
16+
sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
17+
url: "https://pub.dev"
18+
source: hosted
19+
version: "2.5.0"
1220
async:
1321
dependency: transitive
1422
description:
@@ -33,6 +41,14 @@ packages:
3341
url: "https://pub.dev"
3442
source: hosted
3543
version: "1.3.0"
44+
checked_yaml:
45+
dependency: transitive
46+
description:
47+
name: checked_yaml
48+
sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
49+
url: "https://pub.dev"
50+
source: hosted
51+
version: "2.0.3"
3652
clock:
3753
dependency: transitive
3854
description:
@@ -176,6 +192,14 @@ packages:
176192
url: "https://pub.dev"
177193
source: hosted
178194
version: "0.7.1"
195+
json_annotation:
196+
dependency: transitive
197+
description:
198+
name: json_annotation
199+
sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
200+
url: "https://pub.dev"
201+
source: hosted
202+
version: "4.9.0"
179203
jwt_decode:
180204
dependency: transitive
181205
description:
@@ -358,6 +382,22 @@ packages:
358382
relative: true
359383
source: path
360384
version: "0.1.0"
385+
pub_semver:
386+
dependency: transitive
387+
description:
388+
name: pub_semver
389+
sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
390+
url: "https://pub.dev"
391+
source: hosted
392+
version: "2.1.4"
393+
pubspec_parse:
394+
dependency: transitive
395+
description:
396+
name: pubspec_parse
397+
sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8
398+
url: "https://pub.dev"
399+
source: hosted
400+
version: "1.3.0"
361401
realtime_client:
362402
dependency: transitive
363403
description:
@@ -691,6 +731,14 @@ packages:
691731
url: "https://pub.dev"
692732
source: hosted
693733
version: "1.0.4"
734+
yaml:
735+
dependency: transitive
736+
description:
737+
name: yaml
738+
sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
739+
url: "https://pub.dev"
740+
source: hosted
741+
version: "3.1.2"
694742
yet_another_json_isolate:
695743
dependency: transitive
696744
description:

demos/supabase-simple-chat/pubspec.lock

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ packages:
99
url: "https://pub.dev"
1010
source: hosted
1111
version: "3.5.1"
12+
args:
13+
dependency: transitive
14+
description:
15+
name: args
16+
sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
17+
url: "https://pub.dev"
18+
source: hosted
19+
version: "2.5.0"
1220
async:
1321
dependency: transitive
1422
description:
@@ -33,6 +41,14 @@ packages:
3341
url: "https://pub.dev"
3442
source: hosted
3543
version: "1.3.0"
44+
checked_yaml:
45+
dependency: transitive
46+
description:
47+
name: checked_yaml
48+
sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
49+
url: "https://pub.dev"
50+
source: hosted
51+
version: "2.0.3"
3652
clock:
3753
dependency: transitive
3854
description:
@@ -192,6 +208,14 @@ packages:
192208
url: "https://pub.dev"
193209
source: hosted
194210
version: "0.7.1"
211+
json_annotation:
212+
dependency: transitive
213+
description:
214+
name: json_annotation
215+
sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
216+
url: "https://pub.dev"
217+
source: hosted
218+
version: "4.9.0"
195219
jwt_decode:
196220
dependency: transitive
197221
description:
@@ -374,6 +398,22 @@ packages:
374398
relative: true
375399
source: path
376400
version: "0.1.0"
401+
pub_semver:
402+
dependency: transitive
403+
description:
404+
name: pub_semver
405+
sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
406+
url: "https://pub.dev"
407+
source: hosted
408+
version: "2.1.4"
409+
pubspec_parse:
410+
dependency: transitive
411+
description:
412+
name: pubspec_parse
413+
sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8
414+
url: "https://pub.dev"
415+
source: hosted
416+
version: "1.3.0"
377417
realtime_client:
378418
dependency: transitive
379419
description:
@@ -715,6 +755,14 @@ packages:
715755
url: "https://pub.dev"
716756
source: hosted
717757
version: "1.0.4"
758+
yaml:
759+
dependency: transitive
760+
description:
761+
name: yaml
762+
sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
763+
url: "https://pub.dev"
764+
source: hosted
765+
version: "3.1.2"
718766
yet_another_json_isolate:
719767
dependency: transitive
720768
description:

0 commit comments

Comments
 (0)