can i use unplugin-typia?
Question
The documentation calls for using unplugin-typia. But in npm it is marked as deprecated https://www.npmjs.com/package/@ryoppippi/unplugin-typia
Hi, Samchon isn't owner of that package, so we can't answer it... if it's deprecated, there may be good reason for it.
Also setup for Typia isn't hard at all. From my experience, I even use Typia in plain JavaScript without issues and was able to setup it without any issues. All you need to do is really just add 3 LOCs to tsconfig.json (or jsconfig.json in case of JavaScript codebase), and that's it. Even with Vite (or in Svelte, VueJS, or Effects) it was effortless.
Typia itself already includes setup CLI tool too.
Hi, Samchon isn't owner of that package, so we can't answer it... if it's deprecated, there may be good reason for it.
I think the owner of that package just decided to be done with it. It was really abrupt.
All you need to do is really just add 3 LOCs to tsconfig.json (or jsconfig.json in case of JavaScript codebase), and that's it. Even with Vite (or in Svelte, VueJS, or Effects) it was effortless.
How exactly does one set this up in Vite effortlessly without using unplugin-typia? If it is simple, could you perhaps share the instructions so the official documents for typia can be updated to not reference unplugin-typia?
Thanks!
The documentation calls for using unplugin-typia. But in npm it is marked as deprecated https://www.npmjs.com/package/@ryoppippi/unplugin-typia
See also #1604 for a brief discussion from a while back.
Hi, Samchon isn't owner of that package, so we can't answer it... if it's deprecated, there may be good reason for it.
Also setup for Typia isn't hard at all. From my experience, I even use Typia in plain JavaScript without issues and was able to setup it without any issues. All you need to do is really just add 3 LOCs to tsconfig.json (or jsconfig.json in case of JavaScript codebase), and that's it. Even with Vite (or in Svelte, VueJS, or Effects) it was effortless.
Typia itself already includes setup CLI tool too.
I also don't really understand how to support Typia in Next without unplugin-typia. Could you show an example? That would be very helpful.
Will re-start unplugin-typia with different package name on this weekend.