diff --git a/exemple/app/go_builder_app/pubspec.yaml b/exemple/app/go_builder_app/pubspec.yaml index e34cb7e..fbc1f6b 100644 --- a/exemple/app/go_builder_app/pubspec.yaml +++ b/exemple/app/go_builder_app/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.5.0 + sdk: ">=3.3.1 <4.0.0" dependencies: dio: ^5.6.0 diff --git a/exemple/app/simple_app/pubspec.yaml b/exemple/app/simple_app/pubspec.yaml index cd18c62..d7d6ee3 100644 --- a/exemple/app/simple_app/pubspec.yaml +++ b/exemple/app/simple_app/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.5.0 + sdk: ">=3.3.1 <4.0.0" dependencies: dio: ^5.6.0 diff --git a/exemple/melos.yaml b/exemple/melos.yaml index 13698d9..b8d6fae 100644 --- a/exemple/melos.yaml +++ b/exemple/melos.yaml @@ -1,5 +1,4 @@ -name: starter_app //replace with your project name - +name: exemple packages: - app/** - packages/** @@ -16,10 +15,19 @@ scripts: run: melos exec -- dart fix --apply --code=unused_import description: remove unused import in all file. + build_runner: + run: melos exec --depends-on="build_runner" -- "dart run build_runner build -d" + description: Build all generated files for Dart & Flutter packages in this project.. + + watch_runner: + run: melos exec --depends-on="build_runner" -- "dart run build_runner watch -d" + description: Build all generated files for Dart & Flutter packages in this project. + all: run: | melos clean melos bs + melos build_runner command: bootstrap: diff --git a/exemple/melos_exemple.iml b/exemple/melos_exemple.iml new file mode 100644 index 0000000..9681559 --- /dev/null +++ b/exemple/melos_exemple.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + +