workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

`wrangler pages dev` compat date and flags

Open GregBrimble opened this issue 3 years ago • 3 comments
trafficstars

Fixes #495


feat: Adds --compatibility-date and --compatibility-flags to wrangler pages dev

Soon to follow in production.

GregBrimble avatar Aug 11 '22 16:08 GregBrimble

🦋 Changeset detected

Latest commit: 4d0fb440061307bc0d080613e412166cdc460901

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

This PR includes changesets to release 1 package
Name Type
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

changeset-bot[bot] avatar Aug 11 '22 16:08 changeset-bot[bot]

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

npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/2841327681/npm-package-wrangler-1663

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

npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/1663/npm-package-wrangler-1663

Or you can use npx with this latest build directly:

npx https://prerelease-registry.developers.workers.dev/runs/2841327681/npm-package-wrangler-1663 dev path/to/script.js

github-actions[bot] avatar Aug 11 '22 16:08 github-actions[bot]

Codecov Report

Merging #1663 (4d0fb44) into main (db592f0) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1663   +/-   ##
=======================================
  Coverage   81.60%   81.61%           
=======================================
  Files          89       89           
  Lines        5921     5924    +3     
  Branches     1520     1522    +2     
=======================================
+ Hits         4832     4835    +3     
  Misses       1089     1089           
Impacted Files Coverage Δ
packages/wrangler/src/api/dev.ts 15.38% <ø> (ø)
packages/wrangler/src/dev.tsx 82.19% <100.00%> (ø)
packages/wrangler/src/pages/dev.tsx 23.35% <100.00%> (+0.46%) :arrow_up:
packages/wrangler/src/tail/printing.ts 85.71% <0.00%> (-1.79%) :arrow_down:
packages/wrangler/src/tail/filters.ts 97.87% <0.00%> (+0.04%) :arrow_up:
...ackages/wrangler/src/__tests__/helpers/mock-bin.ts 100.00% <0.00%> (+5.26%) :arrow_up:

codecov[bot] avatar Aug 11 '22 16:08 codecov[bot]