chore(build): typosのバージョンアップ: 1.21.0 -> 1.30.0 - #2584
Merged
Conversation
arm64版linuxのビルドに伴いv1.30.0に統一するため
|
🚀 プレビュー用ページを作成しました 🚀 更新時点でのコミットハッシュ: |
Member
それで良さそうな気がしています。
あたりになるかと思います。 |
Member
|
@nanae772 PR分けありがとうございます!!
ですね! 実装方法とかは @sevenc-nanashi さんの方法でいけそうなのでそれも書いときます!! |
Closed
Contributor
Author
|
お二人ともレビューありがとうございます! GAMに関しては以下のコミットでコメント追記いたしました。 typosのアップデートについても新しいissueを立てていただきありがとうございます! |
Hiroshiba
enabled auto-merge
March 2, 2025 12:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
#2579 にて、ARM64版Linuxエディタのビルド時にARM64版のtyposが必要になり、1.21.0にはlinux/arm64対応のtyposが無かったので1.30.0を使うようにしました。
それによって #2579 がマージされた後、typosのバージョンがlinux/arm64とその他でズレる形になってしまいます。
本PRではそれを避けるためその他のtyposも1.30.0にアップデートし、typosのバージョンが揃うようにしたいと思います。
また、typosのバージョンアップに伴って新たに検出されたタイポがあったため、それも修正しています。
paloadに関してはpayloadのタイポだと思うので直しておきました。
一方で下記はおそらくタイポではないと思うのですが、こちらはどのように対応すればよいか相談させていただければ幸いです🙇
下記に
GAM = "GAM"と書くのがよさそうですかね?(一応それでtyposのエラーは消えました)ただちょっと私のほうでは良いコメント案が思いつかず、アドバイスいただけると幸いです。
voicevox/_typos.toml
Lines 7 to 9 in acd5870
関連 Issue
スクリーンショット・動画など
その他
現状downloadTypos.mtsではtyposのバージョンを管理していないようなので、これがmainにマージされて各々の開発環境で
pnpm installをやり直してもtyposのバージョンが上がりません(vendored/typos/typos.exeがあればそれが何であれダウンロードがスキップされるため)vendored/typos を一回消してinstallをやり直せば最新のtyposにアップデートされますが、これについてはどうしたものかなあと少し思っています。
typosのアップデートを今後も継続的にやっていくのであればdownloadTypos.mtsのダウンロードでバージョンを検知するようにしたほうがいいのかなと思います。一方で定期的にアップデートしない(今回のケースがイレギュラー)であれば別にそこまでしなくてもいいのかなと思ったりもします(が、どのみち開発者の方にtyposのアップデート方法について通知は必要?)。
ちょっとこのあたりの対応方針について私だけでは判断しかねるのでご助言いただけると助かります…!