Upgrade vite 6.x to 8.x (with vite-plugin-pwa 2.x)

オープン
#24 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript, vite

調査の方向性

Start with the Vite and vite-plugin-pwa versions in package.json and the multi-page inputs and manualChunks settings in vite.config.ts. Read the Vite 8 and plugin 2 migration notes, then run npm install, npm run typecheck, and npm run build. Done when the build retains one shared Phaser chunk and a working precache, and the hub and games work offline after install.

索引モデルが issue の本文から書いたものです。

説明

dependencies severity: low

Summary

Vite 6 is two majors behind the current release and will leave the security backport window when the next major ships. vite-plugin-pwa 2.x lists vite 8 as a peer, so the two are best taken together.

Where

  • package.json:21, package.json:22
  • vite.config.ts:27-34 (multi-page inputs and manualChunks)

Suggested fix

Move to vite ^8 and vite-plugin-pwa ^2, then retest the multi-page rollupOptions.input, the Phaser manual chunk and the generated service worker.

Acceptance criteria

  • npm run build output still has one shared Phaser chunk and a working precache
  • Hub and games work offline after install

Getting started

  • Relevant files: package.json, vite.config.ts
  • Run locally: npm install, then npm run dev
  • Checks: npm run typecheck and npm run build (there is no test suite yet)
  • Related docs: README.md

Filed by repo-audit/full-audit at b001f5d. Severity: low. Effort: M. audit-key: dependencies|package.json|vite-major

主要言語
TypeScript
スター
3
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TMHSDigital/GH-Arcade のほかの issue

TMHSDigital/GH-Arcade の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。