From f482f16acecf8a2b178690a0489393d027327219 Mon Sep 17 00:00:00 2001 From: "thomashii@dukefirehawk.com" Date: Sun, 26 Mar 2023 10:15:20 +0800 Subject: [PATCH] Upgraded to Melos 3 --- .idea/.name | 1 + .idea/modules.xml | 19 +++++++++++++++++++ .idea/runConfigurations/melos_bootstrap.xml | 11 +++++++++++ .idea/runConfigurations/melos_clean.xml | 11 +++++++++++ melos.yaml | 4 ++++ melos_belatuk_common_utilities.iml | 12 ++++++++++++ packages/combinator/pubspec_overrides.yaml | 4 ++++ packages/pretty_logging/AUTHORS.md | 3 +-- packages/pretty_logging/pubspec.yaml | 1 + packages/pretty_logging/test/all_test.dart | 8 ++++++++ pubspec.yaml | 6 ++++++ 11 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 .idea/.name create mode 100644 .idea/modules.xml create mode 100644 .idea/runConfigurations/melos_bootstrap.xml create mode 100644 .idea/runConfigurations/melos_clean.xml create mode 100644 melos.yaml create mode 100644 melos_belatuk_common_utilities.iml create mode 100644 packages/combinator/pubspec_overrides.yaml create mode 100644 packages/pretty_logging/test/all_test.dart create mode 100644 pubspec.yaml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..67c7014 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +belatuk_common_utilities \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d91ddef --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/melos_bootstrap.xml b/.idea/runConfigurations/melos_bootstrap.xml new file mode 100644 index 0000000..d571530 --- /dev/null +++ b/.idea/runConfigurations/melos_bootstrap.xml @@ -0,0 +1,11 @@ + + + + + diff --git a/.idea/runConfigurations/melos_clean.xml b/.idea/runConfigurations/melos_clean.xml new file mode 100644 index 0000000..f45d436 --- /dev/null +++ b/.idea/runConfigurations/melos_clean.xml @@ -0,0 +1,11 @@ + + + + + diff --git a/melos.yaml b/melos.yaml new file mode 100644 index 0000000..435ab47 --- /dev/null +++ b/melos.yaml @@ -0,0 +1,4 @@ +name: belatuk_common_utilities + +packages: + - packages/* diff --git a/melos_belatuk_common_utilities.iml b/melos_belatuk_common_utilities.iml new file mode 100644 index 0000000..9681559 --- /dev/null +++ b/melos_belatuk_common_utilities.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/packages/combinator/pubspec_overrides.yaml b/packages/combinator/pubspec_overrides.yaml new file mode 100644 index 0000000..1cdcf54 --- /dev/null +++ b/packages/combinator/pubspec_overrides.yaml @@ -0,0 +1,4 @@ +# melos_managed_dependency_overrides: belatuk_code_buffer +dependency_overrides: + belatuk_code_buffer: + path: ../code_buffer diff --git a/packages/pretty_logging/AUTHORS.md b/packages/pretty_logging/AUTHORS.md index ac95ab5..8563156 100644 --- a/packages/pretty_logging/AUTHORS.md +++ b/packages/pretty_logging/AUTHORS.md @@ -3,8 +3,7 @@ Primary Authors * __[Thomas Hii](dukefirehawk.apps@gmail.com)__ - Thomas is the current maintainer of the code base. He has refactored and migrated the - code base to support NNBD. + Thomas is the current maintainer of the code base. He has refactored and migrated the code base to support NNBD. * __[Tobe O](thosakwe@gmail.com)__ diff --git a/packages/pretty_logging/pubspec.yaml b/packages/pretty_logging/pubspec.yaml index d261296..1c08d58 100644 --- a/packages/pretty_logging/pubspec.yaml +++ b/packages/pretty_logging/pubspec.yaml @@ -9,3 +9,4 @@ dependencies: logging: ^1.0.1 dev_dependencies: lints: ^2.0.0 + test: ^1.24.0 diff --git a/packages/pretty_logging/test/all_test.dart b/packages/pretty_logging/test/all_test.dart new file mode 100644 index 0000000..917f186 --- /dev/null +++ b/packages/pretty_logging/test/all_test.dart @@ -0,0 +1,8 @@ +import 'package:test/test.dart'; + +void main() { + test('test', () { + var message = "Testing"; + expect(message, equals('Testing')); + }); +} diff --git a/pubspec.yaml b/pubspec.yaml new file mode 100644 index 0000000..9d28025 --- /dev/null +++ b/pubspec.yaml @@ -0,0 +1,6 @@ +name: belatuk_common_utilities_workspace + +environment: + sdk: '>=2.18.0 <4.0.0' +dev_dependencies: + melos: ^3.0.0