Replies: 8 comments 26 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Definitely want to try the beta. Please let me know.
Good move. Expect increased uptake of
Hot bug fixes too. Nice! |
Beta Was this translation helpful? Give feedback.
-
UpdatesHave a look at what's new, below. Would greatly appreciate feedback! Also — at first, I'll be devoting about 1-3 days per week on this. Hopefully I can increase in a few weeks. 🎉 Initial config is up!Check out: Everything marked Caching Strategy
Linking Strategy
The strategy for this is based on configuration. By default the config for {
"tsModule": {
"module": "typescript"
}
} Assuming we have:
{
// ...
"devDependencies": {
"typescript": "^4.3.5"
}
} Our package file is automatically transformed to be the following:
{
// ...
"devDependencies": {
"@ts-patch/patched-typescript": "file:./tsp/cache/typescript",
"typescript": "^4.3.5",
}
} Also, this does point the Note: For those of you thinking we should use What if we want to use the
|
Beta Was this translation helpful? Give feedback.
-
I stumbled across this while researching I have some requirements though where I'm not sure that ts-patch fulfills them:
|
Beta Was this translation helpful? Give feedback.
-
i was trying to use given that this seems to be a stated goal, please consider the Webpack use case via there is no such configuration info in this repo and simply swapping out
and a bit later
|
Beta Was this translation helpful? Give feedback.
-
@nonara I have really loved using |
Beta Was this translation helpful? Give feedback.
-
I've found |
Beta Was this translation helpful? Give feedback.
-
hey, are you still looking for beta testers? I can't tell if this shipped in the v2 or this is ongoing since the readme says the patch is still coming. I'm using ttypescript for type-script-is and ran into an issue with incremental builds failing like the bug mentioned here, so it looks like we finally have to move off that project if we want incremental builds to keep working. In addition to that we run our tests using ts-node configured to use ttypescript as the compiler. |
Beta Was this translation helpful? Give feedback.
-
Update (latest status)
Date: April 19th 2022
Much has happened in life and the world since planning this! I regret that I have not been able to get to this yet. To answer the immediate question — I still very much intend to make the new architecture.
At the moment, I am working to scale up my business to a point where I will be able to set aside some personal time to devote to this. As of this point, I cannot determine when that will be, however I am still actively maintaining the current architecture, as I know that many (including my own) build processes rely on it!
Background
I believe that major improvements can be gained by a new architecture for extending the typescript compiler. Additionally, it would be useful to move beyond the limitations of the current architecture.
For simplicity and visibility, we will keep the
ts-patch
name and the rewrite will be housed under a new major version.Highlights of New Proposal
tsc
or something else, default istspc
)ttypescript
style transformer packagesUpdates will be posted as they happen.
Active Branch
https://github.com/nonara/ts-patch/tree/next
Beta Was this translation helpful? Give feedback.
All reactions