cloudflare / workers-sdk

⛅️ Home to Wrangler, the CLI for Cloudflare Workers®
https://developers.cloudflare.com/workers/
Apache License 2.0
2.41k stars 593 forks source link

Normalize more deps #6050

Closed threepointone closed 2 weeks ago

threepointone commented 2 weeks ago

This is the last of the patches that normalize dependencies across the codebase. In this batch: ws, zod , rimraf, @types/rimraf, ava, source-map, glob, cookie, @types/cookie, @microsoft/api-extractor, @types/mime, @types/yargs, devtools-protocol, @vitest/ui, strip-ansi

This patch also sorts dependencies in every package.json


There are 2 remaining after this; execa and vitest. Changing their versions seems to break the build, so those will be for the next PR.

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: 15a12cb085ae993ababe12db40a0c6a04d5a6c62

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages | Name | Type | | ------------------------------- | ----- | | @cloudflare/vitest-pool-workers | Patch | | @cloudflare/pages-shared | Patch | | miniflare | Patch | | wrangler | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 2 weeks ago

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9552187042/npm-package-wrangler-6050

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6050/npm-package-wrangler-6050

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9552187042/npm-package-wrangler-6050 dev path/to/script.js
Additional artifacts: ```sh npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9552187042/npm-package-create-cloudflare-6050 --no-auto-update ``` ```sh npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9552187042/npm-package-cloudflare-kv-asset-handler-6050 ``` ```sh npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9552187042/npm-package-miniflare-6050 ``` ```sh npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9552187042/npm-package-cloudflare-pages-shared-6050 ``` ```sh npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9552187042/npm-package-cloudflare-vitest-pool-workers-6050 ``` Note that these links will no longer work once [the GitHub Actions artifact expires](https://docs.github.com/en/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization).

wrangler@3.60.3 includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20240610.0
workerd 1.20240610.1 1.20240610.1
workerd --version 1.20240610.1 2024-06-10

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

threepointone commented 2 weeks ago

Wow, actual E2E errors on every platform? I'll have a look on monday. EDIT: fixed.

holopin-bot[bot] commented 2 weeks ago

Congratulations @threepointone, you just earned a holobyte! Here it is: https://holopin.io/holobyte/clxk1pimu14600cjn76qqaisy

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!