Skip to content
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

[Feature]: masonでパッケージを追加する際、SDKバージョンを自動で反映させる #63

Open
1 task done
Yamasaki-pan961 opened this issue Jan 16, 2024 · 3 comments · May be fixed by #207
Open
1 task done
Assignees

Comments

@Yamasaki-pan961
Copy link
Contributor

これに関する既存の Issue はありますか?

  • 既存の Issue はありませんでした

動機

masonでパッケージを追加する際、SDKバージョンはbrickテンプレートに記載されているバージョンで固定されてしまう。
プロジェクトのバージョンに合わせて自動でバージョンを設定して欲しい。

提案

brickにhooksを設定し、動的にテンプレートからコード生成を行えるようにする。

@Yamasaki-pan961 Yamasaki-pan961 mentioned this issue Jan 16, 2024
7 tasks
@Yamasaki-pan961
Copy link
Contributor Author

pubspeck.yamlのSDKバージョンはテンプレート作成後にmelos bsを実行するhooksを設定したので解決済み。

Next

yumemi_lintsのバージョン設定を解決する必要がある。

@morikann
Copy link
Contributor

morikann commented Feb 2, 2024

yumemi_lints で ↓ の実装が終わった後に本チケットを行う。📝
[Feature Request]: Update analysis_options.yaml using a command

実装イメージ

mason make cores_package_flutter の実行の際に hooks として ↑ のコマンドを実行する。(melos bs の後に)

@morikann
Copy link
Contributor

yumemi_lints v2.0 がリリースされたら着手する 📝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants