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

Nextjsのバージョンを上げる #322

Merged
merged 22 commits into from
Dec 3, 2023

Conversation

takashi0602
Copy link
Member

@takashi0602 takashi0602 commented Nov 28, 2023

close #319

概要

dependabotによって存在しない(?)バージョンのNextjsに上げられてしまった。
そのため、Nextjsをlatestであるv14.0.3にアップデートしました。
アップデートにより、以下を変更しましたので確認お願いします。

※ yarnのバージョンを上げyarn.lockファイルを更新したためnode_modulesを一度削除し、$ yarn installをお願いします。

  • Nextjsのバージョンをv14.0.3に
  • Nodejsのバージョンをv18.17.0に
  • @type系のバージョンをlatestに
    • @type/nodeはNodejsのバージョンに合わせる
  • ビルド時にexportを付けることが非推奨となったため、next.config.jsにoutput: 'export'を追加
  • next startコマンドがなくなったため、(エラーメッセージに従い)serveをインストールし、serve outコマンドで起動するように対応
  • storybookのバージョンをv7.5.3に
  • storybookのビルド後のディレクトリをcspellの対象外に
  • GitHub Actionsで使用するyarnのバージョンをv4.0.2に

@takashi0602 takashi0602 self-assigned this Nov 28, 2023
package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
.storybook/main.ts Show resolved Hide resolved
.yarnrc.yml Show resolved Hide resolved
.npmrc Show resolved Hide resolved
.gitignore Show resolved Hide resolved
docs/tech.md Outdated Show resolved Hide resolved
.github/workflows/deploy-chromatic.yml Outdated Show resolved Hide resolved
.github/workflows/deploy-chromatic.yml Show resolved Hide resolved
.github/workflows/deploy-chromatic.yml Outdated Show resolved Hide resolved
.github/workflows/publish-ghpages.yml Outdated Show resolved Hide resolved
@tyokinuhata

This comment was marked as resolved.

docs/installation.md Outdated Show resolved Hide resolved
docs/installation.md Outdated Show resolved Hide resolved
Copy link
Member

@tyokinuhata tyokinuhata left a comment

Choose a reason for hiding this comment

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

💯 💯 💯 LGTM

@takashi0602 takashi0602 merged commit 631505d into main Dec 3, 2023
3 checks passed
@takashi0602 takashi0602 deleted the chore/319_upgrade-next-and-yarn branch December 3, 2023 14:20
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.

Next.jsのバージョンを上げる
3 participants