Closed samchon closed 1 year ago
I think this is better left to a separate project, since the setup steps are not exclusive to typescript-transform-paths
Hi @samchon - thank you for the offer.
I agree with Daniel on this one. We will be releasing a rewrite of ts-patch soon which will have CLI commands that will effectively do what you're looking for.
The new tsp will also use better modification logic and even offer in-memory modification, which will allow users to migrate from ttypescript.
As
typescript-transform-paths
is a transformer library, it requires additional configuration ontsconfig.json
(plugins).I think it would be much convenient if
typescript-transform-paths
support setup CLI configuring thetsconfig.json
file automatically. Also, it would be better installingttypescript
orts-patch
at the same time. Especially, when user selectedts-patch
, thepackage.json
should be configured automatically (npm run prepare
command), too.If you're okay, I'll send a PR about it.
You can experience how it works, through below commands: