Migrate the transformIndexHtml hook to order and handler for Vite 7

Proprietary

Vite 7 removed the hook-level enforce and transform of transformIndexHtml ("Migration from v6", Removed deprecated features): order replaces enforce and handler replaces transform. Applies to plugin objects in files that import vite.

org.openrewrite.nodejs.migrate.vite.MigrateTransformIndexHtmlHook
mod run . --recipe=org.openrewrite.nodejs.migrate.vite.MigrateTransformIndexHtmlHook

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