nextjs-starter-medusa icon indicating copy to clipboard operation
nextjs-starter-medusa copied to clipboard

How do you keep your store up-to-date with this starter?

Open max-arias opened this issue 1 year ago • 6 comments

Surely cloning and merging files isn't the best way. Any tips?

max-arias avatar Jan 16 '24 00:01 max-arias

Yeah please give us a reply. I already have a custom storefront built using the earlier template, how do I now add the increased performance given by this new update to my already existing storefront by keeping the changes that I have did in my current storefront? I tried adding a new remote repo in my project and set its url to this repo. Fetched from this repo and tried to merge the main branch to my repo. But then I have to manually resolve the merge conflicts and it becomes tedious. Also I lose my change which I have introduced. What to do?

mohdziyadc avatar Jan 17 '24 10:01 mohdziyadc

Hey guys,

The app architecture has changed quite a lot. There's no one-size-fits-all solution to upgrade atm. So depending on your current setup, it might take quite a bit of refactoring.

Depending on the type of customizations you have done to the storefront, it could be easier to clone the new starter and add your customizations back in. If it's mostly styling this shouldn't be too difficult.

I'm currently writing an article explaining the new setup and patterns. That should give you some pointers on how to upgrade.

I'll post a link here when it's up!

VariableVic avatar Jan 17 '24 12:01 VariableVic

Appreciate your work here @VariableVic ! I'll keep an eye out for the article.

max-arias avatar Jan 17 '24 13:01 max-arias

Article is out guys, here ya go

VariableVic avatar Feb 06 '24 17:02 VariableVic

Article is out guys, here ya go

not sure this article provides an answer to this question, right?

cmario92 avatar Feb 09 '24 20:02 cmario92

not sure this article provides an answer to this question, right?

It's not an upgrade guide, but I was hoping it would shed some light on the new patterns, making it easier to upgrade your own instance.

VariableVic avatar Feb 12 '24 09:02 VariableVic