Skip to content

Commit

Permalink
👷 Melos (#1898)
Browse files Browse the repository at this point in the history
Resolve #1645.

### New Pull Request Checklist

- [x] I have read the
[Documentation](https://pub.dev/documentation/dio/latest/)
- [x] I have searched for a similar pull request in the
[project](https://github.com/cfug/dio/pulls) and found none
- [x] I have updated this branch with the latest `main` branch to avoid
conflicts (via merge from master or rebase)
- [ ] I have added the required tests to prove the fix/feature I'm
adding
- [ ] I have updated the documentation (if necessary)
- [x] I have run the tests without failures
- [ ] I have updated the `CHANGELOG.md` in the corresponding package
  • Loading branch information
AlexV525 authored Sep 8, 2023
1 parent f9e38a8 commit a00ee9a
Show file tree
Hide file tree
Showing 17 changed files with 115 additions and 32 deletions.
10 changes: 5 additions & 5 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dio/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
Expand Down
16 changes: 16 additions & 0 deletions dio/melos_dio.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
</component>
</module>
7 changes: 0 additions & 7 deletions example/pubspec_overrides.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions example_flutter_app/pubspec_overrides.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: dio
repository: https://github.com/cfug/dio

packages:
- dio
- plugins/*

ide:
intellij: true
21 changes: 21 additions & 0 deletions melos_dio.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/build" />
<excludeFolder url="file://$MODULE_DIR$/dio/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/dio/.pub" />
<excludeFolder url="file://$MODULE_DIR$/dio/build" />
<excludeFolder url="file://$MODULE_DIR$/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/example/build" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
</component>
</module>
2 changes: 1 addition & 1 deletion plugins/cookie_manager/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
Expand All @@ -28,6 +27,7 @@
.pub-cache/
.pub/
build/
pubspec_overrides.yaml

# Android related
**/android/**/gradle-wrapper.jar
Expand Down
16 changes: 16 additions & 0 deletions plugins/cookie_manager/melos_dio_cookie_manager.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
</component>
</module>
3 changes: 0 additions & 3 deletions plugins/cookie_manager/pubspec_overrides.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion plugins/http2_adapter/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
Expand All @@ -28,6 +27,7 @@
.pub-cache/
.pub/
build/
pubspec_overrides.yaml

# Android related
**/android/**/gradle-wrapper.jar
Expand Down
16 changes: 16 additions & 0 deletions plugins/http2_adapter/melos_dio_http2_adapter.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
</component>
</module>
3 changes: 0 additions & 3 deletions plugins/http2_adapter/pubspec_overrides.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion plugins/native_dio_adapter/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.packages

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
Expand All @@ -15,3 +14,4 @@ build/
# https://dart.dev/guides/libraries/private-files#pubspeclock.
pubspec.lock
.DS_Store
/pubspec_overrides.yaml
19 changes: 19 additions & 0 deletions plugins/native_dio_adapter/melos_native_dio_adapter.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/build" />
<excludeFolder url="file://$MODULE_DIR$/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/example/build" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
</component>
</module>
3 changes: 0 additions & 3 deletions plugins/native_dio_adapter/pubspec_overrides.yaml

This file was deleted.

10 changes: 10 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a00ee9a

Please sign in to comment.