-
Notifications
You must be signed in to change notification settings - Fork 0
パッケージの使い方を最新にアップデート #3
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
base: main
Are you sure you want to change the base?
Conversation
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.
TypeScript 5.9以降でデフォルトで生成されるものに置き換えました。
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.
npm create vite@latestで生成される最新のファイルに合わせました。
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.
同様
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.
同様
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.
Pull Request Overview
This PR updates all packages to their latest versions, with TypeScript 5.9 introducing a significantly redesigned tsconfig.json template. The updates address previously reported issues with module and target options and align configurations with the latest Vite output.
- Updated TypeScript to 5.9 with new minimal tsconfig template
- Updated React, Vite, ESLint and other dependencies to latest versions
- Added
typesfield to TypeScript configurations for better type resolution
Reviewed Changes
Copilot reviewed 7 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/tsconfig.node.json | Added types field for node type definitions |
| frontend/tsconfig.app.json | Added types field for Vite client types |
| frontend/package.json | Updated all dependencies to latest versions |
| frontend/eslint.config.js | Added defineConfig import for ESLint configuration |
| backend/tsconfig.json | Complete restructure using TypeScript 5.9's minimal template with updated options |
| backend/package.json | Updated Prisma, tsx, and TypeScript to latest versions |
| README.md | Updated setup instructions to reflect new tsconfig.json structure |
Files not reviewed (2)
- backend/package-lock.json: Language not supported
- frontend/package-lock.json: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
すべてのパッケージを最新にアップデートしました。
npx tsc --initで生成されるtsconfig.jsonが大幅に変わりました。(cf. https://devblogs.microsoft.com/typescript/announcing-typescript-5-9/#minimal-and-updated-tsc---init)これにより、#1 で指摘されていたmoduleオプションおよびtargetオプションに関わる問題はすべて解消されました。npm create vite@latestで生成されるファイルが少し変わったため、それを反映しました。