Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

@nuxt/typescript-buildのバージョンアップなど #4943

Closed
goki90210 opened this issue Jul 6, 2020 · 4 comments · Fixed by #4954
Closed

@nuxt/typescript-buildのバージョンアップなど #4943

goki90210 opened this issue Jul 6, 2020 · 4 comments · Fixed by #4954
Labels
improvement 改善や新機能の要望

Comments

@goki90210
Copy link
Contributor

goki90210 commented Jul 6, 2020

改善詳細 / Details of Improvement

  • @nuxt/typescript-buildを最新の1.0.32.0.0にバージョンアップします。
    https://github.com/nuxt/typescript/releases/tag/%40nuxt%2Ftypescript-build%401.0.0
    を見る限り、ts-loader@7を使うアップグレード(※すでにこのPJではts-loader: 7.0.5を使用するように設定されています。)と、これに伴いNode 8をサポート外にすることなので導入には問題はないと思われます。
    (注釈:現在@nuxt/typescript-buildのリリースは0.4.x, 0.7.x, 1.0.xの3つのブランチで行われているようです。)

(追記)
合わせて

  • ESLint 7.3.1 → 7.4.0
  • nuxt-i18n 6.13.0 → 6.13.1

のバージョンアップを行います。

#4923 の完了後に作業予定です。

(追記)
@nuxt/typescript-buildが2.0.0にバージョンアップしていました。
https://github.com/nuxt/typescript/releases/tag/%40nuxt%2Ftypescript-build%402.0.0

  • TypeScript 3.9対応
  • ForkTsCheckerWebpackPlugin v5 対応
  • バグフィックスとlockファイルの整理
    のため問題ないと思います。

yarn add @nuxt/typescript-build eslint -D
yarn add nuxt-i18n
を実行します。

スクリーンショット / Screenshot

yarn upgrade-interactiveの結果
image

期待する見せ方・挙動 / Expected behavior

  • package.jsonの
    "@nuxt/typescript-build": "^0.6.7",

    "@nuxt/typescript-build": "^1.0.3",
    "@nuxt/typescript-build": "^2.0.0",
    に変わる。

動作環境・ブラウザ / Environment

  • macOS / Windows / Linux / iOS / Android
  • Chrome / Safari / Firefox / Edge / Internet Explorer
@goki90210 goki90210 added the improvement 改善や新機能の要望 label Jul 6, 2020
@goki90210 goki90210 changed the title @nuxt/typescript-buildのバージョンアップ @nuxt/typescript-buildのバージョンアップなど Jul 6, 2020
@goki90210
Copy link
Contributor Author

@nuxt/typescript-runtimeも1.0.0にバージョンアップしていたため
yarn add @nuxt/typescript-runtimeを実行します。

https://github.com/nuxt/typescript/releases
にある最新のバージョンに揃えるためです。

@goki90210
Copy link
Contributor Author

このIssueでの対応はここで止めます。
yarn.lockの差分を見ると、yarn add @nuxt/typescript-runtimeの実行によって
依存ライブラリのバージョンの差異が減っています。

@goki90210
Copy link
Contributor Author

PRでエラーになったのでyarn.lockを再構築しました。

@goki90210
Copy link
Contributor Author

#4991 の対応も含めます。
nuxt-tsの実行内容がこのIssueの対応(@nuxt/typescript-build、@nuxt/typescript-runtimeのバージョンアップ)によって変わるためです。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
improvement 改善や新機能の要望
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant