You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a large project on Next and I want to divide it into several projects and collect everything into a monorepository using Nx.
I first initiated my project with the command npx nx@latest init --integrated.
Then I made a monorepository from the project using the nx g convert-to-monorepo command. I had to work with the configs, but I was able to launch the project.
Next, I wanted to create another application in my monorepository and move some of the code there. I use the nx g @nx/next:application command to create another application and Nx updates all my dependencies, upgrading the Next version to 14+, but I don't want to do that at this stage and my application breaks.
How can I get around this?
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Sometimes, these migrations involve updating related packages to achieve compatibility with infrastructure.
I recommend first upgrading your application, and then splitting it.
I have a large project on Next and I want to divide it into several projects and collect everything into a monorepository using Nx.
npx nx@latest init --integrated
.nx g convert-to-monorepo
command. I had to work with the configs, but I was able to launch the project.nx g @nx/next:application
command to create another application and Nx updates all my dependencies, upgrading the Next version to 14+, but I don't want to do that at this stage and my application breaks.How can I get around this?
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: