diff --git a/.idea/modules.xml b/.idea/modules.xml index 04267625c..dc369a6e8 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,11 +2,11 @@ - - - - - + + + + + \ No newline at end of file diff --git a/dio/.gitignore b/dio/.gitignore index f02904351..cd69fa7c9 100644 --- a/dio/.gitignore +++ b/dio/.gitignore @@ -10,7 +10,6 @@ .svn/ # IntelliJ related -*.iml *.ipr *.iws .idea/ diff --git a/dio/melos_dio.iml b/dio/melos_dio.iml new file mode 100644 index 000000000..389d07a14 --- /dev/null +++ b/dio/melos_dio.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/example/pubspec_overrides.yaml b/example/pubspec_overrides.yaml deleted file mode 100644 index 0cfe9e83e..000000000 --- a/example/pubspec_overrides.yaml +++ /dev/null @@ -1,7 +0,0 @@ -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/pubspec_overrides.yaml b/example_flutter_app/pubspec_overrides.yaml deleted file mode 100644 index 0cfe9e83e..000000000 --- a/example_flutter_app/pubspec_overrides.yaml +++ /dev/null @@ -1,7 +0,0 @@ -dependency_overrides: - dio: - path: ../dio - dio_cookie_manager: - path: ../plugins/cookie_manager - dio_http2_adapter: - path: ../plugins/http2_adapter diff --git a/melos.yaml b/melos.yaml new file mode 100644 index 000000000..853a62664 --- /dev/null +++ b/melos.yaml @@ -0,0 +1,9 @@ +name: dio +repository: https://github.com/cfug/dio + +packages: + - dio + - plugins/* + +ide: + intellij: true diff --git a/melos_dio.iml b/melos_dio.iml new file mode 100644 index 000000000..c01170bea --- /dev/null +++ b/melos_dio.iml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/plugins/cookie_manager/.gitignore b/plugins/cookie_manager/.gitignore index 3132dc5ff..64b15762b 100644 --- a/plugins/cookie_manager/.gitignore +++ b/plugins/cookie_manager/.gitignore @@ -10,7 +10,6 @@ .svn/ # IntelliJ related -*.iml *.ipr *.iws .idea/ @@ -28,6 +27,7 @@ .pub-cache/ .pub/ build/ +pubspec_overrides.yaml # Android related **/android/**/gradle-wrapper.jar diff --git a/plugins/cookie_manager/melos_dio_cookie_manager.iml b/plugins/cookie_manager/melos_dio_cookie_manager.iml new file mode 100644 index 000000000..389d07a14 --- /dev/null +++ b/plugins/cookie_manager/melos_dio_cookie_manager.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/plugins/cookie_manager/pubspec_overrides.yaml b/plugins/cookie_manager/pubspec_overrides.yaml deleted file mode 100644 index cb67bae5a..000000000 --- a/plugins/cookie_manager/pubspec_overrides.yaml +++ /dev/null @@ -1,3 +0,0 @@ -dependency_overrides: - dio: - path: ../../dio diff --git a/plugins/http2_adapter/.gitignore b/plugins/http2_adapter/.gitignore index ba7b8e404..dc5a5faad 100644 --- a/plugins/http2_adapter/.gitignore +++ b/plugins/http2_adapter/.gitignore @@ -10,7 +10,6 @@ .svn/ # IntelliJ related -*.iml *.ipr *.iws .idea/ @@ -28,6 +27,7 @@ .pub-cache/ .pub/ build/ +pubspec_overrides.yaml # Android related **/android/**/gradle-wrapper.jar diff --git a/plugins/http2_adapter/melos_dio_http2_adapter.iml b/plugins/http2_adapter/melos_dio_http2_adapter.iml new file mode 100644 index 000000000..389d07a14 --- /dev/null +++ b/plugins/http2_adapter/melos_dio_http2_adapter.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/plugins/http2_adapter/pubspec_overrides.yaml b/plugins/http2_adapter/pubspec_overrides.yaml deleted file mode 100644 index cb67bae5a..000000000 --- a/plugins/http2_adapter/pubspec_overrides.yaml +++ /dev/null @@ -1,3 +0,0 @@ -dependency_overrides: - dio: - path: ../../dio diff --git a/plugins/native_dio_adapter/.gitignore b/plugins/native_dio_adapter/.gitignore index abd4c5d5c..8d1fae670 100644 --- a/plugins/native_dio_adapter/.gitignore +++ b/plugins/native_dio_adapter/.gitignore @@ -3,7 +3,6 @@ .packages # IntelliJ related -*.iml *.ipr *.iws .idea/ @@ -15,3 +14,4 @@ build/ # https://dart.dev/guides/libraries/private-files#pubspeclock. pubspec.lock .DS_Store +/pubspec_overrides.yaml diff --git a/plugins/native_dio_adapter/melos_native_dio_adapter.iml b/plugins/native_dio_adapter/melos_native_dio_adapter.iml new file mode 100644 index 000000000..bd8b0461d --- /dev/null +++ b/plugins/native_dio_adapter/melos_native_dio_adapter.iml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/plugins/native_dio_adapter/pubspec_overrides.yaml b/plugins/native_dio_adapter/pubspec_overrides.yaml deleted file mode 100644 index cb67bae5a..000000000 --- a/plugins/native_dio_adapter/pubspec_overrides.yaml +++ /dev/null @@ -1,3 +0,0 @@ -dependency_overrides: - dio: - path: ../../dio diff --git a/pubspec.yaml b/pubspec.yaml new file mode 100644 index 000000000..a7e72fd53 --- /dev/null +++ b/pubspec.yaml @@ -0,0 +1,10 @@ +name: dio_workspace +publish_to: 'none' +repository: https://github.com/cfug/dio + +environment: + sdk: '>=2.16.0 <4.0.0' + +dev_dependencies: + lints: any + melos: ^3.1.0