1111scripts :
1212 prepare : melos bootstrap && melos compile:webworker && melos update:wasm
1313
14- format :
15- description : Format Dart code.
16- run : dart format .
17-
18- format:check:packages :
19- description : Check formatting of Dart code in packages.
20- run : dart format --output none --set-exit-if-changed packages
21-
22- format:check:demos :
23- description : Check formatting of Dart code in demos.
24- run : dart format --output none --set-exit-if-changed demos
14+ analyze:demos :
15+ description : Analyze Dart code in demos.
16+ run : dart analyze demos --fatal-infos
2517
2618 analyze:packages :
2719 description : Analyze Dart code in packages.
2820 run : dart analyze packages --fatal-infos
2921
30- analyze:demos :
31- description : Analyze Dart code in demos.
32- run : dart analyze demos --fatal-infos
22+ analyze:packages:pana :
23+ description : Analyze Dart packages with Pana
24+ exec : flutter pub global run pana --no-warning --exit-code-threshold 10
25+ packageFilters :
26+ noPrivate : true
3327
3428 compile:webworker :
3529 description : Compile Javascript web worker distributable
@@ -38,7 +32,17 @@ scripts:
3832 scope :
3933 - powersync_web_worker
4034
41- update:wasm : dart run scripts/init_sqlite_wasm.dart
35+ format :
36+ description : Format Dart code.
37+ run : dart format .
38+
39+ format:check:demos :
40+ description : Check formatting of Dart code in demos.
41+ run : dart format --output none --set-exit-if-changed demos
42+
43+ format:check:packages :
44+ description : Check formatting of Dart code in packages.
45+ run : dart format --output none --set-exit-if-changed packages
4246
4347 test :
4448 description : Run tests in a specific package.
@@ -52,3 +56,5 @@ scripts:
5256 # as they could change the behaviour of how tests filter packages.
5357 env :
5458 MELOS_TEST : true
59+
60+ update:wasm : dart run scripts/init_sqlite_wasm.dart
0 commit comments