diff --git a/flutter/realm_flutter/bin/realm.dart b/flutter/realm_flutter/bin/realm.dart index fc5eb42b6..689c19fc8 100644 --- a/flutter/realm_flutter/bin/realm.dart +++ b/flutter/realm_flutter/bin/realm.dart @@ -16,5 +16,5 @@ // //////////////////////////////////////////////////////////////////////////////// -import 'package:realm/src/cli/main.dart' as x; +import 'package:realm_dart/src/cli/main.dart' as x; void main(List arguments) => x.main(arguments); diff --git a/flutter/realm_flutter/lib b/flutter/realm_flutter/lib deleted file mode 120000 index 58677ddb4..000000000 --- a/flutter/realm_flutter/lib +++ /dev/null @@ -1 +0,0 @@ -../../lib \ No newline at end of file diff --git a/flutter/realm_flutter/lib/realm.dart b/flutter/realm_flutter/lib/realm.dart new file mode 100644 index 000000000..d8f89a2e2 --- /dev/null +++ b/flutter/realm_flutter/lib/realm.dart @@ -0,0 +1 @@ +export 'package:realm_dart/realm.dart'; diff --git a/flutter/realm_flutter/pubspec.yaml b/flutter/realm_flutter/pubspec.yaml index 26c8a1b4e..ff6303e90 100644 --- a/flutter/realm_flutter/pubspec.yaml +++ b/flutter/realm_flutter/pubspec.yaml @@ -15,33 +15,8 @@ environment: dependencies: flutter: sdk: flutter - args: ^2.3.0 - build_cli_annotations: ^2.0.0 - collection: ^1.16.0 - crypto: ^3.0.0 - ffi: ^2.0.1 - json_annotation: ^4.7.0 - logging: ^1.2.0 - meta: ^1.1.8 - package_config: ^2.0.0 - path: ^1.0.0 - pubspec_parse: ^1.0.0 - pub_semver: ^2.1.0 - realm_common: - path: ../../common - realm_generator: - path: ../../generator - tar: ^1.0.1 - build_runner: ^2.1.0 - http: ^1.0.0 - cancellation_token: ^2.0.0 - -dev_dependencies: - flutter_test: - sdk: flutter - build_cli: ^2.2.2 - json_serializable: ^6.1.0 - lints: ^2.0.0 + realm_dart: + path: ../.. flutter: plugin: diff --git a/flutter/realm_flutter/tests/lib b/flutter/realm_flutter/tests/lib index dc598c56d..9512b3d5e 120000 --- a/flutter/realm_flutter/tests/lib +++ b/flutter/realm_flutter/tests/lib @@ -1 +1 @@ -../lib \ No newline at end of file +../../../lib/ \ No newline at end of file