How to update App? (packages etc.)
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
Very noob question here...
If I have used create-next-app, how do I update it and other packages installed.
Is it simply a matter of npm update? and that's it ?
Or is there some preferred method for doing this ?
The reason I ask is what if the latest Next packages aren't compatibile with eachother? i.e maybe Create-Next-App uses a specific version of some package and then I go update it to the latest version which introduces breaking changes ?
If I have used create-next-app, how do I update it and other packages installed.
Is it simply a matter of npm update? and that's it ?
Or is there some preferred method for doing this ?
The reason I ask is what if the latest Next packages aren't compatibile with eachother? i.e maybe Create-Next-App uses a specific version of some package and then I go update it to the latest version which introduces breaking changes ?
9 Replies
Barbary LionOP
Ok, but what is the standard approach everyone does? I want to understand the vanilla flow first before using extra tools
ex:
pnpm updateBarbary LionOP
Ok great! And the fear of packages not being compatible with eachother? Is that not really a thing?
@Barbary Lion Ok great! And the fear of packages not being compatible with eachother? Is that not really a thing?
well it is but both of the commands above will update either minor or patch version
Barbary LionOP
Ok and if you wanted to do major update ?