-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(melos): スクリプトの命名変更 #357
Conversation
# @deprecated `melos format` で代用可能 | ||
# ローカルでフォーマットとdart fix --applyを実行する | ||
format_and_fix: | ||
exec: bash "$MELOS_ROOT_PATH/scripts/format.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
melos のバージョンがあがったことにより、独自で定義しなくても良くなった認識です。
#350 にて対応予定です。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます!
おっしゃるとおり、完全な代替ではないですね…!
そもそもの?疑問になってしまうのですが、#219 にて CI で利用されていたこのスクリプトを melos format
コマンド側に置き換えているみたいで、こちらのスクリプトはまだ必要そうなのかが少し悩ましいかもです…?
個人的には format については melos format
に任せてしまって、fix 系のスクリプトを別途用意するほうがきれいかなと思ったりしています 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
個人的には format については melos format に任せてしまって、fix 系のスクリプトを別途用意するほうがきれいかなと思ったりしています 👀
LGTM です!
Visit the preview URL for this PR (updated for commit adadf5e): https://flutter-mobile-project-template-catalog--pr357-feature-odugyyox.web.app (expires Sun, 12 Jan 2025 11:17:45 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 9ea56735a63d07a7cfe62eb204b0528284c37c23 |
exec: bash "$MELOS_ROOT_PATH/scripts/report-custom-lint-ci.sh" | ||
packageFilters: | ||
dependsOn: custom_lint | ||
|
||
regenerate_code: melos run regenerate_by_using_gen_l10n && melos run regenerate_by_using_build_runner | ||
gen: melos run gen:l10n && melos run gen:build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
steps への変更などは #350 にて実施予定です。
@@ -118,7 +118,7 @@ const settingShellBranch = TypedStatefulShellBranch<SettingShellBranch>( | |||
`./apps/app`内で以下のコマンドを実行しnavigatorとappのコード生成を行う。 | |||
|
|||
```shell | |||
melos run regenerate_by_using_build_runner --no-select | |||
melos run gen:build --no-select |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready for review 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tatsutakein
ドキュメントの修正もありがとうございます!
一点だけコメントさせていただきましたのでご確認お願いいたします🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
気になるところは認識合わせできたので LGTM です!
ご対応ありがとうございます!
概要
melos.yaml のスクリプトの命名を簡潔でわかりやすくなるよう変更します。
レビュー観点
レビューレベル
レビュー優先度
画像 / 動画
確認したこと