-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
🚀 Feature: Add a script to sync the tooling updates from forked template repo #498
Comments
Agreed, this would be really nice! Have you tried using the hydration script I added recently (https://github.com/JoshuaKGoldberg/template-typescript-node-package/tree/6a0d42d7f07e3a70c7b0dd239c7431c58f43bd69#repository-hydration)? I imagine it probably would need more logic around in-place updates for new features, but might be a good start? |
Cool, I will check the hydration script as a starting point and update you further. |
Btw, I'm also going to start looking at this area of functionality. Once typescript-eslint@v6 lands I'm going to start focusing on updating all my other repositories to use this template. Which means I'll really want to get tooling update syncs working! |
Tracking issue for migrating other repos: #734.
Note that since June I've renamed that mode to "migrate". Anyway! I think this is actually pretty doable, especially after the refactors around #681 and #695. I think what we'd have to do is:
Long term this system could be used to make this template much more configurable. I could see it being used to add more framework/library-specific portions, such as Astro/Next.js/Remix. Or even being extracted out of create-typescript-app into its own generalized builder - like a competitor to Yeoman. What do you think @navin-moorthy / anybody else reading? |
This looks cool, I will take a look at the Yeah, I agree, it would be nice if if we have some kind of custom configuration based on which tooling should be used. May be support that via a config file? For Eg, Not everyone uses Vitest, in that case they need not have those tooling configuration, so they should be opt it in. Same thing for the framework tooling aswell. |
Ok! Following up, I split out two large-scope issues out of this one:
I'll go ahead and close this one as the discussion history is a little long. Thanks for filing @navin-moorthy - I really appreciate it! |
@allcontributors add @navin-moorthy for ideas |
I've put up a pull request to add @navin-moorthy! 🎉 |
Adds @navin-moorthy as a contributor for ideas. This was requested by JoshuaKGoldberg [in this comment](#498 (comment)) --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Bug Report Checklist
main
branch of the repository.Overview
It would be nice to have a script that syncs the latest changes done on the template repo to the existing repo that already use the template.
At this point I have made changes to the
src
directory,dependencies
&devDependencies
inpackage.json
, I had to manually copy paste the updates from the template to have the latest changes.Additional Info
No response
The text was updated successfully, but these errors were encountered: