cloudflare / managed-component-to-cloudflare-worker

Deploy Managed Components as Cloudflare Workers and use them in Cloudflare Zaraz
https://www.cloudflare.com/products/zaraz/
MIT License
14 stars 6 forks source link

Bump Wrangler version to support logging observability #26

Open mackenly opened 1 month ago

mackenly commented 1 month ago

The recently rolled out Workers Observability persistent logs require wrangler version 3.78.6^. This would be great to have access to in order to better know what's going on in our custom MCs.

See #25

bjesus commented 1 month ago

We'll take a look at this next week 🙏

mackenly commented 1 month ago

If anyone else has this problem, on the above mentioned PR branch, npm i, and use the following to manually run the script and select your bundled managed component. For example, I have it in an adjacent directory:

node .\bin\managed-component-to-cloudflare-worker.js ./../example-managed-component/dist/index.js custom-mc-example  ./../example-managed-component/wrangler.toml