From 2274f09f75d8e420fdf21377d7246f4454868822 Mon Sep 17 00:00:00 2001 From: CaiJingLong Date: Wed, 17 May 2023 17:41:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Update=20melos=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 27 +++++++++++++++++++++++++++ melos.yaml | 14 +++++++++++--- pubspec.yaml | 7 +++++++ 3 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 CONTRIBUTING.md create mode 100644 pubspec.yaml diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..34adbba --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,27 @@ +# CONTRIBUTING + +Please submit changes to the main branch, and make sure your code is willing to comply with MIT style. + +## About development + +The repo is manage by [melos][], so you need to install it first. + +```bash +dart pub global activate melos +``` + +Then you can run `melos bootstrap` to init the repo. + +```bash +melos bootstrap +``` + +And run: + +```bash +melos run get +``` + +to get all dependencies. + +[melos]: https://melos.invertase.dev diff --git a/melos.yaml b/melos.yaml index e2cfd8b..f450184 100644 --- a/melos.yaml +++ b/melos.yaml @@ -4,6 +4,14 @@ packages: - packages/** - example -command: - bootstrap: - usePubspecOverrides: true +scripts: + analyze: + exec: dart analyze . + get: + exec: flutter pub get + test: + exec: flutter test + format: + exec: dart format --set-exit-if-changed . + +sdkPath: auto \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml new file mode 100644 index 0000000..f1d0015 --- /dev/null +++ b/pubspec.yaml @@ -0,0 +1,7 @@ +name: flutter_ume_kits + +environment: + sdk: '>=2.18.0 <4.0.0' + +dev_dependencies: + melos: ^3.0.1 \ No newline at end of file