melos.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. name: YYHotel-Business-ER
  2. packages:
  3. - "app/**"
  4. - "packages/cs_domain/**"
  5. - "packages/cs_initializer/**"
  6. - "packages/cs_plugin_basic/**"
  7. - "packages/cs_plugin_platform/**"
  8. - "packages/cs_resources/**"
  9. - "packages/cs_router/**"
  10. - "packages/cs_shared/**"
  11. - "packages/cs_widgets/**"
  12. - "packages/cpt_auth/"
  13. - "packages/cpt_job/"
  14. - "packages/cpt_labour/"
  15. - "packages/cpt_report/"
  16. command:
  17. bootstrap:
  18. usePubspecOverrides: true
  19. scripts:
  20. analyze:
  21. run: melos exec -- "flutter analyze"
  22. description: Run `flutter analyze` in all packages
  23. pub_get:
  24. run: dart pub global run melos exec --flutter "flutter pub get"
  25. description: pub get
  26. build_all:
  27. run: dart pub global run melos exec --depends-on="build_runner" "flutter packages pub run build_runner build --delete-conflicting-outputs"
  28. description: build_runner build all modules
  29. format:
  30. run: melos exec -- "flutter format . --set-exit-if-changed"
  31. description: Run `flutter format .` in all packages
  32. test:
  33. run: melos exec --dir-exists=test -- "flutter test"
  34. description: Run `flutter test` in all packages