Remove the <a> child of next/link

Proprietary

Next.js 13 made Link render its own <a>. Moves the attributes of a single <a> child to the Link and drops the child. Links with legacyBehavior, and children that cannot be merged, are left alone.

io.moderne.nextjs.13.new-link
mod run . --recipe=io.moderne.nextjs.13.new-link

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.