nestia icon indicating copy to clipboard operation
nestia copied to clipboard

Entirely remake `nestia` for TS 5.2 transform API

Open samchon opened this issue 1 year ago • 2 comments

Related issues:

  • https://github.com/microsoft/TypeScript/issues/54276
  • https://github.com/samchon/typia/issues/633

TypeScript team had decided to support formal transform API since v5.2 update.

However, as TS v5.2 transform API provides types of typescript/lib/tsclibrary instead of typescript, typia must be entirely rewritten. In such reason, typiawould be rewritten with break changes. Also, asnestia is utilizing TypeScript API in not only transformation mode(@nestia/core) but also generation (@nestia/sdk) mode, nestia` must be entirely rewritten with major version update.

Release date of TS 5.2 may 2023-08, but nestia v2 would be released a little bit earlier. It's because next nestia will support both ts-patch and TS 5.2 transform API. When you run npx nestia setup, it will configure tsconfig.json file properly considering TS version. If TS version is lower than 5.2, ts-patch would be utilized. Otherwise, pure typescript would be utilized.

samchon avatar May 18 '23 08:05 samchon

Hello. Would it be possible to export only types (with SDK generator) but no sdk on nestia's new remaked version?

ilterugur avatar Aug 15 '23 16:08 ilterugur

Hello. Would it be possible to export only types (with SDK generator) but no sdk on nestia's new remaked version?

I didn't understand the question. What are you curious about?

samchon avatar Aug 15 '23 17:08 samchon