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

Adjust nonara/ts-patch#138 #898

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Adjust nonara/ts-patch#138 #898

merged 1 commit into from
Dec 6, 2023

Conversation

samchon
Copy link
Owner

@samchon samchon commented Dec 6, 2023

Since TypeScript v5.3 update, tsc no more parses JSDocComments. Therefore, typia also cannot utilize those JSDocComment related features too, especially "Comment Tags" and "JSON schema generator".

To reflect such TypeScript v5.3 update, typia has newly added a temporary CLI command npx typia patch that is hacking the TypeScript module to turning on the JSDocComment parsing.

In today, ts-patch has started supporting the TypeScript v5.3 update by reading package.json of transformer libraries. Therefore, the temporary CLI command no more required. Following the ts-patch guide, this PR has configured the package.json file for ts-patch, and JSDocComment parsing would be turned on by the ts-patch.

For reference, the temporary CLI command npx typia patch would be kept for a while, due to there can be some users using previous version of ts-patch. It would be deprecated after the next major update.

Since TypeScript v5.3 update, `tsc` no more parses `JSDocComment`s. Therefore, `typia` also cannot utilize those `JSDocComment` related features too, especially "Comment Tags" and "JSON schema generator".

To reflect such TypeScript v5.3 update, `typia` has newly added a  temporary CLI command `npx typia patch` that is hacking the TypeScript module to turning on the `JSDocComment` parsing.

  - #883

In today, `ts-patch` has started supporting the TypeScript v5.3 update by reading `package.json` of transformer libraries. Therefore, the temporary CLI command no more required. Following the `ts-patch` guide, this PR has configured the `package.json` file for `ts-patch`, and `JSDocComment` parsing would be turned on by the `ts-patch`.

For reference, the temporary CLI command `npx typia patch` would be kept for a while, due to there can be some users using previous version of `ts-patch`. It would be deprecated after the next major update.
@samchon samchon added the enhancement New feature or request label Dec 6, 2023
@samchon samchon self-assigned this Dec 6, 2023
Copy link
Owner Author

@samchon samchon left a comment

Choose a reason for hiding this comment

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

No problem in testing, and working properly even when manual setup.

@samchon samchon merged commit 933bfe5 into master Dec 6, 2023
1 of 3 checks passed
@samchon samchon deleted the features/package-config branch December 11, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant