diff --git a/.idea/modules.xml b/.idea/modules.xml index dc369a6e8..b86b60dda 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -4,9 +4,11 @@ + + - + \ No newline at end of file diff --git a/example/.gitignore b/example/.gitignore new file mode 100644 index 000000000..383b458a7 --- /dev/null +++ b/example/.gitignore @@ -0,0 +1,30 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ + +# IntelliJ related +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +**/doc/api/ +.dart_tool/ +.flutter-plugins +.packages +.pub-cache/ +.pub/ +build/ + diff --git a/melos_dio.iml b/example/melos_dio_example.iml similarity index 64% rename from melos_dio.iml rename to example/melos_dio_example.iml index c01170bea..389d07a14 100644 --- a/melos_dio.iml +++ b/example/melos_dio_example.iml @@ -4,15 +4,10 @@ + - - - - - - diff --git a/example/pubspec_overrides.yaml b/example/pubspec_overrides.yaml new file mode 100644 index 000000000..b2aad64fa --- /dev/null +++ b/example/pubspec_overrides.yaml @@ -0,0 +1,8 @@ +# melos_managed_dependency_overrides: dio,dio_cookie_manager,dio_http2_adapter +dependency_overrides: + dio: + path: ../dio + dio_cookie_manager: + path: ../plugins/cookie_manager + dio_http2_adapter: + path: ../plugins/http2_adapter diff --git a/example_flutter_app/.gitignore b/example_flutter_app/.gitignore index 0fa6b675c..6606cd9f6 100644 --- a/example_flutter_app/.gitignore +++ b/example_flutter_app/.gitignore @@ -30,6 +30,7 @@ .pub-cache/ .pub/ /build/ +pubspec_overrides.yaml # Web related lib/generated_plugin_registrant.dart diff --git a/example_flutter_app/pubspec.yaml b/example_flutter_app/pubspec.yaml index 6ec61c5d0..7660ed17f 100644 --- a/example_flutter_app/pubspec.yaml +++ b/example_flutter_app/pubspec.yaml @@ -1,4 +1,4 @@ -name: flutter_app +name: dio_flutter_example description: A new Flutter application for dio test # The following line prevents the package from being accidentally published to diff --git a/melos.yaml b/melos.yaml index 853a62664..f4b73cc36 100644 --- a/melos.yaml +++ b/melos.yaml @@ -1,9 +1,10 @@ -name: dio +name: dio_workspace repository: https://github.com/cfug/dio packages: - dio - plugins/* + - example* ide: intellij: true diff --git a/melos_dio_workspace.iml b/melos_dio_workspace.iml new file mode 100644 index 000000000..a559d9797 --- /dev/null +++ b/melos_dio_workspace.iml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/plugins/native_dio_adapter/.gitignore b/plugins/native_dio_adapter/.gitignore index 8d1fae670..48f7ab40e 100644 --- a/plugins/native_dio_adapter/.gitignore +++ b/plugins/native_dio_adapter/.gitignore @@ -1,15 +1,20 @@ -# Files and directories created by pub. +# Flutter/Dart/Pub related +**/doc/api/ +**/ios/Flutter/.last_build_id .dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies .packages +.pub-cache/ +.pub/ +/build/ +pubspec_overrides.yaml # IntelliJ related *.ipr *.iws .idea/ -# Conventional directory for build outputs. -build/ - # Omit committing pubspec.lock for library packages; see # https://dart.dev/guides/libraries/private-files#pubspeclock. pubspec.lock