Skip to content

Conversation

@sKawashima
Copy link
Member

@sKawashima sKawashima commented Feb 15, 2025

ス ー パ ー ク ソ デ カ P R

せつめい

  • このPRでは表示の変更はないです
  • Nuxt v2とかいう化石環境を脱します
    • v3にあげるのクッソ大変 && 今Nuxt使う理由ぶっちゃけない ので 脱Nuxt します
  • GitHub Pagesで公開する ≒ 静的ページを書き出すことを前提としているので現状一番いい感じの静的サイトジェネレータである Astro を採用して置き換えます
    • 慣れてなくてもなんとなくコード見れば何をしてるかわかるVueぽい書き方なのでのりと雰囲気でいじってもろて
  • PRはでかいけど結果のファイル構成だけ見たらドシンプルになります
  • Astroは書き出し容量の最適化すごいので書き出したあとのHTMLファイル容量結構小さくなります( 18.5 KB → 6.19 KB )
    • ビルド速度は15秒→1秒になります
  • 新しいページとかブログっぽい要素とかの管理(現状だと楽曲一覧くらい)はもうちょい調整したら管理楽にできそう(Markdown追加だけとか)

挙動差確認

左astro, 右現行

クソデカ動画すぎてぷれびゅーできやんやんけ
https://github.com/user-attachments/assets/ede870ee-15cf-47ba-97fb-2e42aa396c76

…ctory and site URL

♻️ (package.json): migrate from Nuxt.js to Astro framework, updating scripts and dependencies
📝 (tsconfig.json): add TypeScript configuration for Astro project to ensure type safety
🔧 (nuxt.config.js): remove Nuxt.js configuration file as the project transitions to Astro
@sKawashima sKawashima self-assigned this Feb 15, 2025
@sKawashima sKawashima requested review from charl2k and ryu-g February 15, 2025 14:28
@sKawashima
Copy link
Member Author

ファイル行数5000行吹き飛んでて草

…loyment context

♻️ (types.d.ts): remove unnecessary reference to content.d.ts to clean up type definitions
Copy link
Collaborator

@ryu-g ryu-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ええやんええやん

Copy link
Contributor

@charl2k charl2k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

全然分からんのですが、ええのでは
一旦おまかせしたいがどうしたらええんや

承認?

@sKawashima
Copy link
Member Author

おまかせでおk~

3人でやってるやつ勝手にやるのは違うかなーと思って一応レビュー依頼した

@sKawashima sKawashima merged commit 28a9e12 into master Feb 16, 2025
2 checks passed
@sKawashima sKawashima deleted the replace-to-astro branch February 16, 2025 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants