The paraglide-next init command does not reliably detect if the app or pages router is being used in existing projects. This can cause it to execute the wrong setup in a project.
Proposal
Expand the markers that are used to determine if a given project uses the App/Pages router. Also accept that it can't always be determined automatically & prompt if needed.
Context
The
paraglide-next init
command does not reliably detect if theapp
orpages
router is being used in existing projects. This can cause it to execute the wrong setup in a project.Proposal
Expand the markers that are used to determine if a given project uses the App/Pages router. Also accept that it can't always be determined automatically & prompt if needed.