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