Update build dependencies

This commit is contained in:
Simon Binder
2025-09-21 23:39:28 +02:00
parent 35c47973ae
commit 02b24211cc
8 changed files with 272 additions and 313 deletions
+13 -1
View File
@@ -1,7 +1,7 @@
name: drift_docs name: drift_docs
description: Documentation website for the drift project. description: Documentation website for the drift project.
publish_to: none publish_to: none
resolution: workspace resolution:
environment: environment:
sdk: ">=3.5.0 <4.0.0" sdk: ">=3.5.0 <4.0.0"
@@ -49,5 +49,17 @@ dev_dependencies:
version: ^0.0.19 version: ^0.0.19
sass_builder: ^2.2.1 sass_builder: ^2.2.1
dependency_overrides:
drift:
path: ../drift
drift_dev:
path: ../drift_dev
sqlparser:
path: ../sqlparser
drift_flutter:
path: ../drift_flutter
drift_postgres:
path: ../extras/drift_postgres
flutter: flutter:
uses-material-design: true uses-material-design: true
+212 -211
View File
@@ -25,6 +25,7 @@ import 'todos.dart' as _i3;
// ignore_for_file: unnecessary_parenthesis // ignore_for_file: unnecessary_parenthesis
// ignore_for_file: camel_case_types // ignore_for_file: camel_case_types
// ignore_for_file: subtype_of_sealed_class // ignore_for_file: subtype_of_sealed_class
// ignore_for_file: invalid_use_of_internal_member
class _FakeMigrationStrategy_0 extends _i1.SmartFake class _FakeMigrationStrategy_0 extends _i1.SmartFake
implements _i2.MigrationStrategy { implements _i2.MigrationStrategy {
@@ -48,169 +49,169 @@ class _FakeDriftDatabaseOptions_1 extends _i1.SmartFake
); );
} }
class _Fake$CategoriesTable_2 extends _i1.SmartFake class _Fake$TodoDbManager_2 extends _i1.SmartFake
implements _i3.$CategoriesTable {
_Fake$CategoriesTable_2(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$TodosTableTable_3 extends _i1.SmartFake
implements _i3.$TodosTableTable {
_Fake$TodosTableTable_3(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$UsersTable_4 extends _i1.SmartFake implements _i3.$UsersTable {
_Fake$UsersTable_4(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$SharedTodosTable_5 extends _i1.SmartFake
implements _i3.$SharedTodosTable {
_Fake$SharedTodosTable_5(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$TableWithoutPKTable_6 extends _i1.SmartFake
implements _i3.$TableWithoutPKTable {
_Fake$TableWithoutPKTable_6(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$PureDefaultsTable_7 extends _i1.SmartFake
implements _i3.$PureDefaultsTable {
_Fake$PureDefaultsTable_7(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$WithCustomTypeTable_8 extends _i1.SmartFake
implements _i3.$WithCustomTypeTable {
_Fake$WithCustomTypeTable_8(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$TableWithEveryColumnTypeTable_9 extends _i1.SmartFake
implements _i3.$TableWithEveryColumnTypeTable {
_Fake$TableWithEveryColumnTypeTable_9(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$DepartmentTable_10 extends _i1.SmartFake
implements _i3.$DepartmentTable {
_Fake$DepartmentTable_10(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$ProductTable_11 extends _i1.SmartFake implements _i3.$ProductTable {
_Fake$ProductTable_11(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$StoreTable_12 extends _i1.SmartFake implements _i3.$StoreTable {
_Fake$StoreTable_12(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$ListingTable_13 extends _i1.SmartFake implements _i3.$ListingTable {
_Fake$ListingTable_13(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$CategoryTodoCountViewView_14 extends _i1.SmartFake
implements _i3.$CategoryTodoCountViewView {
_Fake$CategoryTodoCountViewView_14(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$TodoWithCategoryViewView_15 extends _i1.SmartFake
implements _i3.$TodoWithCategoryViewView {
_Fake$TodoWithCategoryViewView_15(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _FakeSomeDao_16 extends _i1.SmartFake implements _i3.SomeDao {
_FakeSomeDao_16(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$TodoDbManager_17 extends _i1.SmartFake
implements _i3.$TodoDbManager { implements _i3.$TodoDbManager {
_Fake$TodoDbManager_17( _Fake$TodoDbManager_2(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$CategoriesTable_3 extends _i1.SmartFake
implements _i3.$CategoriesTable {
_Fake$CategoriesTable_3(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$TodosTableTable_4 extends _i1.SmartFake
implements _i3.$TodosTableTable {
_Fake$TodosTableTable_4(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$UsersTable_5 extends _i1.SmartFake implements _i3.$UsersTable {
_Fake$UsersTable_5(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$SharedTodosTable_6 extends _i1.SmartFake
implements _i3.$SharedTodosTable {
_Fake$SharedTodosTable_6(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$TableWithoutPKTable_7 extends _i1.SmartFake
implements _i3.$TableWithoutPKTable {
_Fake$TableWithoutPKTable_7(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$PureDefaultsTable_8 extends _i1.SmartFake
implements _i3.$PureDefaultsTable {
_Fake$PureDefaultsTable_8(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$WithCustomTypeTable_9 extends _i1.SmartFake
implements _i3.$WithCustomTypeTable {
_Fake$WithCustomTypeTable_9(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$TableWithEveryColumnTypeTable_10 extends _i1.SmartFake
implements _i3.$TableWithEveryColumnTypeTable {
_Fake$TableWithEveryColumnTypeTable_10(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$DepartmentTable_11 extends _i1.SmartFake
implements _i3.$DepartmentTable {
_Fake$DepartmentTable_11(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$ProductTable_12 extends _i1.SmartFake implements _i3.$ProductTable {
_Fake$ProductTable_12(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$StoreTable_13 extends _i1.SmartFake implements _i3.$StoreTable {
_Fake$StoreTable_13(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$ListingTable_14 extends _i1.SmartFake implements _i3.$ListingTable {
_Fake$ListingTable_14(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$CategoryTodoCountViewView_15 extends _i1.SmartFake
implements _i3.$CategoryTodoCountViewView {
_Fake$CategoryTodoCountViewView_15(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _Fake$TodoWithCategoryViewView_16 extends _i1.SmartFake
implements _i3.$TodoWithCategoryViewView {
_Fake$TodoWithCategoryViewView_16(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _FakeSomeDao_17 extends _i1.SmartFake implements _i3.SomeDao {
_FakeSomeDao_17(
Object parent, Object parent,
Invocation parentInvocation, Invocation parentInvocation,
) : super( ) : super(
@@ -429,40 +430,53 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
) as int); ) as int);
@override @override
set migration(_i2.MigrationStrategy? _migration) => super.noSuchMethod( set migration(_i2.MigrationStrategy? value) => super.noSuchMethod(
Invocation.setter( Invocation.setter(
#migration, #migration,
_migration, value,
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
@override @override
set options(_i2.DriftDatabaseOptions? _options) => super.noSuchMethod( set options(_i2.DriftDatabaseOptions? value) => super.noSuchMethod(
Invocation.setter( Invocation.setter(
#options, #options,
_options, value,
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
@override @override
set schemaVersion(int? _schemaVersion) => super.noSuchMethod( set schemaVersion(int? value) => super.noSuchMethod(
Invocation.setter( Invocation.setter(
#schemaVersion, #schemaVersion,
_schemaVersion, value,
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
@override
_i3.$TodoDbManager get managers => (super.noSuchMethod(
Invocation.getter(#managers),
returnValue: _Fake$TodoDbManager_2(
this,
Invocation.getter(#managers),
),
returnValueForMissingStub: _Fake$TodoDbManager_2(
this,
Invocation.getter(#managers),
),
) as _i3.$TodoDbManager);
@override @override
_i3.$CategoriesTable get categories => (super.noSuchMethod( _i3.$CategoriesTable get categories => (super.noSuchMethod(
Invocation.getter(#categories), Invocation.getter(#categories),
returnValue: _Fake$CategoriesTable_2( returnValue: _Fake$CategoriesTable_3(
this, this,
Invocation.getter(#categories), Invocation.getter(#categories),
), ),
returnValueForMissingStub: _Fake$CategoriesTable_2( returnValueForMissingStub: _Fake$CategoriesTable_3(
this, this,
Invocation.getter(#categories), Invocation.getter(#categories),
), ),
@@ -471,11 +485,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$TodosTableTable get todosTable => (super.noSuchMethod( _i3.$TodosTableTable get todosTable => (super.noSuchMethod(
Invocation.getter(#todosTable), Invocation.getter(#todosTable),
returnValue: _Fake$TodosTableTable_3( returnValue: _Fake$TodosTableTable_4(
this, this,
Invocation.getter(#todosTable), Invocation.getter(#todosTable),
), ),
returnValueForMissingStub: _Fake$TodosTableTable_3( returnValueForMissingStub: _Fake$TodosTableTable_4(
this, this,
Invocation.getter(#todosTable), Invocation.getter(#todosTable),
), ),
@@ -484,11 +498,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$UsersTable get users => (super.noSuchMethod( _i3.$UsersTable get users => (super.noSuchMethod(
Invocation.getter(#users), Invocation.getter(#users),
returnValue: _Fake$UsersTable_4( returnValue: _Fake$UsersTable_5(
this, this,
Invocation.getter(#users), Invocation.getter(#users),
), ),
returnValueForMissingStub: _Fake$UsersTable_4( returnValueForMissingStub: _Fake$UsersTable_5(
this, this,
Invocation.getter(#users), Invocation.getter(#users),
), ),
@@ -497,11 +511,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$SharedTodosTable get sharedTodos => (super.noSuchMethod( _i3.$SharedTodosTable get sharedTodos => (super.noSuchMethod(
Invocation.getter(#sharedTodos), Invocation.getter(#sharedTodos),
returnValue: _Fake$SharedTodosTable_5( returnValue: _Fake$SharedTodosTable_6(
this, this,
Invocation.getter(#sharedTodos), Invocation.getter(#sharedTodos),
), ),
returnValueForMissingStub: _Fake$SharedTodosTable_5( returnValueForMissingStub: _Fake$SharedTodosTable_6(
this, this,
Invocation.getter(#sharedTodos), Invocation.getter(#sharedTodos),
), ),
@@ -510,11 +524,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$TableWithoutPKTable get tableWithoutPK => (super.noSuchMethod( _i3.$TableWithoutPKTable get tableWithoutPK => (super.noSuchMethod(
Invocation.getter(#tableWithoutPK), Invocation.getter(#tableWithoutPK),
returnValue: _Fake$TableWithoutPKTable_6( returnValue: _Fake$TableWithoutPKTable_7(
this, this,
Invocation.getter(#tableWithoutPK), Invocation.getter(#tableWithoutPK),
), ),
returnValueForMissingStub: _Fake$TableWithoutPKTable_6( returnValueForMissingStub: _Fake$TableWithoutPKTable_7(
this, this,
Invocation.getter(#tableWithoutPK), Invocation.getter(#tableWithoutPK),
), ),
@@ -523,11 +537,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$PureDefaultsTable get pureDefaults => (super.noSuchMethod( _i3.$PureDefaultsTable get pureDefaults => (super.noSuchMethod(
Invocation.getter(#pureDefaults), Invocation.getter(#pureDefaults),
returnValue: _Fake$PureDefaultsTable_7( returnValue: _Fake$PureDefaultsTable_8(
this, this,
Invocation.getter(#pureDefaults), Invocation.getter(#pureDefaults),
), ),
returnValueForMissingStub: _Fake$PureDefaultsTable_7( returnValueForMissingStub: _Fake$PureDefaultsTable_8(
this, this,
Invocation.getter(#pureDefaults), Invocation.getter(#pureDefaults),
), ),
@@ -536,11 +550,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$WithCustomTypeTable get withCustomType => (super.noSuchMethod( _i3.$WithCustomTypeTable get withCustomType => (super.noSuchMethod(
Invocation.getter(#withCustomType), Invocation.getter(#withCustomType),
returnValue: _Fake$WithCustomTypeTable_8( returnValue: _Fake$WithCustomTypeTable_9(
this, this,
Invocation.getter(#withCustomType), Invocation.getter(#withCustomType),
), ),
returnValueForMissingStub: _Fake$WithCustomTypeTable_8( returnValueForMissingStub: _Fake$WithCustomTypeTable_9(
this, this,
Invocation.getter(#withCustomType), Invocation.getter(#withCustomType),
), ),
@@ -550,11 +564,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
_i3.$TableWithEveryColumnTypeTable get tableWithEveryColumnType => _i3.$TableWithEveryColumnTypeTable get tableWithEveryColumnType =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.getter(#tableWithEveryColumnType), Invocation.getter(#tableWithEveryColumnType),
returnValue: _Fake$TableWithEveryColumnTypeTable_9( returnValue: _Fake$TableWithEveryColumnTypeTable_10(
this, this,
Invocation.getter(#tableWithEveryColumnType), Invocation.getter(#tableWithEveryColumnType),
), ),
returnValueForMissingStub: _Fake$TableWithEveryColumnTypeTable_9( returnValueForMissingStub: _Fake$TableWithEveryColumnTypeTable_10(
this, this,
Invocation.getter(#tableWithEveryColumnType), Invocation.getter(#tableWithEveryColumnType),
), ),
@@ -563,11 +577,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$DepartmentTable get department => (super.noSuchMethod( _i3.$DepartmentTable get department => (super.noSuchMethod(
Invocation.getter(#department), Invocation.getter(#department),
returnValue: _Fake$DepartmentTable_10( returnValue: _Fake$DepartmentTable_11(
this, this,
Invocation.getter(#department), Invocation.getter(#department),
), ),
returnValueForMissingStub: _Fake$DepartmentTable_10( returnValueForMissingStub: _Fake$DepartmentTable_11(
this, this,
Invocation.getter(#department), Invocation.getter(#department),
), ),
@@ -576,11 +590,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$ProductTable get product => (super.noSuchMethod( _i3.$ProductTable get product => (super.noSuchMethod(
Invocation.getter(#product), Invocation.getter(#product),
returnValue: _Fake$ProductTable_11( returnValue: _Fake$ProductTable_12(
this, this,
Invocation.getter(#product), Invocation.getter(#product),
), ),
returnValueForMissingStub: _Fake$ProductTable_11( returnValueForMissingStub: _Fake$ProductTable_12(
this, this,
Invocation.getter(#product), Invocation.getter(#product),
), ),
@@ -589,11 +603,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$StoreTable get store => (super.noSuchMethod( _i3.$StoreTable get store => (super.noSuchMethod(
Invocation.getter(#store), Invocation.getter(#store),
returnValue: _Fake$StoreTable_12( returnValue: _Fake$StoreTable_13(
this, this,
Invocation.getter(#store), Invocation.getter(#store),
), ),
returnValueForMissingStub: _Fake$StoreTable_12( returnValueForMissingStub: _Fake$StoreTable_13(
this, this,
Invocation.getter(#store), Invocation.getter(#store),
), ),
@@ -602,11 +616,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$ListingTable get listing => (super.noSuchMethod( _i3.$ListingTable get listing => (super.noSuchMethod(
Invocation.getter(#listing), Invocation.getter(#listing),
returnValue: _Fake$ListingTable_13( returnValue: _Fake$ListingTable_14(
this, this,
Invocation.getter(#listing), Invocation.getter(#listing),
), ),
returnValueForMissingStub: _Fake$ListingTable_13( returnValueForMissingStub: _Fake$ListingTable_14(
this, this,
Invocation.getter(#listing), Invocation.getter(#listing),
), ),
@@ -616,11 +630,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
_i3.$CategoryTodoCountViewView get categoryTodoCountView => _i3.$CategoryTodoCountViewView get categoryTodoCountView =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.getter(#categoryTodoCountView), Invocation.getter(#categoryTodoCountView),
returnValue: _Fake$CategoryTodoCountViewView_14( returnValue: _Fake$CategoryTodoCountViewView_15(
this, this,
Invocation.getter(#categoryTodoCountView), Invocation.getter(#categoryTodoCountView),
), ),
returnValueForMissingStub: _Fake$CategoryTodoCountViewView_14( returnValueForMissingStub: _Fake$CategoryTodoCountViewView_15(
this, this,
Invocation.getter(#categoryTodoCountView), Invocation.getter(#categoryTodoCountView),
), ),
@@ -629,11 +643,11 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.$TodoWithCategoryViewView get todoWithCategoryView => (super.noSuchMethod( _i3.$TodoWithCategoryViewView get todoWithCategoryView => (super.noSuchMethod(
Invocation.getter(#todoWithCategoryView), Invocation.getter(#todoWithCategoryView),
returnValue: _Fake$TodoWithCategoryViewView_15( returnValue: _Fake$TodoWithCategoryViewView_16(
this, this,
Invocation.getter(#todoWithCategoryView), Invocation.getter(#todoWithCategoryView),
), ),
returnValueForMissingStub: _Fake$TodoWithCategoryViewView_15( returnValueForMissingStub: _Fake$TodoWithCategoryViewView_16(
this, this,
Invocation.getter(#todoWithCategoryView), Invocation.getter(#todoWithCategoryView),
), ),
@@ -642,29 +656,16 @@ class MockTodoDb extends _i1.Mock implements _i3.TodoDb {
@override @override
_i3.SomeDao get someDao => (super.noSuchMethod( _i3.SomeDao get someDao => (super.noSuchMethod(
Invocation.getter(#someDao), Invocation.getter(#someDao),
returnValue: _FakeSomeDao_16( returnValue: _FakeSomeDao_17(
this, this,
Invocation.getter(#someDao), Invocation.getter(#someDao),
), ),
returnValueForMissingStub: _FakeSomeDao_16( returnValueForMissingStub: _FakeSomeDao_17(
this, this,
Invocation.getter(#someDao), Invocation.getter(#someDao),
), ),
) as _i3.SomeDao); ) as _i3.SomeDao);
@override
_i3.$TodoDbManager get managers => (super.noSuchMethod(
Invocation.getter(#managers),
returnValue: _Fake$TodoDbManager_17(
this,
Invocation.getter(#managers),
),
returnValueForMissingStub: _Fake$TodoDbManager_17(
this,
Invocation.getter(#managers),
),
) as _i3.$TodoDbManager);
@override @override
Iterable<_i2.TableInfo<_i2.Table, Object?>> get allTables => Iterable<_i2.TableInfo<_i2.Table, Object?>> get allTables =>
(super.noSuchMethod( (super.noSuchMethod(
+3 -2
View File
@@ -25,6 +25,7 @@ import 'package:mockito/src/dummies.dart' as _i4;
// ignore_for_file: unnecessary_parenthesis // ignore_for_file: unnecessary_parenthesis
// ignore_for_file: camel_case_types // ignore_for_file: camel_case_types
// ignore_for_file: subtype_of_sealed_class // ignore_for_file: subtype_of_sealed_class
// ignore_for_file: invalid_use_of_internal_member
class _FakeQueryResult_0 extends _i1.SmartFake implements _i2.QueryResult { class _FakeQueryResult_0 extends _i1.SmartFake implements _i2.QueryResult {
_FakeQueryResult_0( _FakeQueryResult_0(
@@ -81,10 +82,10 @@ class MockDatabaseDelegate extends _i1.Mock implements _i3.DatabaseDelegate {
) as _i5.FutureOr<bool>); ) as _i5.FutureOr<bool>);
@override @override
set isInTransaction(bool? _isInTransaction) => super.noSuchMethod( set isInTransaction(bool? value) => super.noSuchMethod(
Invocation.setter( Invocation.setter(
#isInTransaction, #isInTransaction,
_isInTransaction, value,
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
+4
View File
@@ -5,3 +5,7 @@ analyzer:
strict-casts: true strict-casts: true
exclude: exclude:
- "**/*.g.dart" - "**/*.g.dart"
errors:
# We temporarily want to ignore analyzer deprecation warnings because we need to support both
# analyzer 7.3+ (element2) and 8.x (back to element).
deprecated_member_use: ignore
+3 -1
View File
@@ -40,6 +40,8 @@ dependencies:
sqlparser: ^0.41.2 sqlparser: ^0.41.2
# Dart analysis # Dart analysis
# Note: When changing this to a lower bound of 8.x, please re-enable
# deprecation warnings in analysis_options.yaml
analyzer: '>=7.3.0 <9.0.0' analyzer: '>=7.3.0 <9.0.0'
source_span: ^1.10.0 source_span: ^1.10.0
package_config: ^2.1.0 package_config: ^2.1.0
@@ -58,7 +60,7 @@ dev_dependencies:
test: ^1.25.0 test: ^1.25.0
test_descriptor: ^2.0.1 test_descriptor: ^2.0.1
build_runner: ^2.4.0 build_runner: ^2.4.0
build_test: ^3.0.0 build_test: ^3.4.0
json_serializable: ^6.8.0 json_serializable: ^6.8.0
crypto: ^3.0.3 crypto: ^3.0.3
glob: ^2.1.2 glob: ^2.1.2
+1 -2
View File
@@ -3,7 +3,6 @@ import 'package:analyzer/dart/analysis/utilities.dart';
import 'package:analyzer/file_system/memory_file_system.dart'; import 'package:analyzer/file_system/memory_file_system.dart';
import 'package:build/build.dart'; import 'package:build/build.dart';
import 'package:build_test/build_test.dart'; import 'package:build_test/build_test.dart';
import 'package:build_test/src/in_memory_reader_writer.dart';
import 'package:drift_dev/integrations/build.dart'; import 'package:drift_dev/integrations/build.dart';
import 'package:glob/glob.dart'; import 'package:glob/glob.dart';
import 'package:logging/logging.dart'; import 'package:logging/logging.dart';
@@ -125,7 +124,7 @@ extension ReaderWriterUtils on TestReaderWriter {
var id = AssetId.parse(assetId); var id = AssetId.parse(assetId);
if (!testing.exists(id)) { if (!testing.exists(id)) {
id = AssetId( id = AssetId(
(this as InMemoryAssetReaderWriter).rootPackage, id.package,
'.dart_tool/build/generated/${id.package}/${id.path}', '.dart_tool/build/generated/${id.package}/${id.path}',
); );
+31 -95
View File
@@ -5,18 +5,18 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: _fe_analyzer_shared name: _fe_analyzer_shared
sha256: da0d9209ca76bde579f2da330aeb9df62b6319c834fa7baae052021b0462401f sha256: f0bb5d1648339c8308cc0b9838d8456b3cfe5c91f9dc1a735b4d003269e5da9a
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "85.0.0" version: "88.0.0"
analyzer: analyzer:
dependency: transitive dependency: transitive
description: description:
name: analyzer name: analyzer
sha256: "974859dc0ff5f37bc4313244b3218c791810d03ab3470a579580279ba971a48d" sha256: "0b7b9c329d2879f8f05d6c05b32ee9ec025f39b077864bdb5ac9a7b63418a98f"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "7.7.1" version: "8.1.1"
ansi_styles: ansi_styles:
dependency: transitive dependency: transitive
description: description:
@@ -85,10 +85,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: build name: build
sha256: ce76b1d48875e3233fde17717c23d1f60a91cc631597e49a400c89b475395b1d sha256: "5b887c55a0f734b433b3b2d89f9cd1f99eb636b17e268a5b4259258bc916504b"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.1.0" version: "4.0.0"
build_config: build_config:
dependency: transitive dependency: transitive
description: description:
@@ -113,38 +113,22 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "5.0.18" version: "5.0.18"
build_resolvers:
dependency: transitive
description:
name: build_resolvers
sha256: d1d57f7807debd7349b4726a19fd32ec8bc177c71ad0febf91a20f84cd2d4b46
url: "https://pub.dev"
source: hosted
version: "3.0.3"
build_runner: build_runner:
dependency: transitive dependency: transitive
description: description:
name: build_runner name: build_runner
sha256: b24597fceb695969d47025c958f3837f9f0122e237c6a22cb082a5ac66c3ca30 sha256: "804c47c936df75e1911c19a4fb8c46fa8ff2b3099b9f2b2aa4726af3774f734b"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.7.1" version: "2.8.0"
build_runner_core:
dependency: transitive
description:
name: build_runner_core
sha256: "066dda7f73d8eb48ba630a55acb50c4a84a2e6b453b1cb4567f581729e794f7b"
url: "https://pub.dev"
source: hosted
version: "9.3.1"
build_test: build_test:
dependency: transitive dependency: transitive
description: description:
name: build_test name: build_test
sha256: "054eef426951304e127e800e0f76c3c978e7522d990532949380ae5e7224e65f" sha256: "472beec8c5fe3c733b59348d57dfd2d51f0af8f4901ca61d8f8e418933a502b2"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.3.3" version: "3.4.0"
build_verify: build_verify:
dependency: transitive dependency: transitive
description: description:
@@ -173,18 +157,18 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: built_value name: built_value
sha256: "1b3b173f3379c8f941446267868548b6fc67e9134d81f4842eb98bb729451359" sha256: a30f0a0e38671e89a492c44d005b5545b830a961575bbd8336d42869ff71066d
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "8.11.2" version: "8.12.0"
built_value_generator: built_value_generator:
dependency: transitive dependency: transitive
description: description:
name: built_value_generator name: built_value_generator
sha256: "82281895e5347dd70ffd3aab2756f39d52b55c945fa0efa635ad6d643dae5833" sha256: "65f5823a2c4158384ebc845218e19286fdf5dd04f8ac2cf607b01a502be40b1b"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "8.11.1" version: "8.12.0"
characters: characters:
dependency: transitive dependency: transitive
description: description:
@@ -225,14 +209,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.3.2+1" version: "0.3.2+1"
cli_repl:
dependency: transitive
description:
name: cli_repl
sha256: a2ee06d98f211cb960c777519cb3d14e882acd90fe5e078668e3ab4baab0ddd4
url: "https://pub.dev"
source: hosted
version: "0.2.3"
cli_util: cli_util:
dependency: transitive dependency: transitive
description: description:
@@ -257,14 +233,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "4.11.0" version: "4.11.0"
code_snippets:
dependency: transitive
description:
name: code_snippets
sha256: "664d32edf8e430dfafcff91bfde262745e7337eb40bad4aec9356a52a939cc0d"
url: "https://pub-simonbinder-eu.fsn1.your-objectstorage.com"
source: hosted
version: "0.0.21"
collection: collection:
dependency: transitive dependency: transitive
description: description:
@@ -341,10 +309,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: dart_style name: dart_style
sha256: "8a0e5fba27e8ee025d2ffb4ee820b4e6e2cf5e4246a6b1a477eb66866947e0bb" sha256: c87dfe3d56f183ffe9106a18aebc6db431fc7c98c31a54b952a77f3d54a85697
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.1.1" version: "3.1.2"
db_viewer: db_viewer:
dependency: "direct overridden" dependency: "direct overridden"
description: description:
@@ -613,10 +581,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: js name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 sha256: "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.6.7" version: "0.7.2"
json_annotation: json_annotation:
dependency: transitive dependency: transitive
description: description:
@@ -725,10 +693,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: mockito name: mockito
sha256: "2314cbe9165bcd16106513df9cf3c3224713087f09723b128928dc11a4379f99" sha256: "4feb43bc4eb6c03e832f5fcd637d1abb44b98f9cfa245c58e27382f58859f8f6"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "5.5.0" version: "5.5.1"
mustache_template: mustache_template:
dependency: transitive dependency: transitive
description: description:
@@ -753,14 +721,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.0" version: "1.0.0"
node_interop:
dependency: transitive
description:
name: node_interop
sha256: "4848ac408c0cdd0f70136b755df816a8e4c96c244e5377a3fb3b8f8950666150"
url: "https://pub.dev"
source: hosted
version: "2.2.0"
node_preamble: node_preamble:
dependency: transitive dependency: transitive
description: description:
@@ -933,10 +893,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: protobuf name: protobuf
sha256: "68645b24e0716782e58948f8467fd42a880f255096a821f9e7d0ec625b00c84d" sha256: de9c9eb2c33f8e933a42932fe1dc504800ca45ebc3d673e6ed7f39754ee4053e
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.1.0" version: "4.2.0"
provider: provider:
dependency: transitive dependency: transitive
description: description:
@@ -1009,22 +969,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.3" version: "1.0.3"
sass:
dependency: transitive
description:
name: sass
sha256: "341b33ebcb8fe3ed6c793bcfe1d01edd886bc58d68ff3febf29c0b391ac24296"
url: "https://pub.dev"
source: hosted
version: "1.66.0"
sass_builder:
dependency: transitive
description:
name: sass_builder
sha256: be13dc67d65188cb3647b9cf25557f81c6cb7774df1c8a658cf732b18eabd83c
url: "https://pub.dev"
source: hosted
version: "2.2.2-dev.0"
scratch_space: scratch_space:
dependency: transitive dependency: transitive
description: description:
@@ -1090,10 +1034,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: source_gen name: source_gen
sha256: "7b19d6ba131c6eb98bfcbf8d56c1a7002eba438af2e7ae6f8398b2b0f4f381e3" sha256: ccf30b0c9fbcd79d8b6f5bfac23199fb354938436f62475e14aea0f29ee0f800
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.1.0" version: "4.0.1"
source_helper: source_helper:
dependency: transitive dependency: transitive
description: description:
@@ -1282,26 +1226,26 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: test name: test
sha256: "65e29d831719be0591f7b3b1a32a3cda258ec98c58c7b25f7b84241bc31215bb" sha256: "75906bf273541b676716d1ca7627a17e4c4070a3a16272b7a3dc7da3b9f3f6b7"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.26.2" version: "1.26.3"
test_api: test_api:
dependency: transitive dependency: "direct overridden"
description: description:
name: test_api name: test_api
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00" sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.7.6" version: "0.7.7"
test_core: test_core:
dependency: transitive dependency: transitive
description: description:
name: test_core name: test_core
sha256: "80bf5a02b60af04b09e14f6fe68b921aad119493e26e490deaca5993fef1b05a" sha256: "0cc24b5ff94b38d2ae73e1eb43cc302b77964fbf67abad1e296025b78deb53d0"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.6.11" version: "0.6.12"
test_descriptor: test_descriptor:
dependency: transitive dependency: transitive
description: description:
@@ -1310,14 +1254,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.2" version: "2.0.2"
timing:
dependency: transitive
description:
name: timing
sha256: "62ee18aca144e4a9f29d212f5a4c6a053be252b895ab14b5821996cff4ed90fe"
url: "https://pub.dev"
source: hosted
version: "1.0.2"
tuple: tuple:
dependency: transitive dependency: transitive
description: description:
+5 -1
View File
@@ -11,7 +11,7 @@ workspace:
- drift_flutter - drift_flutter
- sqlparser - sqlparser
- docs # - docs
- extras/assets/old_moor_flutter_package - extras/assets/old_moor_flutter_package
- extras/assets/old_moor_package - extras/assets/old_moor_package
@@ -39,6 +39,10 @@ workspace:
dev_dependencies: dev_dependencies:
melos: ^7.0.0 melos: ^7.0.0
dependency_overrides:
# This is required for resolving to analyzer 8, flutter_test is the only blocker.
test_api: ^0.7.7
melos: melos:
name: drift name: drift
repository: https://github.com/simolus3/drift repository: https://github.com/simolus3/drift