Skip to content

v0.1.0

Latest

Choose a tag to compare

@Decipher Decipher released this 29 Jun 09:39

Added

  • Nuxt module that starts a Cloudflare Quick Tunnel automatically on nuxt dev, powered by untun. No Cloudflare account or cloudflared login required.
  • Tunnel URL exposed to the app at runtime through useRuntimeConfig() and a $tunnelUrl / $isTunnel plugin, for building callback URLs (OAuth redirects, Stripe/GitHub webhooks, etc.).
  • Vite's allowedHosts configured automatically so the dev server accepts requests over the tunnel's *.trycloudflare.com host.
  • Module options: enabled (disable per-environment, e.g. CI or restricted networks), port (override the dev server's detected port), and log (silence console output).
  • Generic tunnels array ({ port, label, delay? }) to open additional Quick Tunnels for other local services alongside the Nuxt app.
  • storybook shorthand option to tunnel a Storybook dev server on port 6006 alongside the Nuxt app, started after a short delay so secondary services have time to boot.
  • Graceful failure: if a tunnel can't start (no tunnel returned, or no network path to Cloudflare's edge), the error is logged and dev server startup continues unaffected.
  • Playground with a working Storybook integration - sample components and stories that exercise the tunnel URL at runtime, ready to tunnel with storybook: true.
  • CI pipeline covering lint (ESLint), type-check (vue-tsc), unit tests (Vitest), and build, with conventional-commit enforcement and changelogen-driven releases.
  • GitHub Actions CI with Codecov coverage reporting.
  • icon.svg (Cloudflare mark) included in the published package for Nuxt DevTools module listing.
  • engines field declaring node >=18 to match Nuxt 4's minimum requirement.