diff --git a/.gitignore b/.gitignore index 7bed930..e49c464 100644 --- a/.gitignore +++ b/.gitignore @@ -27,9 +27,7 @@ README.md~ # Ignore Temporary files .DS_Store -.copies -response2.dart -response3.dart +dummy_test.dart # Directory created by dartdoc # If you don't generate documentation locally you can remove this line. diff --git a/.melos/configure.yaml b/.melos/configure.yaml index d2852d5..3ba918f 100644 --- a/.melos/configure.yaml +++ b/.melos/configure.yaml @@ -4,7 +4,7 @@ scripts: run: > melos bootstrap && MELOS_SCOPE="platform_container_generator" melos run generate:custom && - MELOS_SCOPE="package_model,package_exceptions,platform_mocking" melos run generate:dummy:test && + MELOS_SCOPE="platform_model, platform_exceptions, platform_mocking" melos run generate:dummy:test && MELOS_SCOPE="platform_container_generator" melos run debug:reflectable && melos run test && melos run coverage && diff --git a/melos.yaml b/melos.yaml index 6888e1e..7653042 100644 --- a/melos.yaml +++ b/melos.yaml @@ -72,7 +72,7 @@ scripts: run: "melos exec -c 1 --fail-fast -- \" rm -rf build .dart_tool .packages .flutter-plugins .flutter-plugins-dependencies .pub-cache .pub .idea coverage doc\/api .test_coverage.dart .test_runner.dart && find . -name '*.g.dart' -delete && find . -name '*.freezed.dart' -delete && find . -name '*.mocks.dart' -delete && find . -name '*.gr.dart' -delete && find . -name '*.config.dart' -delete && find . -name '*.hive.dart' -delete && find . -name '*.chopper.dart' -delete && find . -name '*.reflectable.dart' -delete && find . -name '*.injectable.dart' -delete && find . -name '*.gql.dart' -delete && find . -name '*.gql.g.dart' -delete && find . -name '*.iconfig.dart' -delete && find . -name '*.moor.dart' -delete && find . -name '*.drift.dart' -delete && find . -name '*.mapper.dart' -delete && find . -name '*.ast.gql.dart' -delete && find . -name '*.req.gql.dart' -delete && find . -name '*.data.gql.dart' -delete && find . -name '*.var.gql.dart' -delete && find . -name '*.jorm.dart' -delete && find . -name '*.g.aot' -delete && find . -name '*.g.ddc' -delete && find . -name '*.g.js' -delete && find . -name '*.g.js.map' -delete && find . -name '*.g.part' -delete && find . -name '*.g.sum' -delete && find . -name '*.g.txt' -delete && find . -name 'lcov.info' -delete && find . -name 'coverage_report' -type d -exec rm -r {} + && git clean -xdf \" && flutter clean\n" description: "Thoroughly clean all build artifacts, generated files, coverage reports, and documentation from the entire repository" configure: - run: "melos bootstrap && MELOS_SCOPE=\"platform_container_generator\" melos run generate:custom && MELOS_SCOPE=\"package_model,package_exceptions,platform_mocking\" melos run generate:dummy:test && MELOS_SCOPE=\"platform_container_generator\" melos run debug:reflectable && melos run test && melos run coverage && melos run coverage_report && melos run docs:generate\n" + run: "melos bootstrap && MELOS_SCOPE=\"platform_container_generator\" melos run generate:custom && MELOS_SCOPE=\"platform_model, platform_exceptions, platform_mocking\" melos run generate:dummy:test && MELOS_SCOPE=\"platform_container_generator\" melos run debug:reflectable && melos run test && melos run coverage && melos run coverage_report && melos run docs:generate\n" description: "Configure the development environment, generate code and dummy tests, run tests, generate coverage, and create API documentation" test: run: melos exec -c 1 --fail-fast -- "dart test"