refactor: Migrate to using melos

This commit is contained in:
PapaTutuWawa committed 2022-07-28 19:51:33 +02:00
1 parent 67c0e01516
commit 8cac2711d6
43 files changed
+38 -37

No files matched your search

+2
View File
@@ -27,6 +27,8 @@
.dart_tool/ .dart_tool/
.packages .packages
build/ build/
**/pubspec_overrides.yaml
# NixOs
.direnv .direnv
.envrc .envrc
+8
View File
@@ -20,6 +20,14 @@ essentially does nothing right now.
The function will return a future that either resolves to a list of SRV records, an empty The function will return a future that either resolves to a list of SRV records, an empty
list of no records were found or `null` if an error occured. list of no records were found or `null` if an error occured.
## Contributing
The development of this package is based on [melos](https://pub.dev/packages/melos).
To make all packages link to each other locally, begin by running `melos bootstrap`. After editing
the code and making your changes, please run `melos run analyze` to make sure that no linter warnings
are left inside the code.
## License ## License
See `LICENSE`. See `LICENSE`.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -105,31 +105,31 @@ packages:
moxdns: moxdns:
dependency: "direct main" dependency: "direct main"
description: description:
path: ".." path: "../packages/moxdns"
relative: true relative: true
source: path source: path
version: "0.1.0" version: "0.1.1"
moxdns_android: moxdns_android:
dependency: transitive dependency: "direct overridden"
description: description:
path: "../../moxdns_android" path: "../packages/moxdns_android"
relative: true relative: true
source: path source: path
version: "0.1.0" version: "0.1.1"
moxdns_linux: moxdns_linux:
dependency: transitive dependency: "direct overridden"
description: description:
path: "../../moxdns_linux" path: "../packages/moxdns_linux"
relative: true relative: true
source: path source: path
version: "0.1.0" version: "0.1.1"
moxdns_platform_interface: moxdns_platform_interface:
dependency: transitive dependency: "direct overridden"
description: description:
path: "../../moxdns_platform_interface" path: "../packages/moxdns_platform_interface"
relative: true relative: true
source: path source: path
version: "0.1.0" version: "0.1.1"
path: path:
dependency: transitive dependency: transitive
description: description:
@@ -200,4 +200,3 @@ packages:
version: "2.1.2" version: "2.1.2"
sdks: sdks:
dart: ">=2.17.0-266.1.beta <3.0.0" dart: ">=2.17.0-266.1.beta <3.0.0"
flutter: ">=2.5.0"
@@ -31,7 +31,8 @@ dependencies:
sdk: flutter sdk: flutter
moxdns: moxdns:
path: ../ hosted: https://pub.polynom.me
version: 0.1.1
# The following adds the Cupertino Icons font to your application. # The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons. # Use with the CupertinoIcons class for iOS style icons.
File renamed without changes.
+12
View File
@@ -0,0 +1,12 @@
name: moxdns
packages:
- packages/**
- example/**
command:
bootstrap:
usePubspecOverrides: true
scripts:
analyze:
exec: dart analyze .
@@ -1,8 +1 @@
include: package:very_good_analysis/analysis_options.yaml include: ../../analysis_options.yaml
linter:
rules:
public_member_api_docs: false
lines_longer_than_80_chars: false
use_setters_to_change_properties: false
avoid_positional_boolean_parameters: false
avoid_bool_literals_in_conditional_expressions: false
+1 -8
View File
@@ -1,8 +1 @@
include: package:very_good_analysis/analysis_options.yaml include: ../../analysis_options.yaml
linter:
rules:
public_member_api_docs: false
lines_longer_than_80_chars: false
use_setters_to_change_properties: false
avoid_positional_boolean_parameters: false
avoid_bool_literals_in_conditional_expressions: false
@@ -1,8 +1 @@
include: package:very_good_analysis/analysis_options.yaml include: ../../analysis_options.yaml
linter:
rules:
public_member_api_docs: false
lines_longer_than_80_chars: false
use_setters_to_change_properties: false
avoid_positional_boolean_parameters: false
avoid_bool_literals_in_conditional_expressions: false