yumemi-inc / flutter-mobile-project-template

MIT License
36 stars 7 forks source link

mason でパッケージ作成時に yumemi_lints の lint バージョンを更新する #207

Closed morikann closed 5 months ago

morikann commented 5 months ago

概要

github-actions[bot] commented 5 months ago

Ready for review :rocket:

K9i-0 commented 5 months ago

melos bsのpost hookでyumemi_lints updateするのもありかも?と思いました 👀 (想定通り動くかとかは試してないです 🙏 ) https://melos.invertase.dev/commands/bootstrap#adding-a-post-bootstrap-lifecycle-script

K9i-0 commented 5 months ago

これで想定通り動いたぽいです

command:
  bootstrap:
略
    hooks:
      post: melos run yumemi_lints_update

scripts:
略
  yumemi_lints_update:
    exec: dart run yumemi_lints update
    packageFilters:
      dependsOn: yumemi_lints
github-actions[bot] commented 5 months ago

Visit the preview URL for this PR (updated for commit fea31bd):

https://flutter-mobile-project-template-catalog--pr207-feature-va9go690.web.app

(expires Tue, 11 Jun 2024 07:08:10 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 9ea56735a63d07a7cfe62eb204b0528284c37c23

morikann commented 5 months ago

@K9i-0 レビューありがとうございます!こちら修正しました🙏