Concerned about the willingness of others to patch their typescript #48
Replies: 1 comment 2 replies
-
Agreed. When I initially created this, I did it because the instructions for setting up Since that time, the instructions got a little more simple and seem far more justified. I also am not a big fan of the idea of directly patching a I've spent the last year or so thinking on how we might redesign it to get the best of both worlds, in addition to offering a more complete plugin system which can allow for custom patching of TS and multiple patches, language service plugins, and transformers in a single package. I'm glad to report that development is now underway. You can follow that in this discussion and watch the development in the v2 branch. Viz a viz modification, we will not directly modify node_modules. We will, instead have a cache folder, which houses modified copies. Plugin config and corresponding TS installation will be monitored and cache will be intelligently updated automatically, as changes are needed. It will also offer setting up shell aliases (ie. re-assigning Feel free to join in the discussion with any suggestions! |
Beta Was this translation helpful? Give feedback.
-
In order for third party developers to use a transform developed with ts-patch'ed typescript, they will have also have to ts-patch their typescript. However, it is possible that some other parties will balk at altering their typescript.
It might expand the reach of ts-patch if 'tsc-patch' and 'ttserver-patch` were also made available as front-end interfaces depending upon plain typescript - as I believe was the case for ttypescript (using ttsc and ttsserver).
More usage could mean more developers eventually willing to go the "patch" path permanently.
Beta Was this translation helpful? Give feedback.
All reactions