Open RamIdeas opened 5 days ago
Latest commit: ded843cf3e720f94a4acd3b75cfea03aa5a8b80c
The changes in this PR will be included in the next version bump.
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
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/9699601648/npm-package-wrangler-6149
You can reference the automatically updated head of this PR with:
npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6149/npm-package-wrangler-6149
Or you can use npx
with this latest build directly:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9699601648/npm-package-wrangler-6149 dev path/to/script.js
wrangler@3.62.0
includes the following runtime dependencies:
Package | Constraint | Resolved |
---|---|---|
miniflare |
workspace:* | 3.20240620.0 |
workerd |
1.20240620.1 | 1.20240620.1 |
workerd --version |
1.20240620.1 | 2024-06-20 |
Please ensure constraints are pinned, and miniflare
/workerd
minor versions match.
What this PR solves / how to test
Implements a React-free hotkeys implementation.
You can see both the implementations below – the React-free version with the
--x-dev-env
flag and the React/ink version with the flag:I started with a simpler implementation in the first commit but felt a higher-level API would allow for most consistency for other commands wanting to use hotkeys. The instructions printing logic has been moved inside the API and provides each handler with a
printInstructions
function if the handler wishes to reprint them.Author has addressed the following