Rename middleware to proxy

Proprietary

Next.js 16 renamed middleware.ts to proxy.ts and its exported middleware function to proxy. Marks a file whose export cannot be renamed safely, and leaves a file alone whose config sets runtime, which proxy does not support.

io.moderne.nextjs.16.middleware-to-proxy
mod run . --recipe=io.moderne.nextjs.16.middleware-to-proxy

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