@k11r/nx-cloudflare-wrangler

2.11.0 • Public • Published

nx-cloudflare-wrangler

An executor and generator for Cloudflare Wrangler (workers and pages)

Workers

Generate a new worker project

npx nx g @k11r/nx-cloudflare-wrangler:worker <app-name>

Creates a new NX project (based on the node template) with a new worker. build and deploy targets are added automatically.

Pages

Add deploy target to an existing project

npx nx g @k11r/nx-cloudflare-wrangler:pages <app-name>

This will only add a deploy target, the build property in wrangler.toml will point to the build target of the project.

/@k11r/nx-cloudflare-wrangler/

    Package Sidebar

    Install

    npm i @k11r/nx-cloudflare-wrangler

    Weekly Downloads

    454

    Version

    2.11.0

    License

    MIT

    Unpacked Size

    23.5 kB

    Total Files

    41

    Last publish

    Collaborators

    • klaascuvelier