I just updated cloudflare-pages-deploy on npm.
npmx.dev/package/clou...
It extracts the deploy logic from the Cloudflare Wranglers CLI into a JavaScript SDK so you can programmatically deploy to @cloudflare.social Pages.
If it' might be useful to you, slap a ❤️ on it on @npmx.dev.