The paraglide-next init cli currently does not update the next/link and next/routing imports to the internationalized versions. This is because this is very likely to cause false-positives & break something if done unsupervised.
Proposal
The CLI should offer a "Wizard" style interface where it loops over all the files, offers to update the imports, showing the diff in the console.
This can either be part of the init command or a dedicated command. The drawback with this being part of the init command is that users are likely to understand what's happening at that point, so they won't be able to make the right judgement call.
Context
The
paraglide-next
init cli currently does not update thenext/link
andnext/routing
imports to the internationalized versions. This is because this is very likely to cause false-positives & break something if done unsupervised.Proposal
The CLI should offer a "Wizard" style interface where it loops over all the files, offers to update the imports, showing the diff in the console.
This can either be part of the
init
command or a dedicated command.The drawback with this being part of the
init
command is that users are likely to understand what's happening at that point, so they won't be able to make the right judgement call.