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

2022-06-01のJS: Lerna 5.0.0、TypeScript 4.7、wireit #990

Merged
merged 19 commits into from
Jun 1, 2022
Merged

Conversation

azu
Copy link
Member

@azu azu commented Jun 1, 2022

メンテナンスが停止していて、その後Nx社にメンテナンス権限が移譲された後、初めてのアップデートであるLerna 5.0.0がリリースされました。

Node.js 12以下のサポート終了、auditの問題が出ていたパッケージのアップデートなどが行われています。
また、次のバージョンでは、lerna runで内部的にNxを使うオプションが追加される予定です。


TypeScript 4.7がリリースされました。

TypeScript 4.7では、かなり多くの変更が含まれています。
大きく分けるとNode.js ESM対応と、型周りの改善や構文の追加が含まれています。

Node.jsのECMAScript Moduleをサポート、.mts/.ctsという拡張子のサポートの追加、moduleDetectionオプションの追加が行われています。

型改善においてでは、Compuatedプロパティに対するコントロールフロー解析の改善、オブジェクトにおける関数の型推論の改善、Genericsの型を指定したaliasを定義できる Instantiation Expressionsをサポート、inferに対するextendsでの推論条件の追加をサポートが追加されています。
また、すべたの型につけることは推奨されていませんが型が共変(in)/反変(out)/不変(in out)なのかを指定できるアノテーションを追加、モジュール解決時の探索方法をカスタマイズするmoduleSuffixesオプションの追加なども含まれています。

@azu azu merged commit c1675ac into develop Jun 1, 2022
@azu azu deleted the jser-week-594 branch June 1, 2022 04:15
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.

None yet

1 participant