Skip to content

Commit 51a6061

Browse files
authored
Merge pull request #232 from powersync-ja/fix/update-dependencies
Update lints and dependencies in released packages
2 parents 05e0526 + 7160c79 commit 51a6061

File tree

16 files changed

+28
-19
lines changed

16 files changed

+28
-19
lines changed

packages/powersync/pubspec.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ repository: https://github.com/powersync-ja/powersync.dart
55
description: PowerSync Flutter SDK - sync engine for building local-first apps.
66
environment:
77
sdk: ^3.4.0
8+
89
dependencies:
910
# Needed because of sqlite3_flutter_libs
1011
flutter:
@@ -17,8 +18,9 @@ dependencies:
1718
pubspec_parse: ^1.3.0
1819
args: ^2.5.0
1920
pub_semver: ^2.1.4
21+
2022
dev_dependencies:
21-
lints: ^3.0.0
23+
lints: ^5.1.0
2224
path: ^1.8.3
2325
path_provider: ^2.0.13
2426

packages/powersync_attachments_helper/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# (the recommended set includes the core lints).
1212
# The core lints are also what is used by pub.dev for scoring packages.
1313

14-
include: package:lints/recommended.yaml
14+
include: package:flutter_lints/flutter.yaml
1515

1616
# Uncomment the following section to specify additional rules.
1717

packages/powersync_attachments_helper/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
path_provider: ^2.0.13
1717

1818
dev_dependencies:
19-
lints: ^3.0.0
19+
flutter_lints: ^5.0.0
2020
test: ^1.25.2
2121

2222
platforms:

packages/powersync_core/pubspec.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ dependencies:
2020
logging: ^1.1.1
2121
collection: ^1.17.0
2222
fetch_client: ^1.1.2
23-
js: ^0.7.0
2423
web: ^1.0.0
24+
2525
dev_dependencies:
26-
dcli: ^4.0.0
27-
lints: ^3.0.0
26+
lints: ^5.1.1
2827
test: ^1.25.0
2928
test_api: ^0.7.0
30-
path_provider: ^2.0.13
3129
shelf: ^1.4.1
3230
shelf_router: ^1.1.4
3331
shelf_static: ^1.1.2

packages/powersync_core/test/connected_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@TestOn('!browser')
2+
library;
3+
24
// This test uses a local server which is possible to control in Web via hybrid main,
35
// but this makes the test significantly more complex.
46
import 'dart:async';

packages/powersync_core/test/performance_native_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@TestOn('!browser')
2+
library;
3+
24
import 'package:powersync_core/powersync_core.dart';
35
import 'package:test/test.dart';
46

packages/powersync_core/test/powersync_native_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@TestOn('!browser')
2+
library;
3+
24
import 'dart:async';
35
import 'dart:math';
46

packages/powersync_core/test/server/worker_server.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import 'dart:io';
22

3-
import 'package:dcli/dcli.dart';
43
import 'package:path/path.dart' as p;
54
import 'package:shelf/shelf.dart';
65
import 'package:shelf/shelf_io.dart' as io;
@@ -9,8 +8,7 @@ import 'package:stream_channel/stream_channel.dart';
98
import 'asset_server.dart';
109

1110
Future<void> hybridMain(StreamChannel<Object?> channel) async {
12-
final assetsDirectory = p
13-
.normalize(p.join(DartScript.self.pathToScriptDirectory, '../../assets'));
11+
final assetsDirectory = p.normalize('assets');
1412

1513
// Copy sqlite3.wasm file expected by the worker
1614
final sqliteOutputPath = p.join(assetsDirectory, 'sqlite3.wasm');

packages/powersync_core/test/stream_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@TestOn('!browser')
2+
library;
3+
24
import 'dart:async';
35
import 'dart:convert';
46
import 'dart:io';

packages/powersync_core/test/streaming_sync_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@TestOn('!browser')
2+
library;
3+
24
// TODO setup hybrid server
35
import 'dart:async';
46
import 'dart:math';

0 commit comments

Comments
 (0)